Hello
I can't LEDs turn on by the HDK board. I using CCS 5.4.
Source code of my program:
/*
* main.c
*/
#include "het.h"
#include "gio.h"
int main(void) {
/** - NHET is configured as Master
* - NHET is turned On */
hetREG->GCR = 0x01000001;
/** - PULL functinality is enabled */
hetREG->HETPULDIS = 0x00000000;
/** - Configure NHET[0-5] pins as output */
hetREG->CCDIR = 0x8000003F;
/** Note : --> Always HET31 is set High to function as Active low ESM error Pin */
/** - Clear all pins by taking them to zero */
hetREG->CCDWR = 0x80000000;
/** - Set all NHET[0..5] LEDs */
hetREG->CCDWR = 0x8000003F;
while(1){
}
}
"het.h", "gio.h" - standart files of TMS470M Argoboard Demo project.
What is missing?
Regards, Roman