imx8mini GPIO

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

imx8mini GPIO

1,327件の閲覧回数
bobwang
Contributor I

Thank you for your prompt reply Yuri.

We are using a Variscite Dev Kit, which we need more GPIO's. We would like to change Pad AD13 on the IMX8M-MINI (MIMX8MM6DVTLZAA) to a GPIO Input with high impedance, as we would like to pull this up to 3V3. Variscite in their BSP is using this pad for SAI5_RXD2 and we would like to change it to a GPIO. Can you pls advise the register/changes needed in order to achieve this?

Thank you.

0 件の賞賛
返信
1 返信

1,300件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

   

Configuring a pad for a specific functionality requires the following actions:

1.

   Check in the Device Tree  if the pad is used by other peripheral modules, because a pad can be configured only once in device. Such functionality has to be "disabled" in order to avoid pins conflict.

2.

  Check what functionalities can be export the targeted pad in include/dt-bindings/pinctrl/pins-imx8mm.h:

Macros are defined using the convention documented here.

Besides, this type of macro, a sixth value, the pad configuration has to be added for full pinmux setup. The pad configuration (IOMUXC_SW_PAD_CTL_PAD_*) is done in order to select Internal Pull Up Resistors, Hysteresis Enable, Internal Pull Down Resistors, Open Drain Enable, Slew Rate and Drive Strength.

  I've sent You more information about GPIO directly.

Regards,

Yuri.

0 件の賞賛
返信