Other Parts Discussed in Thread: MSP430F5359, MSP430F5324
Hi all,
We are working on a custom hardware pcb design, for this design we need to set both port U pins high, we are using the MSP430f5359. We looked at the data sheet and there it says te following:
The integrated 3.3-V power system incorporates an integrated 3.3-V LDO regulator that allows the entire
MSP430 microcontroller to be powered from nominal 5-V LDOI when it is made available for the system.
Alternatively, the power system can supply power only to other components within the system, or it can be
unused altogether.
The Port U Pins (PU.0 and PU.1) function as general-purpose high-current I/O pins. These pins can only be
configured together as either both inputs or both outputs. Port U is supplied by the LDOO rail. If the 3.3-V LDO is
not being used in the system (disabled), the LDOO pin can be supplied externally
If we read this correctly the PU pins are by default sourced from the LDO rail? Sow we need to activate the LDO rail and then set the output high? For this we have used the following code segment:
LDOKEYPID = 0x9628; // Enable access to config registers
LDOPWRCTL |= LDOEN;
PUCTL |= PUOPE + PUOUT1 + PUOUT0; // PortU outnput enable
LDOKEYPID = 0x0; // Disbale access to config registers
When we run the code we see dont see that the pins become high, we activate the LDO and set the port u pins to output(and high). Is there a step that we are missing? Also when activating the LDO does this increase the power consumption since it is a 3.3v rail.