Part Number: MSP430F6779A
Which auxiliary power switch is chosen when mixing software and hardware control?
AUX1MD = 0, AUX0MD = 1, AUX1OK = 1, AUX0OK = 1
(the auxiliary supply switch to DVCC or AUXVCC1)

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.
Part Number: MSP430F6779A
Which auxiliary power switch is chosen when mixing software and hardware control?
AUX1MD = 0, AUX0MD = 1, AUX1OK = 1, AUX0OK = 1
(the auxiliary supply switch to DVCC or AUXVCC1)

Hi Tink
Could you please share your initial setting of Auxiliary Supply System (AUX) mixing software and hardware control
So far, I only can find the code example of Software-Controlled Switching, AUXVCC1
the code example is msp430f677xA_aux_01.c of https://www.ti.com/tool/download/SLAC648
Thanks
if ((AUXCTL0_L & LOCKAUX_L) == LOCKAUX_L) // Auxiliary is locked because of core power down?
{
AUXCTL0_L &= ~LOCKAUX_L; // Release Auxiliary module from core power down
}
AUXIE = 0x0000; // AUXIE Disable.
AUXCTL2 = (AUXMR_0 | AUX0LVL_6 | AUX1LVL_5 | AUX2LVL_0);
// AUXCTL2 Auxiliary supply monitoring rate: 0.
// AUX0LVL : 3.0V.
// AUX1LVL : 2.7V.
// AUX2LVL : 0.0V.
AUXIFG &= ~(AUX0SWIFG | AUX1SWIFG | AUX2SWIFG | AUX0DRPIFG | AUX1DRPIFG | AUX2DRPIFG | AUXMONIFG | AUXSWNMIFG);
// AUXIFG
AUXCTL1 |= (AUX0MD | AUX2MD);
AUXCTL1 = (AUX0MD | AUX2MD | AUX0OK);Hi Tink
Thanks for your code. I will found some time to check this setting.
Can I confirm the hardware setting? there are AUX0LVL and AUX1LVL.
no voltage on AUX2LVL?
// AUXCTL2 Auxiliary supply monitoring rate: 0.
// AUX0LVL : 3.0V.
// AUX1LVL : 2.7V.
// AUX2LVL : 0.0V.
Thanks
Hi Tink
I need the board to check the code. for example, the target board or EVM.
May I know which board you are using.
if you are using EVM430-F6779, Please check Implementation of a Three-Phase Electronic Watt-Hour Meter Using MSP430F677x(A) (Rev. G)
Thanks!
Hi Tink
I think I need more time to check this power setting on the target board
Thanks
**Attention** This is a public forum