ICG won't lock

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,802件の閲覧回数
Tacky
Contributor I

Hello all,

 

I am using a GB60 MCU and having troubles having my internal clock generator lock. I have ICG2 = 0x32 and IGC1 = 0x5C (high range, FEE).

 

If I set my prescale N factor to anything other than 000 the clock doesn't lock. the ERCS bit indicates the clock is stable. I need to take a 10MHz clock external clock to 12.5MHz.

 

 while ((ICGS1_LOCK == 0) || (ICGS1_ERCS == 0))
 {
      __RESET_WATCHDOG();
 }

 

Thanks for any suggestions!

ラベル(1)
0 件の賞賛
返信
1 解決策
1,057件の閲覧回数
bigmac
Specialist III

Hello,

 

For FEE mode of the ICG, the datasheet specifies a maximum allowable external input frequency of 10 MHz.  Any attempt to exceed this frequency will go beyond the upper limit of the DCO range (40 MHz), with minimum MFD setting of 4.

 

The use of the maximum specified external frequency of 16 MHz is applicable only to FBE mode.

 

Regards,

Mac

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,057件の閲覧回数
Tacky
Contributor I

Hi Mac,

 

Thanks for the reply. I guess I was reading the statement in the datasheet "The maximum external clock frequency is limited to 10MHz in FEE mode to prevent over-clocking of the DCO." incorrectly.. now I am not sure how I misinterpeted this statement *facepalm*.

 

Changing to FBE mode and trying it out again...

 

Thanks again!

 

0 件の賞賛
返信
1,058件の閲覧回数
bigmac
Specialist III

Hello,

 

For FEE mode of the ICG, the datasheet specifies a maximum allowable external input frequency of 10 MHz.  Any attempt to exceed this frequency will go beyond the upper limit of the DCO range (40 MHz), with minimum MFD setting of 4.

 

The use of the maximum specified external frequency of 16 MHz is applicable only to FBE mode.

 

Regards,

Mac

 

0 件の賞賛
返信