clock initilisation for mc9s12G128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

clock initilisation for mc9s12G128

跳至解决方案
4,551 次查看
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 项奖励
回复
1 解答
4,543 次查看
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 项奖励
回复
3 回复数
4,512 次查看
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 项奖励
回复
4,507 次查看
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

 

标记 (1)
0 项奖励
回复
4,544 次查看
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 项奖励
回复