Other Parts Discussed in Thread: CCSTUDIO
Hello,
I'm trying to learn how to use the GPIO on the C6474 DSP. When I use the example for blinking leds supplied for the EVM 6474 (see C:\CCStudio_v3.3\boards\evmc6474_v1\tests\led), no problem it's work.
And when I use the function included in this example (see EVM6474_GPIO_setOutput()), no problem the DSP drive well pin I selected.
But it only drives 1 pin by 1 pin. For example, the following routine drive the only GPIO_0 :
EVM6474_GPIO_setOutput( 0, 1);
EVM6474_waitusec( T1s );
EVM6474_GPIO_setOutput( 0, 0);
How could I do, if I want to drive GPIO_0 & GPIO_1 in one cycle ? In other words, how could I do to write in the OUT_DATA register for several pins activation ?
Thanks for your help.