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.

RM48L952: GIO Interrupts for functional peripherals

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

For peripherals like MIBSPI, CAN and HET that are configured as GIO, how does one go about enabling interrupts in GIO mode? Doing this for GIO A and B is straight forward and so is doing this for functional modes, but it's not clear to me how to accomplish this for functional pins configured as GIO. If you can please use HET in GIO mode as an example to enumerate the steps to follow. Thanks.

  • Hello Guy,

    All of the SPI pins, CAN pins and HET pins can be used as general purpose I/O pins. But those pins doesn't support interrupt.

  • I made some progress on this but still have questions. I've setup low interrupt for het in VIM table (ch 24). I now need to enable notification for. In the example edgeEnableNotification(hetREG1, edge0), what does edge0, edge1, etc. refer to? I see that it is edge signals, but what do the 8 edge signals correspond to? How do I monitor for an edge on a particular het pint (e.g. N2HET1[10])?

    Also, can I only monitor interrupts on HET pin when the HET module is enabled or I can use the HET as GIO and still processor interrrupts?
  • Hi Guy,

    The edge 0, edge 1,...edge 7 are defined in HALCoGen. By default, the edge 0 is the falling edge of the input signal at NHET pin 9, and the edge 1 is the falling edge of the input signal at NHET pin 11.

    The edge type is configurable: falling edge, rising edge, or both edges. The Pin number for capturing the input signal is also configurable in HALCoGen.

    No, it is not able to handle GIO INT.