Internal and External Crystal enabling

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

Internal and External Crystal enabling

1,446 Views
senthilprabhug
Contributor I

We using MC56F82746 MCU, from DSC series for motor control application. 

 

In that, i need need to use external crystal only for CAN peripheral and internal crystal used for all other clocks like (Core,Bus,etc).

 

 

Any one have an idea about this please share it.

 

#internal_crystal, #external_crystal, #crystal

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

1,386 Views
Celeste_Liu
NXP Employee
NXP Employee

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

0 Kudos
Reply