Skip to main content
Visitor II
March 2, 2020
Question

Strange behavior with FreeRTOS when sending data queue.

  • March 2, 2020
  • 1 reply
  • 607 views

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

    This topic has been closed for replies.

    1 reply

    HHarj.1Author
    Visitor II
    March 3, 2020

    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.