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.

Using GIOA

Hi, 

I have an RM42x Launchpad. We he the following doubts : 

1)Our problem is that we cannot take any input/output to/from the pin GIOA[2], as it is connected to an LED. Is there any method to do so?

2)The HET pins are dixcontinuous (0,2,4,6..and so on..) for GP I/O.

We have set them as outputs as follows :

gioSetDirection(hetPORT, 0xFFFFFFFFU);

We need to send an output through these 32 pins. But according to the pin-diagram, we can access only 20 out of these 32 pins. Could you tell what happens when we set the first 8 pins, say, using the instruction:

gioSetPort(hetPORT, 0x0000000FFU);   

  • Hello Abhishek,

    If you must use the GIOA[2] directly you could modify the Launchpad by removing the LED and attaching a wire to the MCU side of the LED pads. As I do not have a schematic for the Launchpad available to me, this is the only option I can offer at the moment. The launchpad kits are designed for general use and some pins are pre-assigned, as in the case of the GIOA[2] pin, for demos and such.

    In regard to the NHET channels. If you refer to the datasheet, you will see that there are a total of up to 19 NHET channels available on this device. The superset design is capable of up to 32 channels but due to various design constraints not all of the channels are brought to pins. Ones that are not brought to pins can still be used internally as SPI or ADC triggers or for HR share functionality, etc. For some of the NHET channels it is necessary to utilize the IOMM to configure the pin muxs so that the NHET function is brought to the pin in order to achieve the full 19 channels as functional pins of NHET capability of the device. Please reference the device specific datasheet and TRM for muxing details.

    If a NHET channel is not brought out to a pin (either muxed or otherwise) and it is configured as an output by software, the signal will only show in the NHET data out register but will not go any where unless the channel is configured as an internal trigger for another module.