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.

gio_write in swi

Hi, All,

We are using c6747 DSP for our development. I have a question about gio_write in a SWI.

According to the BIOS manual, gio_write cannot be called from a SWI. I accidentally used it and it worked with a timing issue. gio_write is one of the last few instructions executed in the SWI. When I stepped through the code from the emulator, the data was transferred out correctly. However, if I let the code free run, the data was not sent out correctly. Then I added some delays after the gio_write and before the exit from SWI, everything worked.

Has anyone used gio_write in a SWI? What is your experience? Why do I need the delay?

Thanks,

Ru