My customer has the following questions:
I am currently working with the TM4C129XNCZAD microcontroller, using an external oscillator at 25 Mhz.
My doubt is around the identification of the failure of the main oscillator (MOSC) when it is not working in the appropriate range of frequencies.
I discover there is the possibility to configure the main oscillator verification circuit setting the CVAL bit in the register
MOSCCTL. My questions are:
- Does the verification circuit works just during the startup phase or also while the microcontroller is running?
For example if i detach the external crystal from the circuit after it powers up and runs correctly, does the MOSC verification raise a failure event?
- The verification circuit checks whether the oscillator is working in the allowed range from 5 to 25 Mhz or whether the attached crystals is working in its correct range around 25 Mhz? And if yes, how can we choose the range to check?
- If i do NOT set the CVAL bit in the MOSCCTL, is there another monitor for the main oscillator failure?
- The MOSCIM bit of MOSCCTL has effect only if the CVAL is previously set?