This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to visualise ADCRESULT register stored data?

Other Parts Discussed in Thread: TMS320F2808

Hello,

Board: TMS320F2808
I have enabled all necessary register for ADC configuration & ADCRESULT register inside ISR function.
But how to visualise, what digital value stored inside the register? (Like in C we are used "printf", to print output result)

  • Hi Asim,

    In CCS you can use the watch/expressions window to show the current value of a specified variable. You can also enable continuous refresh so that the window will update even when the device is running.

    If you want a time-series, you can create a buffer in memory and save data until the buffer is full. CCS then has a graphing tool you can use to get a rough visualization of the data. Alternately, you can save the data from memory to a file and then visualize it in something like excel.

    Things get a little tricky if you want to scan data out to a PC in real time, or if you want to scan data out to a PC because the C28x device doesn't have enough internal memory to support the length of the capture you want. In this case, you can use the SCI peripheral to send data to the PC via RS-232, you can use a virtual RS-232 port through the JTAG emulator, or you can use debug server scripting (DSS) to directly use the JTAG to scan out data.