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-TMS57012: LaunchPad LAUNCHXL2-TMS57012 : GIO HighLvl Interrupt

Part Number: LAUNCHXL2-TMS57012
Other Parts Discussed in Thread: HALCOGEN

It is not a question, rather solution how to perform setup in HalCoGen for useing Switch no 3 on LAUNCHXL2-TMS57012 as interrupt (I saw few threads on the forum, but wthere were not good solution).

Setting need to be done in HalCoGen:

1.GIO Tab ---> PortB ---> Bit 2 (VIM Low Priority, Enable = TRUE ,

2. TMS570LS1224PGE Tab ---> VIM channel 0-31 ---> 23 GIO Low Enable = TRUE,

3. PINMUX Tab ---> Pin Muxing ---> GIOB enable = TRUE

4. PINMUX Tab ---> Special Pin Muxing ---> Use GIB_2 for disabling selected HET2 PWM outputs = TRUE ---> I have never seen this tip in other threads but it works.

Regards

  • Hello Michal,
    GIOB[2] by default is exposed on pin 142. It has alternate input pin - pin 55. When looking at schematic, you can see that pin 55 is connected to this button. With Special Pin Muxing pin 55 is selected for GIOB[2].

    Thanks and regards,
    Miro