Transceiver Packet Handler

This section covers the transceiver packet handling used by the TrxEB, SmartRF05EB and CC Debugger. It does not cover the packet handling used by SmartRF04EB, nor the packet handling used by SmartRF Studio with System-on-Chip modules.

The transceiver packet handler is interrupt driven, i.e. the CCxxxx transceivers are configured to toggle one or more GPIO pins upon different events. The evaluation board packet handling firmware is designed to interfere as little as possible with the register settings set by SmartRF Studio, but the necessary GPIO registers will be overwritten to ensure proper functionality.

The transceiver packet handler is used by SmartRF Studio in test functions Packet RX and Packet TX for CCxxxx transceivers supported by TrxEB, SmartRF05EB or CC Debugger. The GPIO register values used by the packet handler firmware can be seen in SmartRF Studio by refreshing the Register view after active Packet TX or Packet RX.

Packet TX

In the Packet TX test function, the packet handler firmware will overwrite one of the CCxxxx transceiver’s GPIO register to ensure proper function. The below table shows the register overwritten for the differenct CCxxxx transceivers.

Evaluation Module Packet Done
CCxxxx GPIO CCxxxx Register EM connector
CC112xEM 1 GPIO2 GPIOCFG2 EM1.12
CC1101EM 1 GDO2 IOCFG2 EM1.12
CC11xLEM 1 GDO2 IOCFG2 EM1.12
CC2520EM GPIO3 GPIOCTRL3 EM1.12
CC2520/CC2591EM 2 GPIO1 GPIOCTRL1 EM1.7

1 During Packet TX, the actual CCxxxx transceiver GPIO configuration may vary in order to support transmission of packets longer than the CCxxxx transceiver’s TX FIFO.

2 Not supported by CC Debugger.

Packet RX

In the Packet RX test function, the packet handler firmware will overwrite one or more of the CCxxxx transceiver’s GPIO registers to ensure proper function. One GPIO signal is used for “packet received” interrupts. Where reception of packets longer than the RX FIFO is supported, a second GPIO signal is used for “FIFO threshold” interrupts.

Evaluation Module Packet Done FIFO Threshold
CCxxxx GPIO CCxxxx Register EM connector CCxxxx GPIO CCxxxx Register EM connector
CC112xEM 1 GPIO2 GPIOCFG2 EM1.12 GPIO0 GPIOCFG0 EM1.10
CC1101EM 1 GDO2 IOCFG2 EM1.12 GDO0 IOCFG0 EM1.10
CC11xLEM 1 GDO2 IOCFG2 EM1.12 GDO0 IOCFG0 EM1.10
CC2520EM 2 GPIO3 GPIOCTRL3 EM1.12      
CC2520/CC2591EM 2,3 GPIO1 GPIOCTRL1 EM1.7      

1 Packet handler firmware supports reception of packets longer than the RX FIFO.

2 Device does not support packets longer than its FIFO.

3 Not supported by CC Debugger.