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.

MSP430G2333: MSP430G2333IPW28R - unstable DCO frequency

Part Number: MSP430G2333
Other Parts Discussed in Thread: TEST


Why DCO frequency is unstable at all frequencies? How to fix it?

bis.b #RSEL0, &BCSCTL1
bis.b #RSEL1, &BCSCTL1
bis.b #RSEL2, &BCSCTL1
bis.b #RSEL3, &BCSCTL1  ; RSELx = 115(1111b)

bis.b #DCO0, &DCOCTL
bis.b #DCO1, &DCOCTL
bis.b #DCO2, &DCOCTL     ; DCOx = 3 (011b)

bis.b #MOD0, &DCOCTL
bis.b #MOD1, &DCOCTL
bis.b #MOD2, &DCOCTL
bis.b #MOD3, &DCOCTL
bic.b #MOD4, &DCOCTL     ; MODx = 0 (00000b)

bis.b #10h,&P1SEL              ; P1.4 = SMCLK

MSP430G2333IPW28R - unstable DCO frequency

CH1 = P1.4
CH2 = VCC - 3.3V

**Attention** This is a public forum