Question about MC9 S08AC128

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question about MC9 S08AC128

789件の閲覧回数
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 返信

356件の閲覧回数
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 件の賞賛
返信