During troubleshooting of my application using interrupt based :ittya I've just arrived charq.h
At line 161 is a fixed array for data members:
char QUEUE[4];
On the other hand, I've configured
BSPCFG_SCI0_QUEUE_SIZE 64
Does this work? I haven't found any relation between _CHARQ_FULL and size 4. Should I increase the size of the array?
Solved! Go to Solution.
Hello,
BSPCFG_SCI0_QUEUE_SIZE works. Don't make changes to the structure. It it assumed, that the structure is located at the beginning of some memory pool and everything that follows is the QUEUE itself.
Regards,
PetrM
Hello,
BSPCFG_SCI0_QUEUE_SIZE works. Don't make changes to the structure. It it assumed, that the structure is located at the beginning of some memory pool and everything that follows is the QUEUE itself.
Regards,
PetrM
Thanks PetrM for explanation. I'm currently improving serl_int.c to reduce interrupt load. I want to use HW FIFO from MK60 which is 8 byte because I've high RX load (460 KBaud) in my application.
In relation with this development I need to inspect the charq content during debug. To see the full array content (64 byte) instead of 4 bytes only, I've adapted the queue size from 4 to 64 byte.
I promise to revert it to 4 bytes in the release version of my application :smileywink: