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.

  • TI Thinks Resolved

TIDA-00120: LED Status Indications for Battery, Panel and Load

Intellectual 510 points

Replies: 1

Views: 76

Part Number: TIDA-00120

Hi,

I am using TIDA-00120 refrence design for 12V/10A MPPT Charge controller. I would like to use  P2.4, P2.5 and P2.6 pins of MSP430 for the LED Indications. In this i am not using GUI/ launch pad to connect to the PC. 

I tried to write the Firmware to config the Pins P2.4, P2.5 and P2.6. But i am unable to make the pins either "High". or "Low".

So please suggest me how to config above mentioned pins to use as GPIO pins.

Regards

Naresh

  • Hi Naresh,

    There are code examples for the MSP430F5132 in the TI Resource Explorer which show you how to properly configure and use the GPIOs on an MCU. For your purposes, the MSP430F51x2_P1_01.c example would help you in seeing how to properly configure a port pin as an output pin and to set the voltage accordingly.

    Best regards,

    Matt

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.