More adventures in STM32G4 bringup
Last time I had an actually hard problem…, a mis-aligned stack which caused randomly misbehaving software. This time, I had a more prosaic problem. One that while not necessarily as interesting, was even more time consuming and frustrating.
The serial port wouldn’t work. I had copied the module I used for DMA based receive and transmit from the STM32F4 and it just wasn’t working. Nothing was written and nothing was received. I carefully inspected the software many times. I looked at the registers in the debugger and nothing seemed obviously amiss. I read the datasheet to look for subtle differences in the theory of operation between the STM32F4 and STM32G4 but came up empty.









