S9KEAZN32ACLH

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

S9KEAZN32ACLH

317 Views
EmanueleP
Contributor II

Hi, i have a s9KEAZN32ACLH microcontroller but i'm not able to set 40MHz output clock in FEI mode.

This is my setup:

#define CPU_XTAL_CLK_HZ 0u /* Value of the external crystal or oscillator clock frequency in Hz */
#define CPU_INT_CLK_HZ 39062u /* Value of the slow internal oscillator clock frequency in Hz */

#if (CLOCK_SETUP == 6)
#define DEFAULT_SYSTEM_CLOCK 40000000u 

#define ICS_MODE ICS_MODE_FEI 


#define ICS_C1_VALUE 0x04U

#define ICS_C2_VALUE 0x00U 
#define ICS_C4_VALUE 0x00U 
#define OSC_CR_VALUE 0x00U 
#define SIM_BUSDIV_VALUE 0x01U 

I set also 

SIM_SOPT |= SIM_SOPT_CLKOE_MASK;

to see bus clock frequency on PTH2, but now i see 16MHz instead of 20MHz.

 

I'have another question:

-what is the reference manual for this microcontroller? I don't see s9KEAZN32ACLH in any manuals.

Thank you!

 

0 Kudos
0 Replies