cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behavior with FreeRTOS when sending data queue.

HHarj.1
Senior

I'm sending ADC results via queue (data in a struct). The data values being sent shown in picture 1, and they are as expected. When receiving some of the data missing and in wrong place. Rows 1&2 are missing and rows 13&14 are all zero. What is this? Here is also how I'm doing the queue receive. Anyone knows what's happening here?

picture1. sent

0690X00000DYR79QAH.png

received

0690X00000DYR7TQAX.png

0690X00000DYR6aQAH.png

1 REPLY 1
HHarj.1
Senior

I believe this is due to some memory issue. The struct I've made is too large. I made a test struct (uint32_t [14][3] ) and sent it separately, and it worked fine.