i.MX8MMini: connect UART2 to SAI3 Pins

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX8MMini: connect UART2 to SAI3 Pins

278 Views
Contributor I

On our new board with i.MX8MMini, we need to use the pins originally used for UART2 (Linux console) for an SPI-Interface. According to the iMX8MMini reference manual, the UART2 RXD and TXD can be connected to the pins SAI3_TXFS and SAI3_TXC. But in the file .../dt-bindings/pinctrl/pins-imx8mm.h the respective defines are missing.

So my question:

Were these defines only forgotten to add an this can simply be done? This is what I expect.

Or:

Will it not be possible to switch the UART2 to the SAI3 pins? Which I hope is not the case.

Please give me a short hint.

Thank you in advance and best regards

Elmar Albert

Labels (1)
0 Kudos
3 Replies

90 Views
Contributor I

Hi Weidong,

thank you for your response. This is what I expected!

Best regards

Elmar

0 Kudos

90 Views
NXP TechSupport
NXP TechSupport

Hi Elmar,

  You are welcome!

Have a nice day!

BR,

weidong

0 Kudos

90 Views
NXP TechSupport
NXP TechSupport

Hi Elma,

      You can add them to pins-imx8mm.h according to imx8mm_pins.h in u-boot ( arch/arm/include/asm/arch-imx8m/imx8mm_pins.h) by yourself.

 

see below, please!

 

MX8MM_IOMUXC_SAI3_TXFS_UART2_RXD               0x01D8 0x0440 0x4 0x2
MX8MM_IOMUXC_SAI3_TXC_UART2_TXD                 0x01DC 0x0444 0x4 0x0

Have a nice day!

BR,

Weidong

0 Kudos