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.

Question about SVS of MSP430F427

Other Parts Discussed in Thread: MSP430F437

Hi,

I need to work with an existing product that uses MSP430F437. The initializations include this routine:

init_svs:
        mov.b   #0x10,&SVSCTL
again:
        bit.b   #0x0,&SVSCTL
        jne     again
        bit.b   #0x0,&SVSCTL
        jne     again
        bit.b   #0x0,&FLL_CTL0
        jne     again
        mov.b   #0x18,&SVSCTL
        ret

I cannot figure out what it is doing. The original author cannot be reached. Based on other parts of the code, he/she seems to be very proficient.

Is or was there a feature/bug in the SVS of MSP430F437 that I am ignorant about?
Could “bit.b #0x0, &SVSCTL” ever clear Z flag?

--OCY

**Attention** This is a public forum