Loading...
 
Skip to main content

System Workbench for STM32


SW4STM32 UART is not working

Hello sir,

Thank you for the post. I am sending the 7-bit data and with that I am sending the odd parity bit for error checking, so total it's an 8-bit word. The issue is that this same code is working in IAR System Workbench software but this isn't working in the SW4STM32 software. I am using msp.c functions in the main(). While debugging, the code goes in the infinite loop after UARTGetState(). Don't know why this same code is working with IAR and Keil but not in SW4STM32.

Please help.

 
Collapse/expand modules below