Setup Instructions for the CC2538dk

These are the assembly instructions for the Texas Instruments CC2538 wireless System-on-a-Chip. The instructions show both how to assemble the wireless nodes and the Ethernet gateway.

Hardware

Hardware needed:

Software and firmware

Software needed to be installed and firmware needed to be downloaded to build a Thingsquare system:

The Wireless Nodes

The wireless nodes consist of SmartRF06 boards with CC2538em boards mounted on top of them.

Assemble the wireless nodes

  • Attach the CC2538em board to the SmartRF06 board
  • Connect the SmartRF06 board to the laptop via a USB cable
  • Make sure the SmartRF06 POWER switch is in the ON position

Upload the firmware to the wireless nodes

  • Download the Thingsqure CC2538dk firmware cc2538dk-24ghz-client.bin from the firmware download page
  • On the laptop, run the TI Flash Programmer 2 to upload the firmware to the board. Use the following settings:
  • Adress at 0x - 00200000
  • Erase/All
  • Program/entire source file
  • Verify/Readback

The DIY CC2538dk Ethernet Gateway

The Ethernet gateway is built from a CC2538 development board and an Olimex Ethernet module, connected via jumper cables.

Disconnect the jumpers

  • Make sure the SmartRF06 board is powered off and that no USB cable is connected

  • Disconnect the jumpers on pin header 404

Connect the cables to the Olimex board

  • Connect four Dupont cables to pins 1, 2, 3, 7.
  • Connect two Dupont cables to pins 9 (GND) and 10 (PWR).

Connect the four first cables to the SmartRF board

  • Olimex 1 – SmartRF 1.16_SCK
  • Olimex 2 – SmartRF 1.18_MOSI
  • Olimex 3 – SmartRF 1.20_MISO
  • Olimex 7 – SmartRF 2.10

Connect the final two cables to the SmartRF board

  • See picture as the pins on the SmartRF board are not marked.
  • Olimex 9 – GND (black)
  • Olimex 10 – PWR (red)

Upload the gateway firmware

  • Connect the SmartRF06 board to the laptop via a USB cable
  • Download the CC2538dk Ethernet gateway firmware cc2538dk-24ghz-gateway.bin from the firmware download page
  • On the laptop, run the TI Flash Programmer 2 to upload the firmware to the board. Use the following settings:
  • Adress at 0x - 00200000
  • Erase/All
  • Program/entire source file
  • Verify/Readback