How to disable flexcan on M4 for imx6sx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to disable flexcan on M4 for imx6sx

1,049 次查看
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 回复数

867 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

867 次查看
jingyangxie
Contributor V

Hi,igor

    thanks for your answer! the problem has been solved

0 项奖励
回复

867 次查看
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 项奖励
回复