Skip to main content
Loodan22
Associate II
Feb 23, 2023 12:05 PM UTC
Question

xbee with stm32 little question

I am doing xbee communication with stm32, I am sending and receiving data, there is no problem, but I cannot see message on the serail monitor of stm32. (but it appears in debug process) why?

This topic has been closed for replies.

2 replies

Loodan22
Loodan22Author
Associate II
Feb 23, 2023 6:35 PM UTC

0693W00000aHXnnQAG.png0693W00000aHXo2QAG.pngusing POLL method for uart

Tesla DeLorean
Guru
Feb 23, 2023 7:05 PM UTC

Not at all clear from your presentation how you've implemented any of this forward / tunnelling, or how you might expect this to be debugged / diagnosed.

The Rx and Tx can occur concurrently. If I were in a polling loop, I'd probably implement it with a FIFO / Circular buffer, allowing me to monitor the respective TXE and RXNE of the USARTs I wanted forwarding to each other, and allowing for elasticity where the rates or bursts of data are not identical.

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