Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hello,
I am implementing the "Missing Clock Detect (MCD)" test. Based on the example I saw, the correct procedure for this test involves:
- Completing the initialization phase, clearing NMI flags, and remapping the NMI vector to the handler.
- Enabling the Missing Clock Detection (MCD) logic by writing
0to theMCLKOFFbit in theMCDCRregister. - Simulating a missing clock by writing
1to theOSCOFFbit in theMCDCRregister.
After performing these steps, I wait for the ISR, which triggers as expected. However, the issue arises when configuring the oscillator source to be INTOSC1. I attempt to do this by writing 0x2 to the OSCCLKSRCSEL field in the CLKSRCCTL1 register. Despite this, the register value remains 0x1, preventing the PLL from locking and causing the test to fail.
Any insights or suggestions to resolve this issue would be greatly appreciated.






