Hi Guys,
We need your help to check our customer's issue on their code.
They have a problem running msp430f6736a by 32.768 kHz crystal.
Kindly check their CODE below:
//-----Clock Setting---
//Set VCore = 2 for 12MHz clock
PMM_setVCore(PMM_CORE_LEVEL_3);
UCS_turnOnLFXT1(UCS_XT1_DRIVE_3, UCS_XCAP_0);
//Set DCO FLL reference = XT1CLK
UCS_initClockSignal (UCS_FLLREF, UCS_XT1CLK_SELECT, UCS_CLOCK_DIVIDER_1);
//Set ACLK = XT1CLK
UCS_initClockSignal (UCS_ACLK, UCS_XT1CLK_SELECT, UCS_CLOCK_DIVIDER_1);
//Set ACLK = XT1CLK
UCS_initClockSignal (UCS_SMCLK, UCS_DCOCLKDIV_SELECT, UCS_CLOCK_DIVIDER_1);
//Set ACLK = XT1CLK
UCS_initFLLSettle(16000, 488);
but when they run program, they get DCOFFG error
Thank you so much for checking the error and we are looking forward to your response.
Best regards,
Jonathan