Part Number: CCSTUDIO-C2000
Tool/software: Code Composer Studio
Hi team,
I am writting to ask your advice on how to achieve better real-time debug performance via XDS110.
Currently, I am suggesting my customer to use 'Graph' function in CCS. However, according to my understanding, the debug performance will be limitted by the refresh rate of CCS which is 100ms minimum. But I am not very clear about this definition.
1. For example, if I defined a data group result[1000] to record the current ADC result. And set the acquisition buffer size to be 1000, sampling rate to be 1Hz.
Does this mean the graph I saw will be updated every 1 sec, and graph will show the 1000 value in result[1000] when the refresh happens?
2. Let's assume the current sample rate is 1kHz. And I write every ADC result into result[1000]. After 1000 result is written in, I start all over again to write result[0].
In this way, if I set the sampling rate to be 1Hz and result[] length= acquisition buffer size to 1k, the past 1000 data written in result[1000] will be shown in the graph then I will not miss any point in the graph. Is that correct?
3. If my understanding is correct, what is the relationship between sampling rate and countinous refresh rate in the CCS?
Thanks,
Brian