Tag Archives: STM32CubeMX

ADC initialization order bug in CubeMX

An another bug in STM32CubeMX software. This is a perfect example where the order of called initialization functions really matters. In discussed case I will give an example where ADC was configured to go through regular conversion triggered by an event from timer and the data was transferred automatically using DMA.

Continue reading

Serious clock bug in CubeMX

Recently I have discovered a serious bug in the new version of STM32CubeMX. It considers the clock configuration but does not always appears and is hard to debug.

Continue reading