Claus Beckenbauer

MC9S08QE8 - External Crystal (32.768kHz) doesn't work

Discussion created by Claus Beckenbauer on May 9, 2008
Latest reply on May 9, 2008 by Claus Beckenbauer
Hi all,

i'am working with the DEMOQE board from PEmicro. Daugther Card: MC9S08QE8

I have a problem with the External Clock Source, an 32.768 kHz crystal. (C8, C9, Rf not populate)
The FLL is in FEE Mode, but the crystal doesn't work.

  ICSC1 = 0x00;                        /* Initialization of the ICS control register 1 */
  /* ICSC2: BDIV=0,RANGE=0,HGO=0,LP=0,EREFS=1,ERCLKEN=1,EREFSTEN=1 */
  ICSC2 = 0x07;                        /* Initialization of the ICS control register 2 */
  while(!ICSSC_OSCINIT) { }   /* Wait until the initialization of the external crystal oscillator is completed */
  /* ICSSC: DRST_DRS=0,DMX32=1 */
  /* Initialization of the ICS status and control */
  ICSSC = (ICSSC & (unsigned char)~0xC0) | (unsigned char)0x20;

The same Code with the MC9S08QE128 Daughter Card works.

Have anyone an Idea where the problem is?

Thank's for the support.

 

Outcomes