
Hi: Currently, I am using STM32C031. When debugging UART, it works normally when the optimization setting is set to 2 or 3, but fails to work when set to 0 or 1. Finally, it was found through checking the registers that the UART baud rate was not set effectively when optimization was set to 0 or 1, and the UART baud rate setting used an inline function. Can it be explained whether there is any correlation between optimization and inline, and why setting optimization would cause UART initialization to fail? |
ST L9663如何启动Upstream data buffer,发送PSI5 Tooth gap数据流
L9305驱动
STM32H743+SDRAM
STM32H723 TIM1输出三相50%的占空比,TIM_CH3的输出上升沿略比TIM_CH1和TIM_CH2超前,这是哪里配置有问题吗
如何用STM32芯片设计出能输出5路可分别控制脉冲数目的方波?
L6234三相电机评估板代码能否提供参考一下
SPC56 P系列MCU移植FreeRTOS,port.c文件应该使用portable文件夹下的哪一个
stm32u545 boot
STM32H7B0 CAN发送异常
LSM6DSR SPI 无法正常读值