SimpliciTI for MSPGCC

Wireless SimpliciTI Port for MSPGCC

In MSP430 by Hoani Bryson

When I got my first ez430rf2500 kit I thought, “How the hell do I get these two boards communicating wirelessly?

Texas Instruments developed a wireless protocol called SimpliciTI. It is reasonably light weight, has decent documentation, is relatively easy to modify and free to use.

However, it does not support MSPGCC. The version I have edited is now MSPGCC ready and you can download it below.

What You Need

  • The ez43-rf2500 development kit
  • MSPGCC toolchain. Check out this article on how to install this in Ubuntu
  • SimpliciTI ported for MSPGCC. Click the button to download

The Listener and the Sender

SimpliciTI’s communication scheme is very flexible. In the example code supplied with SimpliciTI, the communication scheme is peer-to-peer. There is a listener and a sender.

The listener and sender first have to find each other. Once connected, the sender sends data packets to the listener periodically. When the listener receives a packet from the sender it will toggle its red LED. The listener then sends a response. The sender toggles its green LED when a packet is received from the listener.

Program the Listener

I unzipped SimpliciTI to ~/code/simpliciTI

From here, we need to navigate to the Applications folder:

And then go into the listener folder and build the application:

 Plug in your ez430rf2500 programmer. Using mspdebug, we program the application onto the first of our target boards:

Remove the target board from the programmer and plug the other one in ready for the next step.

Program the Sender

Navigate to the sender folder and once again build and program the target board.

Watch it Run!

Plug the listener board into the battery pack that came with your kit (and be sure to have the power jumper connected). The two boards should both flash an LED sequence indicating initialization.

Once the listener connects to the sender, it will receive a packet, toggle its red LED, and then send a packet back to the sender. Upon receiving this packet, the sender will toggle its green LED.

The sender sends new packets periodically, so a wireless link will look like synchronous led toggling. If you are observing this, congratulations you have successfully got SimpliciTI working on your devices!

See Also

This article only scratches the surface of what SimpliciTI can do. If you have a more complicated application in mind, check out TI’s resources to unlock SimpliciTI’s potential.