Problem in Setup ICG Module of MC13213

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem in Setup ICG Module of MC13213

1,935 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

789 Views
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 Kudos
Reply

789 Views
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 Kudos
Reply