clock initilisation for mc9s12G128

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

clock initilisation for mc9s12G128

Jump to solution
3,685 Views
War123
Contributor I

hello, i am trying to initilise the clock for mc9s12G128 microcontroller. As i am new in coding can u help me how to initilise the clock using embedded c?

 

0 Kudos
Reply
1 Solution
3,677 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

You can find

G240-PLL-PBE_mode-CW51

G240-PLL-PEE_mode-CW51

G240-PLL-PEI_mode-CW51

.... and something more at:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G-Examples-Pack/ta-p/1103919

 

Best regards,

Ladislav

View solution in original post

0 Kudos
Reply
3 Replies
3,646 Views
War123
Contributor I

thanks for reply, it really helpful.

I wanted to know that if i want to test code for mc9s12G128 on sw, is any sw like proteus to test and verify the code before test on hardware.

0 Kudos
Reply
3,641 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

unfortunately, the simulator features were not implemented for S12G devices.

However, if you want to simulate algorithms, routines, some principles you can still use CodeWarrior and open target for simulator but select device S12P which has the same core and a lot of features. I know it is not full simulation but it helps to check some principles and routines.

Best regards,

Ladislav

 

Tags (1)
0 Kudos
Reply
3,678 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

You can find

G240-PLL-PBE_mode-CW51

G240-PLL-PEE_mode-CW51

G240-PLL-PEI_mode-CW51

.... and something more at:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12G-Examples-Pack/ta-p/1103919

 

Best regards,

Ladislav

0 Kudos
Reply