I recently changed the frequency of the xtal on the XIN(8) / XOUT(9) pins from 32.768khz to 16mhz, modified the BCSCTL1 to a value of 0x40 and no joy, the xtal does not oscillate. Any ideas?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
That sets the XTS bit which selects High-frequency mode for XT1.Stan Ross said:I recently changed the frequency of the xtal on the XIN(8) / XOUT(9) pins from 32.768khz to 16mhz, modified the BCSCTL1 to a value of 0x40
Have you also set the LFXT1Sx bits in BCSCTL3, which select the frequency range of the external xtal for XT1 high-frequency mode?
At power-up the LFXT1Sx bits have the value of 00, which selects "0.4- to 1-MHz crystal or resonator".
For a 16MHz xtal the LFXT1Sx bits need to be set to 10, which selects "3- to 16-MHz crystal or resonator".
**Attention** This is a public forum