This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2520DK

Hello all!
I am new to the forum but since I work on a project for CC2520DK, I want to ask, Where is  the PER test info for received packets stored in the memory? And how can I read if?

Many Thanks in advance!

  • Hi,

    Do you have the source code for the CC2520DK PER test example? (otherwise you can find it here: http://www.ti.com/litv/zip/swrc090b)

    If you have a look in the file per_test.c, the received packets are handled by the function appReceiver().

    From line 157:

    while(!basicRfPacketIsReady());
            if(basicRfReceive((uint8*)&rxPacket, MAX_PAYLOAD_LENGTH, &rssi)>0) {
                halLedSet(3);

    On the first line it checks by polling if a new packet is received. If it is, it goes to the next line to read the received packet into the buffer rxPacket.

    In the code lines after this the sequence number of the received packet is checked, in addition to RSSI, and the LCD display is updated accordingly.

    Regards,

    Bjørn