cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h750vb usart

omid hamdi
Senior

how can send 0x00 with usart in cubmx if data 0 not send

1 REPLY 1

The same way it send other byte. Put it in a char variable, pass a pointer to the variable, and a size of one.

Don't pass a NULL pointer, and don't use strlen ()​

One could also check the TXE bit in the ISR register and write to TDR ​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..