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.

Data logging

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am using the GUI instaspin F2806X.

My aim is to store every sample of current(Id, Iq), voltage(vd,vq), torque, rotor position,speed atleast 250 samples of each when my system operated at a switching frequency of 5KHz.

I have seen there are plots for current and torque which uses 50 or 100 samples of the logged data inside the microcontrollers. If I want to increase the number of sample to be logged, is there any way to extend memory?

or is there any way to read the data every switching period and store it in a file using GUI (when I tried this I am not able to do it every switching period as the transfer delay to gui is more).  

Also if I use XDS560V2 , is ther any advantage that I could get for data logging?

Regards,

Rathinavel

  • You will need to buffer up a large amount of RAM. If it's enough to use the RAM you then transfer all data post gathering, through JTAG, UART, or USB.

    If it's not enough RAM then you need to transfer during data gathering. Here you should look at UART, SPI, or USB depending on how much data. JTAG is too slow for this. With the automated testing we do the UART works well enough.

    Unfortunately we don't have a canned solution for you to copy. You may try posting on the CCStudio forum to see if there is something available. You can also check with Codeskin as I know they have done some work in this area before. Several of the graphical development tool vendors also have support for this sort of data link built in as that's how they transfer data themselves.