Table of Contents

2. Exercise: Packet Reception

Most protocol in communication networks are packet oriented. To receive a packet, CC1200 has a built in packet reception protocol engine. Using the engine, C1200 waits until the medium gets active by recognizing a preamble and s sync word. The patterns of the preamble and sync-word are programmable. The data after the sync word will be stored into an RX FIFO. The content of the FIFO can be read byte by byte by the user at the address 0x3F with the user of the function cc1200_reg_read. After the packet has been received, the internal protocol engine will check an optional CRC. The CRC will not be stored in the FIFO. Thus the FIFO only contains the payload data and no other protocol fields. The result of the CRC check and also the RSSI of the received packet, is optional available after the packet in the FIFO. The protocol engine will handle two types of packets: either fixed length packets or variable length packets.

The aim of this exercise is to receive fixed length packets and variable length packets.

Requirements

This task requires

Tasks

If you are able to receive packets in fixed length mode, the next step will be to receive packets in variable length mode:

Hints