Problem in Setup ICG Module of MC13213

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

Problem in Setup ICG Module of MC13213

1,936 次查看
Loran
Contributor I
Hi all,

I am using the BeeKit and MC13213 for development. Currently I encounter a problem that, the ICGS1 did not change after calling the SETUP_ICG_MODULE (i.e. ICGC2 = gHardwareParameters.NV_ICGC2; \ ICGC1 = gHardwareParameters.NV_ICGC1:smileywink:.

This problem only occured on my target board, but did not occur in the MC13213 SRB. I would like to know what settings or part of hardware should I check in order to fix this problem? As well where could I found the information about the use of ICG?

Thanks and regards,
Sam

标签 (1)
0 项奖励
回复
2 回复数

790 次查看
Loran
Contributor I
The problem in changing the ICG control register value of MC13213 is owing to that fact that, an external clock reference was not available and the MCU is in the FLL engaged external mode.

The problem was fix by feeding the pin 10 (CLK0) to the pin 9 (EXTAL).

Thanks.
Sam
0 项奖励
回复

790 次查看
peg
Senior Contributor IV
Hi Sam,
 
Not sure how the code works in there but as the 13213 is a GT60 with a radio built in, refer to MC9S08GB60.pdf for a description of how to setup the ICG.
 
0 项奖励
回复