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.

How to control USB power supply to MSP430G2553 from PC side

Other Parts Discussed in Thread: MSP430G2553

Follow up from this thread: http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/307546.aspx

I now only need one thing. That is how to control the power supply to MSP430 board via USB cable from PC. For example, I connect MSP430G2553 to PC through USB cable. Now I want to power off the MSP for a while and then power on, even if the USB cable is connected. Is there a way from the PC side to control the power supply to MSP430? If someone have a solution, please let me know. If you can write a program in C or Java to power off the MSP430 when it is still connected through USB cable, that would be great!

Thanks,

Liang

  • Well, I actually think that if I have a jumper on GND and VCC on MSP430, then the power is gone. But this is still a manual way. Is there any automatic way, so that I can be freed from controlling power supply?

  • Your question actually does not relate to msp430 but USB host controllers and USB hubs. As far as I know, most computers do not have software-controlled USB power switch for USB ports. Maybe some specific USB hub controllers do. Launchpad itself does not have any software-controlled power switch on it so as long as host provides power - it's on.

    [edit] Perhaps some laptop with sophisticated power management is able to power-down USB devices

  • Supply power to MSP with a 5V to 3.3V regulator that has an Enable input pin. Also include a USB chip with at least one output pin that can be controlled by PC driver/software.

**Attention** This is a public forum