Hello @senthilprabhug ,
Thanks for your post. This is achievable. You can use config tools to implement it with a simple configuration. Please refer to the attached document for detailed steps about config tools usage.
The configuration mainly involves the following two steps:
1. In the Clock Config Tool, simply enable the external crystal. You can observe that all other modules are still clocked by the internal crystal by default.
See attached "clock_configuration.png".
2. In the peripheral configuration tool, set the clock source of the CAN peripheral to EXT_CLK.
See attached "CAN_peripheral_configuration.png".
At last, click Update Code, and you can see the specific changes in the code.
Hope it helps.
BR
Celeste
----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
----------------------------------------------------------------------------------------------------------------------