AnsweredAssumed Answered

IMX8MM GPIOs

Question asked by mike malgin on Jun 24, 2019
Latest reply on Jun 25, 2019 by mike malgin

Hi,

 

I'm trying to use the pins that are being exposed at J1003 on iMX 8MM EVK on Android 9, specifically, 

 

UART3_RXD (gpio5.IO[26]) 
UART3_TXD(gpio5.IO[27]) 

SAI5_RXD3(gpio3.IO[24])

SAI5_RXD2(gpio3.IO[22])

 

Few questions: 

 

1. Since they are being exposed, can I safely assume that they are not used by any other component?

2. I tried to "export" them, however, when measuring the voltage when toggling from HI to LO it doesn't seem to work correctly(the value changes from 0 to 1, but the multimeter shows 3.3v in both states).

 

3. Do I have to define them in the evk's dts file? Defining them as below; is it the correct way?

pinctrl_hog: hoggrp {
fsl,pins = <

MX8MM_IOMUXC_UART3_TXD_GPIO5_IO27 0x19
MX8MM_IOMUXC_UART3_RXD_GPIO5_IO26 0x19
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x19
MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23 0x19
>;
};

 

Any help will be appreciated.

 

Thanks.

Outcomes