0
\$\begingroup\$

My current system is setup as follows:

MCU ------ Xbee A(Router) ------ Xbee B(Coordinator)

Xbee A is a router in API mode, Xbee B is a coordinator in API mode. MCU is MSP430, Xbee modules are ZB Series S2C

I'm trying to have my MCU send data via UART to Xbee A, which will then transmit the data via RF to Xbee B, but Xbee A refuses to transmit anything.

I'm able to establish communications via Xbee A and B; in the consoles, I can freely send frames and have it successfully received on the other side. When manually sending frames via the console, it is shown that Xbee A and Xbee B can communicate properly. Xbee A transmits the following frame:

Transmitted:
Transmit Request (API 1)
7E 00 0F 10 00 00 00 00 00 00 00 00 00 FF FE 00 00 69 89

Start delimiter: 7E
Length: 00 0F (15)
Frame type: 10 (Transmit Request)
Frame ID: 00 (0)
64-bit dest. address: 00 00 00 00 00 00 00 00
16-bit dest. address: FF FE
Broadcast radius: 00 (0)
Options: 00
RF data: 69
Checksum: 89

I'm also able to establish communications between Xbee A and the MCU. I have the MCU set to send a 0x10 transmit request on a timer, and the XCTU console states that Xbee A is receiving the frames properly. This is the frame that Xbee A receives:

Received:
Transmit Request (API 1)
7E 00 0F 10 00 00 00 00 00 00 00 00 00 FF FE 00 00 69 89

Start delimiter: 7E
Length: 00 0F (15)
Frame type: 10 (Transmit Request)
Frame ID: 00 (0)
64-bit dest. address: 00 00 00 00 00 00 00 00
16-bit dest. address: FF FE
Broadcast radius: 00 (0)
Options: 00
RF data: 69
Checksum: 89

The documentation on digi.com states that an Xbee module should do an action as it receives a frame from its external UART. I've tried setting Xbee A in AT mode and sending single bytes of data to hopefully have the Xbee packetize it and transmit, and still it refuses to transmit anything. Any idea on why my system isn't functioning properly? Or any alternative solutions? Advice appreciated.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.