How to disable flexcan on M4 for imx6sx

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

How to disable flexcan on M4 for imx6sx

842件の閲覧回数
jingyangxie
Contributor V

Hi,all

     I have a imx6sx-sdb board,I want a9 can use flexcan1,when I build imx6sx-sdb-m4.dtb(flexcan1 is enabled in imx6sx-sdb-m4.dts),and run any m4image(for example,hello_world_imx6sx_sdb_m4.bin),the flexcan on a9 disabled,can anyone knows how to disable flexcan on M4 ,and enable flexcan on a9 when m4image runs?

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

660件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi jingyang

in dts file one can set for flexcan status = "okay"  and
if using FreeRTOS BSP, check m4 exclusive permissions for that module
defined in hardware_init.c: hardware_init(), RDC_SetPdapAccess().

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

660件の閲覧回数
jingyangxie
Contributor V

Hi,igor

    thanks for your answer! the problem has been solved

0 件の賞賛
返信

660件の閲覧回数
frl
Contributor I

Dear Jingyang xie

- I have the exact same issue that puzzles me a bit.

The FreeRTOS Hello_world example does not in any way grasp the flexcan module so I would assume that it should not be nescessarry to do anything extra to allow the A9 access to the module - so what did You do to solve the issue?

Did You explicitly have to force the M4 NOT to use the flexcan - seems a bit backwards to me!?

Best regards Frank

0 件の賞賛
返信