i.MX8MMini: connect UART2 to SAI3 Pins

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8MMini: connect UART2 to SAI3 Pins

1,262件の閲覧回数
elmaralbert
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

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,073件の閲覧回数
elmaralbert
Contributor I

Hi Weidong,

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

Best regards

Elmar

0 件の賞賛
返信

1,073件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Elmar,

  You are welcome!

Have a nice day!

BR,

weidong

0 件の賞賛
返信

1,073件の閲覧回数
weidong_sun
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 件の賞賛
返信