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?
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!
-----------------------------------------------------------------------------------------------------------------------
Hi,igor
thanks for your answer! the problem has been solved
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