Change pin configuration during runtime

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

Change pin configuration during runtime

866件の閲覧回数
roman_g1
Contributor I

Hi,

i need to reconfigure my I2C clock and data line to GPIO during runtime.

How is it possible on imx8-m4?

Thanks

Roman

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

720件の閲覧回数
b36401
NXP Employee
NXP Employee

Unfortunately runtime pin configuration is not supported by the BSP.
However you can try to write to IOMUX registers directly from application.

0 件の賞賛
返信

720件の閲覧回数
roman_g1
Contributor I

Ok, thank you for your reply.

Is there a given sequence to write to register for changing the pin configuration?

For example if i want to write to MIPI_DSI1_GPIO0_00 register to set the mode to "000b".

Is the mux_mode field to set enough?

pastedImage_1.pngpastedImage_2.png

0 件の賞賛
返信