Question about MC9 S08AC128

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

Question about MC9 S08AC128

707 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

274 Views
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 Kudos
Reply