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.

LP-CC1312R7: Help with command configuration to achieve LBT TX and buffering in RX.

Part Number: LP-CC1312R7
Other Parts Discussed in Thread: CC1312R7

Hello,

I am working in a program based on the rfUARTBridge example for propietary rf.

This program would ideally would pick several message and save them in the buffer (rf_queue.c provided only stores 2 messages for now) becuase my system makes a broadcast from a master to a variable number of slaves(up to 10) ans this slaves answer to it,

My idea is to implement LBT to avoid overlaping of answers (current solution it just to randomize emision times to avoid overlap and do several searchs). and pick the answers but for my initial test the system is only picking one message out of two slaves even programing the slaves to send the answers 100 ms apart (send time is 27 ms measured ans run time of the program is 10-50 ms) and another CC1312R7 board connected to smart RF studio is able to pick both answer messages with this 100 ms difference 

Is there any example or guide of how to program que commands similar to what I´m looking for?, For the time being im using modfied RX and TX commands used in this example but im guessing that more advanced commands should be used to get the desired funccionality I´m describing.

Im looking for some advice on how to implement this commands:

-TX with listening before talk.->Also is it possible to store the messages picked up while listening before talk?

-RX with buffering->example has a buffer but either I am processing the message too fast or the buffer in not storing more than one message while configured for two.

  • Hi Javier,

    My idea is to implement LBT to avoid overlaping of answers (current solution it just to randomize emision times to avoid overlap and do several searchs). and pick the answers but for my initial test the system is only picking one message out of two slaves even programing the slaves to send the answers 100 ms apart (send time is 27 ms measured ans run time of the program is 10-50 ms) and another CC1312R7 board connected to smart RF studio is able to pick both answer messages with this 100 ms difference 

    If I understand you correctly, you want to continue to RX after receiving the first packet, so that you can receive the packet sent 100ms later.

    Please refer to rfPacketRx project for the setting to continuously receive packets. These settings in particular.

        /* Implement packet length filtering to avoid PROP_ERROR_RXBUF */
        RF_cmdPropRx.maxPktLen = MAX_LENGTH;
        RF_cmdPropRx.pktConf.bRepeatOk = 1;
        RF_cmdPropRx.pktConf.bRepeatNok = 1;

    Also, typically for LBT, you just listen and based on the RSSI, you decide to wait before transmission. You cannot wait for a whole sync and receive the whole packets at this point.

    Hope this helps.

    Regards,

    Sid