Hello All, I have a simple app that used USART2 to write out to a shift register. I recently moved from the STM32Cube IDE to PlatformIO to leverage the high-level Arduino libraries, and all of that works great, but for the life of me I cannot get the USART2 to initialize and write data.
I built just this part of the app in STM32 to sanity-check myself, and it works as expected. Here’s what I’ve tried so far:
Double-checked that the ClockConfig settings match for my custom variant and for the STM32 generated code.
Double-checked that the handle is not null and that it is initilizing correctly.
I’m really at a loss for why it would behave differently in platformio vs cube. Are there any other places I should check? I would really rather not move this project back to STM32Cube, but I’m afraid that’s where I’m headed if I can’t get this issue resolved.