The communication between the xbee and MCU.

Hi all, I have a Digimesh 2.4 radio module. I am trying to send the command from my MCU to my Xbee through serial port. I think this should use API operation. The practice I have done so far is to use AT command operation to do the peer-to-peer communication and broadcast. This helps me to be familiar with these commands.

MCU:MCF51QE128
Dev board:DEMOQE128

Attachments are my equipment and scenario.

My question is:

  1. How can I enter API operation since I already
    use xbee to be connected to my MCU, the X-CTU cannot
    detect the radio module this time.
  2. What is the first step I should do for the
    communication from MCU to Xbee? I am going to send
    the commands to my Xbee from MCU.
  3. Should I use the Code Warrior as my compiler due to
    this is the compiler specified for my MCU?

Any answer will be appreciated.

To enter API mode, you are going to need to set the ATAP command to a value of 1 or 2. I would recommend modifying the code on the mC to send this command or use a 3rd radio in API mode to send a remote AT command.