Part Number: TMS570LS0432
Other Parts Discussed in Thread: LAUNCHXL-TMS57004, HALCOGEN
Tool/software: Code Composer Studio
I am new to the TI Hercules line. I am using a LAUNCHXL-TMS57004 board. My first step is to verify the GIO. I have attempted to blink the D12 LED on GIOA2 by calling:
// 1. Configure GIOA2 as output:
gioPORTA->DIR = 0x00000004; //bit 2
// 2. SET this pin to HIGH
gioPORTA->DSET = 0x00000004; //bit 2
// 3. RESET this pin to LOW
gioPORTA->DCLR = 0x00000004; //bit 2
First observation is that, after setting values to these registers and examining their contents the contents do not contain the values I assigned to them.
I have also tried:
gioSetDirection(gioPORTA, 0xFFFFFFFF);
gioSetBit(gioPORTA, 2, 1);
gioSetPort(gioPORTA,1);
But no luck. Is there a trick that I am missing?
ken