Tool/software:
Hello everyone,
I am working on a project with the Texas Instruments CC1352R where I need to receive continuous IQ data samples and print the received data over UART. However, I am running into a synchronization issue: the printing process on UART seems to be interrupted by the constant flow of incoming IQ data, causing data loss and missed prints. I hope to get some insights on how to manage this situation effectively.
Tried Solutions
- Semaphore synchronization
- I tried using two buffers to alternate data filling and printing, allowing the printing task to process one buffer while the other fills with new data. However, even with double buffering, the callback frequency still occasionally overwhelms the printing process.
Questions for the Community
- Has anyone encountered a similar issue with continuous data reception and UART output on the CC1352R?
- What techniques have you used to manage high-frequency callback events while still outputting data over UART without losing data?
Any advice on how to handle the synchronization between the callback and UART printing task would be much appreciated. Thank you
