We're seeing apparent corruption or truncation in the graph at every 256th element, but our raw data doesn't show the same corruption.
Screenshots attached.
Please see related question.
e2e.ti.com/.../graph-tools-limitation



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.
We're seeing apparent corruption or truncation in the graph at every 256th element, but our raw data doesn't show the same corruption.
Screenshots attached.
Please see related question.
e2e.ti.com/.../graph-tools-limitation



Can you export the contents of memory for all of readBuf starting at 0x20000208) to a file? A *.dat file would be the easiest. You can do this from the Memory Browser view:
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-main.html#load-and-save-memory
zip the file and attach it to this thread.
Thanks
ki
Thank you for the data file.
I plotted the same graph and I do not see an issue.
See my screen below:

Note that DSP Data Type is 16-bit (2 bytes). The Index Increment is also set to 2, meaning that only every other 16-bit value is used (meaning 2 bytes skipped). Hence there is one sample per 32-bit. Hence if 0x20000208 is the start address, 0x20000608 would represent the 256th sample. It is at this address that the value goes from 2232 to -4208. This seems to align with what the graph is displaying.
We do see the same as you -- the graph tool correctly reflects the data in the I2S buffer.
Discontinuities in the data appeared to be caused by a breakpoint. We resolved this by removing a breakpoint. We're no longer getting data-glitches.
But, now we only see correct data (and correct graph) on pausing execution the first time.
We're finding that we're getting glitches in the buffer and graph if we continue execution, and then pause a second time.
Any ideas?
We're finding that we're getting glitches in the buffer and graph
Unlike the original reported issue, the actual memory buffer contains the wrong data in this case?