This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL2-570LC43: TMS570LC43x GIO buttons example

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN

Good day. Is there an example of GIO buttons interrupt handle? I tried to google it and made this, but didnt work..:
In HALCoGen, I

  • on Driver Enable enabled the gio driver,
  • on GIO checked that the pin PORT A 7 is input enabled (default)
  • on GIO also enabled the VIM route for that pin(default)
  • on the INTERRUPT tab I left all as default (IRQ despach mode = vector mode)
  • on the VIM channel 0-32 tab I enabled 9: GIO intA
  • I initialized the GIO (and later also the VIM) in my sys_main.c
    • enable_IRQ();
              gioInit();
              while(1);
    • set breakpoint in gio.c gioHighLevelInterrupt()