2020-03-02 04:01 AM
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
received
2020-03-03 03:27 AM
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.