CC2340R5 LaunchPad
Overview
The Texas Instruments CC2340R5 LaunchPad™ (LP_EM_CC2340R5) is a development kit for the SimpleLink™ multi-Standard CC2340R5 wireless MCU.
See the TI CC2340R5 LaunchPad Product Page for details.
Hardware
The CC2340R5 LaunchPad™ development kit features the CC2340R5 wireless MCU. The board is equipped with two LEDs, two push buttons and BoosterPack connectors for expansion.
The CC2340R5 wireless MCU has a 48 MHz Arm® Cortex®-M0+ SoC and an integrated 2.4 GHz transceiver supporting multiple protocols including Bluetooth® Low Energy and IEEE® 802.15.4.
See the TI CC2340R5 Product Page for additional details.
Supported Features
The lp_em_cc2340r5
board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo
-
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
lp_em_cc2340r5/cc2340r5
target
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M0+ CPU1 |
|
ADC |
on-chip |
TI CC23X0 16-channel ADC1 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider1 |
|
Counter |
on-chip |
CC23x0 RTC counter driver Any reset/sleep mode, except for the power-up reset, will not stop or reset the RTC Timer1 |
|
on-chip |
|||
Cryptographic accelerator |
on-chip |
TI CC23X0 AES accelerator1 |
|
DMA |
on-chip |
TI CC23X0 DMA controller1 |
|
Flash controller |
on-chip |
Texas Instruments CC23X0 flash controller1 |
|
GPIO & Headers |
on-chip |
TI SimpleLink CC23X0 GPIO1 |
|
on-board |
TI BoosterPack GPIO header1 |
||
I2C |
on-chip |
TI CC23x0 I2C node1 |
|
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
on-board |
Group of PWM-controlled LEDs1 |
||
MTD |
on-chip |
Flash node1 |
|
on-chip |
This binding describes the TI CC23X0 flash CCFG (custom configuration) area content1 |
||
on-chip |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
TI SimpleLink CC23X0 Pin Controller1 |
|
PWM |
on-chip |
||
Serial controller |
on-chip |
TI SimpleLink CC23X0 UART node1 |
|
SPI |
on-chip |
TI SimpleLink CC23x0 SPI controller1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv6-M System Tick1 |
|
Watchdog |
on-chip |
TI CC23x0 watchdog1 |
Connections and IOs
All I/O signals are accessible from the BoosterPack connectors. Pin function aligns with the LaunchPad standard.
Pin |
Function |
Usage |
---|---|---|
DIO0 |
GPIO |
|
DIO1 |
ANALOG_IO |
A4 |
DIO2 |
ANALOG_IO |
A3 |
DIO5 |
ANALOG_IO |
A5 |
DIO6 |
SPI_CSN |
SPI CS |
DIO7 |
ANALOG_IO |
A0 |
DIO8 |
GPIO |
|
DIO9 |
GPIO |
Button 2 |
DIO10 |
GPIO |
Button 1 |
DIO11 |
SPI_CSN |
SPI CS |
DIO12 |
SPI_POCI |
SPI POCI |
DIO13 |
SPI_PICO |
SPI_PICO |
DIO14 |
GPIO |
Red LED |
DIO15 |
GPIO |
Green LED |
DIO18 |
SPI_CLK |
SPI CLK |
DIO19 |
GPIO |
|
DIO20 |
UART0_TX |
UART TX |
DIO21 |
GPIO |
|
DIO22 |
UART0_RX |
UART RX |
DIO23 |
ANALOG_IO |
A8 |
DIO24 |
ANALOG_IO |
A7 |
Programming and Debugging
The lp_em_cc2340r5
board supports the runners and associated west commands listed below.
flash | debug | debugserver | rtt | attach | |
---|---|---|---|---|---|
jlink | ✅ (default) | ✅ (default) | ✅ | ✅ | ✅ |
The LP_EM_CC2340R5 requires an external debug probe such as the LP-XDS110 or LP-XDS110ET.
Alternativly a J-Link could be used on the J4 header, in combination with a 3.3V power supply over the pinheader. Debugging and flashing is currently only tested using a J-Link on the J4 header.
To get a console, connect an external USB to UART converter with:
TX |
DIO22 |
RX |
DIO20 |
Then you can connect to it from you PC:
$ microcom -p <tty_device>
Replace <tty_device>
with the port of your USB to UART converter.
For example, /dev/ttyUSB0
.
Flashing
Applications for the CC2340R5 LaunchPad
board configuration can be built and
flashed in the usual way (see Building an Application and
Run an Application for more details).
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b lp_em_cc2340r5 samples/hello_world
west flash
Debugging
You can debug an application in the usual way. Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b lp_em_cc2340r5 samples/hello_world
west debug
References
- CC2340R5 LaunchPad Quick Start Guide: