Question about MC9 S08AC128

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

Question about MC9 S08AC128

792 次查看
MarkusWimmer
Contributor I

Hello, i want an external cristall clock with 8Mhz on my MCU init.

 

What code i must write? 

 

void init_mcu (void){

ICGC1=??

ICGC2=??

 

while?

}

 

thanks for help

 

Markus

标签 (1)
0 项奖励
回复
1 回复

359 次查看
bigmac
Specialist III

Hello Markus,

 

I assume that you mean the crystal frequency is 8 MHz.  You do not mention what bus frequency you require.  This will determine whether you select FBE or FEE mode for the ICG module.  For FBE mode, the maximum bus frequency would be 4 MHz.

 

Regards,

Mac

 

0 项奖励
回复