Other Parts Discussed in Thread: HALCOGEN
Hello,
I recently bought the LAUNCHXL2-TMS57012 (TMS570ls1224PGE on it) for prototyping purpose. I'm currently getting started with it, but I have some issues :
For what I understood from the LAUNCHXL2-TMS57012 schematics, one of the switch button (S3) is linked to GIOB_2 (if configured as an input I guess). So I tried to use GIO interruption but even setting all GIO as inputs, pushing the button never rise any flag in GIOFLG register. So this is my first issue with this pad : does anyone know how switch buttons and gio are related on it ?
My second issue is about interruption : I made a program which is basically something like
gioInit();
vimInit()
_enable_interrupt();
while (1)
{
LED_A_ON();
LED_A_OFF();
}
I configured the GIO_INTDET register filled with "1" which means "interrupt enabled on both rising and falling ege", enabled interruptions etc and set breakpoints on gioHighLevelInterrupt and gioLowLevelInterrupt. only the low level works. I tried to configure the INTDET and POL registers to have only rising edge : program nevers break in the interrupt.
So there is probably something I missed reading the datasheet, and I would appreciate some help on this, if possible not using HALCoGen but with direct register configuration (So I can understand more how it works)
Thanks
Audry