What is 52233DEMO clock freq for 25MHz external crystal osc

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

What is 52233DEMO clock freq for 25MHz external crystal osc

Jump to solution
1,085 Views
TVNAIDU
Contributor III

I have 52233DEMO board, I can see 25MHz crystal on DEMO board, but DEMO user fuide says, it can run at 60MHz, with 25MHz crystal, is clock running at 60MHz?.

 

thanks,

Message Edited by TVNAIDU on 2009-11-11 04:25 AM
Labels (1)
0 Kudos
1 Solution
288 Views
mjbcswitzerland
Specialist V

Hi

 

The "bus clock" is in fact half the PLL clock.

 

The following is a define to calculate the PIT using a 1k prescaler (where REQUIRED_MS is the value in ms):

#define TICK_DIVIDE (((PLL_CLOCK/2/1048) + REQUIRED_MS/2)/REQUIRED_MS)

 

See also http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=726&query.id=57187#M7...

 

Regards

 

Mark

 

 

 

View solution in original post

0 Kudos
3 Replies
288 Views
mjbcswitzerland
Specialist V

Hi

 

In the clock module the following are set:

- CCHR = 4 (divides the input frequency from 25MHz to 5MHz)

- SYNCR = 0x4007 (sets the PLL up to generate 60MHz internal clock)

 

Regards

 

Mark

 

0 Kudos
288 Views
TVNAIDU
Contributor III

Thanks.

 

PIT document referring Internel Bus clock below, Is Internal Bus clock is 60MHz (PLL Freq)?.  I have 52233DEMO, on that board, there is one 25MHz crystal, to calculate modulus value, if I set PRE to 8 (1000), then what clock speed I have to assume?.

 

The PIT’s timeout value is given here:

1/(Internal Bus clock) * 2(Prescaler Value+1) * Module Value = Time (seg).

0 Kudos
289 Views
mjbcswitzerland
Specialist V

Hi

 

The "bus clock" is in fact half the PLL clock.

 

The following is a define to calculate the PIT using a 1k prescaler (where REQUIRED_MS is the value in ms):

#define TICK_DIVIDE (((PLL_CLOCK/2/1048) + REQUIRED_MS/2)/REQUIRED_MS)

 

See also http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=726&query.id=57187#M7...

 

Regards

 

Mark

 

 

 

0 Kudos