cancel
Showing results for 
Search instead for 
Did you mean: 

XBEE XR868 with stm32l431rct6 controller problem

NitishGhadage
Associate

Hey, I am working on Xbee with stm32, and I am getting a big problem while connection. 


I am using two Xbee's one is configured as a standard router which is connected to UART1 of the 
stm32 controller and the other is configured as a coordinator which is connected to the com port of another system through RS485 cable to XCTU. I have to use them in API mode. I have configured both of them in API Mode, now I am able to send API data frame from router to coordinator , but I cant receive API frame from coordinator to router ? 

When I send a simple API frame from the coordinator to the router, the router Xbee sends an acknowledgment frame back to the coordinator, but my controller does not receive any frame, I have written the code to receive the complete frame at once using the polling method as well as interrupt method as well as to fetch the data in single-byte also. But it's not working. Data is received up to Xbee but the controller does not receive anything. It stops the further processing. 

Screenshot (21).png

See first router sends some random message to coordinator, then from coordinator I have sent Sample data frame to router , it acknowledges back but after that router should send received data back to coordinator , but its not processing? 

 

0 REPLIES 0