imx8mq: m4 blocks when using i2c, spi in android

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

imx8mq: m4 blocks when using i2c, spi in android

1,463件の閲覧回数
edward_fu
Contributor III

Hi,

I am facing a problem when m4 using i2c and spi resources in Android(bootmcu && boota mmc0), m4 will block.

But if I just run m4 at uboot(only bootmcu), it runs OK.

And also m4 runs OK, if m4 does not use i2c or spi resources in Android(bootmcu && boota mmc0).

I am sure I have disabled i2c and spi resources and pinmux in linux kernel device tree(imx8mq-evk.dts). 

So what's the possible reason? Am I missing any configurations(RDC or clock configurations)?In my opinion, m4 will run OK if resource will not conflict between m4 and linux.

Thanks .

Edward

 

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

1,449件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You're correct, you need to disable the peripherals that it would be used by M4 when running Cortex-A and Cortex-M at the same time.

Please check that in your code you're not using other peripherals. Also, please note that you'll need to reserve UART2, since it is used by the Cortex-M by default for terminal.

Best regards,
Aldo.

0 件の賞賛
返信

1,437件の閲覧回数
edward_fu
Contributor III

Thanks.

I'd like to know how to disable peripherals in A53, in other words, how to configure RDC in A53.

Br

Edward

0 件の賞賛
返信

1,425件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may refer to the RDC SDK example located at:
<sdk_path>\boards\evkmimx8mq\driver_examples\rdc

Best regards,
Aldo.

0 件の賞賛
返信

1,416件の閲覧回数
edward_fu
Contributor III

I know what you mean. There is no need to configure RDC module in linux kernel? Where and how to configure RDC module in linux kernel.

Thanks

Br,

Edward

0 件の賞賛
返信