Hi, I'm developing a device based on the C6713.
I found that whenever there are two consecutive GPVAL assignment statements, the C6000 compiler, under the 'Register (-o0)' Opt Level, would compile only the first statement! Has anybody found this too??? For example, if I have
*GPVAL |= 0x00000100; // Make GP8 pin go high
*GPVAL &= 0xfffffeff; // Make GP8 pin go low (thus produces a short pulse)
then the second statement, *GPVAL &= 0xfffffeff;, would not get compiled!
I checked the resulting assembly file. It's as if the second statement was not written (and I could not see the pulse on GP8 of course)!
Has anybody found this problem with the C6000 compiler?
How can one make the GP8 pin generate a very short pulse then????
Any help would be much appreciated.
C.M.