EasyManuals Logo

Texas Instruments MSP430 Student Guide

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #108 background imageLoading...
Page #108 background image
Before We Get Started Coding
3. Pin Unlocking (Wolverine only)
Pin locking is a feature that holds the last state of all GPIO pins when a device is put into its
lowest power modes that is, when power is removed from the memory and registers. Without
this ‘locking’ feature, the pins would lose their values when these power modes are entered.
The pin-locking feature freezes the state of each pin. That is, the pins are effectively
disconnected from their associated register bits (i.e. PxOUT) you can think of there being a
switch along the vertical dashed line shown below.
Many devices prior to Wolverine, such as the ‘F5529, provided the pin-locking feature although,
it was not enabled by default. The new ‘FR5xxx (Wolverine) devices, though, have this feature
enabled by default … therefore, the pins are always locked at power-up.
When this feature is enabled, there is an additional ‘unlocking’ step required in order for your I/O
to respond to the values written to the GPIO control registers.
As shown above, it is suggested that you setup your GPIO registers and then unlock the registers
using the PMM_unlockLPM5() function.
3 - 18 MSP430 Workshop - Using GPIO with MSP430ware

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals