External Clock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

External Clock

跳至解决方案
622 次查看
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 解答
412 次查看
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 回复
413 次查看
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 项奖励