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.

LAUNCHXL-CC1352P: Queue Full Issue in sensor collector example code in FH mode

Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC1352P

Hi,

SDK: 5.20

Example: Sensor & Collector example code. Minimum changes added 

Code with changes added to the below link

drive.google.com/.../1Q8hyxEBf9Tj7gdFULDHLR57tZ_t1rHVG

Mode: FH mode, 200kbps

 Hardware used: 2 launchpads CC1352P

We are using the sensor collector example projects with very minimal changes on the launchpad. Once the status changes to join, sensor send send 192 bytes of data every 32ms.

Below is a snapshot which shows the stats

the Sensor_sendMsg function returns status 0 when the data is transmitted successfully.

We see that when the status is not success and the Queue gets full and the send is not successful.

The status value returned at this time is 241 which is 0xF1 which shows that the queue is full and hence the data was not transmitted.

I was able to reproduce this in every attempt.

Can you let me know how the Queue being filled up be avoided?

Although the retries haven't been too many and still we see the queue being full.

The queue size is set as below which should be sufficient

-DMAC_CFG_TX_DATA_MAX=100
-DMAC_CFG_TX_MAX=100

Let me know if you need any other information.

Thank you in advance.

Regards,

Sameena Shaikh