ICG Programming problem in FEI mode for bus frequency

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ICG Programming problem in FEI mode for bus frequency

2,502件の閲覧回数
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.
 
ラベル(1)
0 件の賞賛
返信
1 返信

694件の閲覧回数
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 件の賞賛
返信