Hi all.
How can I access (set and reset) the XF pin in C using CCSv5? I have installed the CSP libraries but I could found any references to it.
Thank you.
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.
Hi all.
How can I access (set and reset) the XF pin in C using CCSv5? I have installed the CSP libraries but I could found any references to it.
Thank you.
XF is bit 13 of ST1 register. you can refer to C54x DSP Reference Set Apps Note.
http://www.ti.com/lit/ug/spru173/spru173.pdf
I use this to toggle XF:
asm(" bit(ST1,#13) = #1 "); // toggle XF
asm(" bit(ST1,#13) = #0 "); // toggle XF
Regards.