Hi Qorvo Support Team,
I am working on a research project using the DWM3001CDK development kit. My primary goal is to continuously stream the raw Channel Impulse Response (CIR) data to a host PC for real-time analysis of human activity.
Current Setup:
Hardware: Two DWM3001CDK boards (one Initiator, one Responder).
Firmware: Based on the DWM3001CDK-DW3_QM33_SDK-FreeRTOS example.
Modification: I have successfully modified the firmware on the Responder board to read the CIR data from the accumulator. Specifically, within the mcps_rx_cb callback function, I am calling dwt_readaccdata() to get the full CIR (approx. 4KB) and then printing it to the UART.
The Problem:
While I can successfully read and print the CIR data, I am facing a significant bottleneck. The system exhibits the following behavior:
It prints a few CIR data blocks in a quick burst.
It then completely freezes for a long period (approximately 15-17 seconds).
After the long pause, the cycle repeats.
This behavior prevents me from achieving the continuous, high-frequency data stream required for my research.
Troubleshooting Steps Already Taken:
Based on my investigation and similar issues reported in the forums, I have already tried the following, which did not solve the long pause issue:
Increased UART Baud Rate: I modified the UART initialization code to operate at 1,000,000 baud and confirmed the setting in Tera Term.
Increased Task Stack Size: Suspecting a stack overflow, I significantly increased the MCPS_TASK_STACK_SIZE_BYTES to 8192 bytes.
My Core Question:
Given that printing 4KB of data, even over a fast UART, is a relatively slow operation, what is the recommended architectural approach to continuously stream the full CIR data from the DWM3001CDK without causing the entire system to halt or reset (likely due to a watchdog timer)?
Is there a specific configuration, a more efficient printing method (e.g., DMA with RTT), or a fundamental flaw in my approach of trying to stream the entire CIR at a high frequency?
Any guidance, code examples, or pointers to relevant application notes would be immensely appreciated.
Thank you for your time and support.
Best regards,
Munther Abdulameer