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.

MSP430F5438A-EP: ULP Advisor: Unused GPIO

Part Number: MSP430F5438A-EP
Other Parts Discussed in Thread: ENERGYTRACE, MSP-FET

Hello,

I've just started working on MSP430. My questions is as follows:

1) Ultra-Low Power Adviser, from Texas instrument Wiki (http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10372), has suggested using "P1SEL = 0xBE" to terminate unused GPIOs. However, 0xBE which is equivalent to 0b1011 1110, contradicts the datasheet (http://www.ti.com/lit/ds/symlink/msp430f5438a-ep.pdf#page=69) such that P1.7 has no secondary function. Moreover, I would like to know why bit 0 and bit 6 would be logic 0, as to selecting its I/O functions, leaving floating pins.

2) I would also like to know how selecting a pin's secondary function would save power and if there is any secondary functions that I should avoid selecting, for unused GPIO.

3) Lastly, I would like to know if there is any difference to the amount of power saved from 'output direction logic & level 0' versus 'pin's secondary function'?

Best regards,

Zhi Wei

**Attention** This is a public forum