Skip to main content
Loodan22
Associate II
February 23, 2023
Question

xbee with stm32 little question

  • February 23, 2023
  • 2 replies
  • 1130 views

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
February 23, 2023

0693W00000aHXnnQAG.png0693W00000aHXo2QAG.pngusing POLL method for uart

Tesla DeLorean
Guru
February 23, 2023

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..