ICG Programming problem in FEI mode for bus frequency

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

ICG Programming problem in FEI mode for bus frequency

2,039 Views
priyanto
Contributor II
Hi All,
 
To reduce external component, we are not using external components for system clock generation. So I use FEI mode and followed the example #3 on manual p.114 to generate 5.4 MHz bus clock with value of ICGC1 = $28 and ICGC2 = $31. Then I use this bus clock to drive TPM1 timer which I program the bits CLKSB:CLKSA equals to 0:1 (BUSCLK). I want to use TPM1 as base system timer. However, it does not seem the timer is using the value of the programmed bus clock (5.4MHz). FYI, I use the demo board which has 32KHz external crystal, and it seems the timer is still using the external clock. Another interesting point is that if I program using "Device Initialization" wizard on CW for ICGC1 value, it does not take it. Any idea why the programmed ICG values don't take effect? Thanks for any responses. 
Rgds,
-priyanto.
 
Labels (1)
0 Kudos
1 Reply

231 Views
priyanto
Contributor II

Hi,

Sorry, I was wrong. I could program ICGC1 and ICGC2 of MCS908GB60 in FEI mode correctly. In fact, I can change the bus frequency "on the fly" and my M69DEMO908GB60 demo board responds accordingly. Thanks.

-priyanto.

 

0 Kudos