External Clock

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

Hi,

 

I am using the KIT EVB 13213-SRB, I have a trouble for use the external clock, I select him to be source cpu clock to use the real time interrupt (RTI) with the external clock,(I just put a led to blink) but when the program is running doesn't happen nothing to the led.

I select in the RTI the external clock in the "clock settings" and put the value 32768 in the prescaler and enabled the interrupts

Could you help me?

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

Hello,

 

Do you also enter stop 2 mode?  If so, the external clock cannot be used for the RTI; only the internal 1kHz oscillator is available.  This must be explicitly enabled for it to continue operating in stop mode.  However, the internal oscillator is not available in normal run mode, so the external clock must then be used for the RTI.  This is one of the pecularities of the device.

 

If you are connecting a crystal as the external clock, the bit ICGC1_REFS must be set for the XTAL output pin to be available, for the crystal to oscillate.

 

Regards,

Mac

 

元の投稿で解決策を見る

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

Hello,

 

Do you also enter stop 2 mode?  If so, the external clock cannot be used for the RTI; only the internal 1kHz oscillator is available.  This must be explicitly enabled for it to continue operating in stop mode.  However, the internal oscillator is not available in normal run mode, so the external clock must then be used for the RTI.  This is one of the pecularities of the device.

 

If you are connecting a crystal as the external clock, the bit ICGC1_REFS must be set for the XTAL output pin to be available, for the crystal to oscillate.

 

Regards,

Mac

 

0 件の賞賛
返信