Skip to main content
omid hamdi
Associate III
February 14, 2019
Question

stm32h750vb usart

  • February 14, 2019
  • 1 reply
  • 441 views

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

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
February 14, 2019

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 VenmoUp vote any posts that you find helpful, it shows what's working..