Dear NXP support,
We have 3 CAN transceivers in our design.
CAN0 :
MUX config:
CAN1_TXD(UART3_CTS_B)
CAN1_RXD(UART3_RTS_B)
CAN1
MUX config 1:
CAN2_TXD(UART2_CTS_B)
CAN2_RXD(UART2_RTS_B)
MUX config 2:
CAN2_TXD(ENET1_RX_EN)
CAN2_RXD(ENET1_TX_DATA0)
We want to dynamically change between MUX config1 and MUX config2 in CAN1 without rebooting the device.
Please suggest a way to achieve this.
With Regards,
Keshava Kumar B
Thank you for the quick response...!! I will go through the options u have suggested :smileyhappy: igorpadykov ... Meanwhile, I have a few clarifications regarding this...
With Regards,
Keshava Kumar B
Hi Keshava
I believe it is not necessary to to re-init CAN driver.
Other questions, as they are general linux and no i.mx specific
suggest to post on kernel mail list
Majordomo Lists at VGER.KERNEL.ORG
Best regards
igor
Hi Keshava
probably one can try with device tree overlays
overlay-notes.txt\devicetree\Documentation - linux-imx - i.MX Linux kernel
https://elinux.org/images/8/82/Antoniou--transactional_device_tree_and_overlays.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------