Tool/software: Code Composer Studio
So I´ve been reading many posts about this subject and also the CCS user´s guide but I can´t find any definitive answer to this question.
I´ve read the following so far:
- I must create in my program a buffer array that stores the data to be graphed so that CCS can retrieve them all once in a while (how often CCS does this is the question).
- On graph properties the sampling rate is only used to make the conversion from samples to time scale. It actually has no effect on the real sampling rate of the graph (I can input 999999999999999999 and CCS won´t ever say that is too high. This seems to be confirmed by the user´s guide "The sampling rate is used to calculate the time and frequency values displayed on the graph".
- On preferences>code composer studio>debug the "continuous refresh interval" only determines the refresh rate of the graph.
So my question is: What is the sampling rate of CCS?
I need to know this to know how long the buffer must be to avoid missing datapoints. I would just read this value with an oscilloscope if I could but my microcontroller has no DAC and all PWM pins are already used on other stuff so the PWM conversion trick can´t be used.