AnsweredAssumed Answered

Trace function too slow? (Keil)

Question asked by Antoine.PM on Aug 2, 2016
Latest reply on Aug 2, 2016 by Antoine.PM
I use two ADCs, working together on two different signals.
These two signals have the same frequency and amplitude. They are shifted, Signal 2 has a phase of 90°.
The DMA put the converted values in an array. This array is printed circularly in the Debug Viewer.
I have one column of values for each signal.

The ADCs seem to work correctly, however I have a doubt: is it possible that the Trace is too slow?

Typically, I have this kind of result:

    </colgroup>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
So you can see here that there is a gap, several values are likely skipped during the printing process.
Here is the graphic output of the values from both ADCs.
2signals%20skipped.PNG
As you can see, this happens several times, but this left aside, the two signals are correctly treated.
During the execution in debug mode, I have the message "Trace: data overflow".
So I think it is just about the display of the values, but I wanted to be sure.

Should I be concerned about this, or should I just assume that the values exist in the memory and the Trace just fails to show them properly?
19865
19243
18653
18034
17425
168311
162318
156427
150334
143950
137654
131468
126088
1202108
1145131
1091155
1035179
979208
929239
884280
834314
784347
733385
687423
641463
593501
554546
510589
470635
423681
3923603
25563578
26113553
26673524

Outcomes