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.
Hello,
I'm working on 3 phase rectifier control on the F28335. When I run the program from RAM, there is no problem, but when I run from flash, execution speeds are terrible. I'm noticing a 200% drop in speed. I'm following the SPRA958I application note. Please find the project at https://www.dropbox.com/sh/gmdoqwgqfxjrbim/CxcOck6lMB . I'm switching the rectifier at 20kHz and running the ControlISR at the same speed, but when I run it from FLASH, the ControlISR falls to 80Hz.
Please let me know what I am doing wrong. I have been unable to fix the problem for quite some time.
Thank you and best regards
Hi Narasimha,
I'm noticing a 200% drop in speed. I'm following the SPRA958I application note.
Surely, there's some other issue because for some conditions flash is slower but not as slow as you describe. An immediate solution for you would be to copy your ControlISR section to RAM using this doc:
I'll go through the code and inform you accordingly.
Regards,
Gautam
Hi,
in addition to the above you can try to modify wait states execution and write accesses in the flash memory.
Regards,
Igor
Hello Igor,
Could you point me towards any documentation regarding that?
Thank you
Narasimha,
you can refer to the following materials:
1) this AR (p.12-13) 2476.TI_Running_from_Flash_spra958l.pdf,
2) Data Manual of your DSP (SPRS439M, p.40, 183) 8103.TI_TMS320f28332-35_manual.pdf,
3) SPRUFB0D (p.22) 2425.TI_TMS320x2833x, 2823x System Control andsprufb0d.pdf.
Regards,
Igor