
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? |
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 无法正常读值
MCSDK6.3.1使用SIXSTEP如何才能使用电流模式呢?我在配置了电流传感器后仍然无法使用电流模式。
PWD13F60功率模块在应用时是否需要加额外的散热器
MCSDK增量式编码器