The ConnectCore 93 Development Kit assembles an XBee socket that allows you to connect a through-hole XBee module.

See the ConnectCore 91 Hardware Reference Manual for the XBee socket pin-out description.

Device tree bindings and customization

The XBee module is interfaced through two interfaces:

  • UART4 of the i.MX91 CPU (4-wires).

  • USB_OTG2 bus through the USB hub on the board.

Both interfaces are enabled by default on the ConnectCore 93 Development Kit device tree file.

Some lines of UART4 are multiplexed with other functionality through a group of jumpers on the ConnectCore 93 Development Kit. Make sure the appropriate jumpers are connected when using UART4 to communicate with the XBee on the ConnectCore 93 Development Kit.

See Hardware reference manuals for information on the jumper connections and the multiplexed functionality they select.

See Universal Asynchronous Receiver/Transmitter (UART) and Universal Serial Bus (USB) for more information about these interfaces.

User space

Basic validation

You can use the serial port to check that the XBee module is connected correctly.

  1. Configure the serial port to match the configured speed of the XBee. For example:

    # stty -F /dev/ttyXBee speed 9600 raw
    If your XBee is configured with specific parity and flow control settings, you may have to configure those settings on your serial port.
  2. On one terminal console, read from the serial port:

    # cat /dev/ttyXBee
  3. On a different terminal console, write +++ to the serial port:

    # echo -n +++ > /dev/ttyXBee

When the connection is successful, the console displays an OK response on the terminal that is reading the port.

See XBee libraries for additional information on advanced use of XBee modules.

See also

See Cellular for additional information on the use of XBee cellular devices.