Part Number: MSP432E401Y
Tool/software: TI-RTOS
Hello,
We have a TI-RTOS project and are attempting to use the DMA feature with an SPI peripheral. We have it functioning pretty well, although notice that in debug mode the response times take much longer than expected, as well as being highly variable (on the order of hundreds of milliseconds). When we run this in standalone mode without a debugger attached, the same response time is 10-20ms at most and is much more consistent.
Does the debugger happen to use similar "free" bus cycles like the DMA, therefore causing a conflict between the two?
If so, is there any way to adjust that behavior, like having the debugger use less?
If not, is there any other potential explanation for this behavior?
An additional issue for us may be that our RTOS clock tick is set fairly fast (50us), although we observe similar behavior when slowing that down to 500us.
Anywhere specific we should look for this?
Thanks!