How to disable flexcan on M4 for imx6sx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to disable flexcan on M4 for imx6sx

724 Views
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?

Labels (2)
0 Kudos
3 Replies

542 Views
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!
-----------------------------------------------------------------------------------------------------------------------

542 Views
jingyangxie
Contributor V

Hi,igor

    thanks for your answer! the problem has been solved

0 Kudos

542 Views
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 Kudos