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.

Need Suggestion for Saving Data

Other Parts Discussed in Thread: SPRC125, SPRC539

Hi,

I am using a eZdsp f28335 dev board to control my motor drive. I would like to save some internal controller data to the PC and I've got the interface between my PC and the DSC working.  However, the on chip RAM is very limited in space.  Can I write data into the flash while still runing the code from the RAM? Should I try the external RAM on the board?

Thanks a lot!

Di

  • Yes, you should be able to write the data into flash provided you have enough space in flash. This Example Flash API project should help you jump start.

    http://www.ti.com/tool/sprc125

    Also, just curious is there any reason why you want to save the contents in RAM / FLASH. Why not use a communication interface like SCI / SPI port to bring the data out of the device?

    Regards,

    Manoj

  • Sorry, sent a wrong project file in my last message. Use this one: http://www.ti.com/tool/sprc539

    Regards,

    Manoj

  • Thanks for your help, Manoj!

    I am actually using both SPI and SCI.  SPI is used for DAC.  I am planning to use SCI to send the saved data back to the PC.  The reason I would like to save the data is that SCI is slow and I would like to save the data at a higher sample rate during the test, send it back when the test is over.  Any suggestions on that?

    BR,

    Di

  • Pan,

    You should be able to save the data in flash as I said in my previous message. Please refer http://www.ti.com/tool/sprc539 that explains how to integrate flash programming as a part of project.

    Another option would be to use XINTF to program into an external memory.

    Hope that helps.

    Regards,

    Manoj