I am working with KDS project and using processor expert mode. I am working with FreeRTOS.
In my case, I want to pass a structure rather than uint32_t data throughOSA_MsgQPut() , but when I am passing stucture, my program behaves wrong. My variable values are changing and due to this, program stucks.
When I pass only uint32_t data then, it works correctly.
Why this is so? I packed my structure, but not solved yet. I also study xQueueCreate() function, in my case it is message size is multiply by uint32_t, I write message size * (uint8_t) instead of message size * (uint32_t) but program stucks on defaultISR().
What to do? Please suggest.