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.

MSP430F6775A: Auxiliary Supply Switch module and GANG programmer

Part Number: MSP430F6775A

Hello,

We have an application developed using the MSP430F6775A. Unlike most other MSP430 MCUs, this device includes an internal Auxiliary Supply Switch module. As shown in the block diagram, the main supply of the processor is selected from DVCC, AUXVCC1, and AUXVCC2.

In our application:

  • DVCC is supplied from the 230 VAC mains and regulated to 3.3V.

  • AUXVCC1 is connected to a 3.6 V battery and supplies the MCU when the mains power is unavailable.

  • AUXVCC2 is left unconnected.

During production programming of this MCU, we can either supply power from the GANG programmer or use the on-board batteries. I have questions for both scenarios.

Scenario 1: Power supplied by the GANG programmer

When the supply is generated by the GANG:

  1. Should JTAG pin 2 (the pin through which the GANG supplies power to the target) be connected to DVCC, or to VDSYS, which is the output of the auxiliary supply switch?

    • If the auxiliary supply switch is functional and active during JTAG programming, then connecting to DVCC would make sense.

    • However, if the module is inactive during programming, then the connection should be made to VDSYS.

    Unfortunately, the datasheet does not provide any information about the state or behavior of this module during JTAG programming.

  2. In the same scenario, would it be possible to connect the GANG supply pin (JTAG pin 2) to the unused AUXVCC2 pin, such that when neither the mains supply nor the battery are present, the MCU would be powered by the GANG through this pin?

Scenario 2: Power supplied internally, sensed by the GANG

In this scenario, the MCU is powered internally via the mains supply or the battery, and the GANG only senses the target voltage.

  • In this case, should the JTAG sense pin (pin 4) be connected to VDSYS?

  • However, if the auxiliary supply switch does not operate during programming, the programmer may not detect any voltage on VDSYS, which could cause the programming operation to fail.

All TI JTAG programming documentation appears to ignore MSP430 devices that include the auxiliary supply switch module, and no guidance is provided for such cases. We would appreciate your clarification on the correct and recommended way to use the GANG programmer with this MCU, considering the auxiliary supply architecture.

Thank you in advance for your support.

image.png

  • Hi,

    The device will choose which supply to use based on which one is highest. I would choose a supply that you can connect the GANG to when programming. As long as you have voltage applied, then you should be able to program the device.

    -Matthew

  • Hi Matthew,

    I had already seen that section, but it did not fully answer my questions.

    According to that paragraph, if we supply power to AUXVCC2 but not to DVCC or AUXVCC1, the MCU will not power up, is that correct?

    Based on your statement, I understand that the Auxiliary Supply module remains functional during JTAG programming. For Scenario 1, does this mean that the GANG programmer should supply power to either DVCC or AUXVCC1, with a diode used for protection? And that it should never supply power directly to VDSYS, since VDSYS is the output of the Auxiliary Supply module and an internal power rail of the MCU?

    For Scenario 2, if the above assumption is correct, should the GANG programmer instead sense supply voltage directly from VDSYS?

    Thank you.

  • Hi,

    1) The MCU requires power on DVCC or AUXVCC1 to start up

    2) The programmer should connect to DVCC or AUXVCC1, so the device can start up for programming

    3) Typically, only a cap is placed on VDSYS, so I would sense from either DVCC or AUXVCC1 

    -Matthew

**Attention** This is a public forum