spacer
OTHER KNOWLEDGEBASES
DSP TECHNICAL INFO
DSP RESOURCES
OMAP™ TECHNICAL INFO
OMAP™ RESOURCES
Analog Mix-Sig TECH INFO
Analog Mix-Sig RESOURCES
Logic TECHNICAL INFO
Logic RESOURCES
SC TECHNICAL INFO
SC RESOURCES
Digital Signal Processors
OMAP™ Processor Platform
Analog & Mixed-Signal
Digital Signal Processors
ADDITIONAL SC PRODUCTS
DESIGNED FOR TI DSP
HOW TO PURCHASE
CONTACTS
GENERAL QUESTIONS
  
  Have you visited the Tech Support KnowledgeBase?
Texas Instruments has gathered specific resources about our product groups into an easily searchable format. Specific areas for DSP, Analog, and Logic parts give you the fastest access to technical answers. more
 
  
MSP430: Hardware USART configuration of the MSP430

Problem:
The MSP430 hardware USART does not operate as expected 
as per the settings of the USART control registers.


Solution:
The hardware USART module in the MSP430 is a state machine whose 
state has to be RESET every time a new USART configuration is 
defined. This can be achieved by a set/reset sequence of the SWRST 
bit in the UCTL register by firmware.

The SWRST bit is set by default on power on reset(POR). If the USART 
module parameters are defined for the first time by configuring 
the control registers after POR, configuring the UCTL register should 
be the last in the sequence such that the SWRST is reset to start 
the state machine with the defined settings. This can be achieved 
with a MOV.B #000X XXX0B,&UCTL in assembly language and UCTL = 0b000X XXX0 
in C language. Please refer the device User`s guide and code examples 
for more details.

If the USART module is re-configured in firmware then a set/reset 
sequence of the SWRST bit must be done after re-configuration, to 
re-start the USART state machine with the new configuration. 



SURVEY

Did the information in this article help answer your question?

Yes
NO
NO, EMAIL TECHNICAL SUPPORT


Please provide additional comments about this information.
(255 character max)



(OPTIONAL) Please tell us how to get in touch with you:
Name
E-mail

Last Query: MSP430 (TM) Low Power Microcontroller

Session Log:
New Knowledge Server Session
Knowledge Base: dsp
Problem Selected
TI DSP Resources
Problem Selected
Code Composer Studio v2.2
Problem Selected
MSP430 (TM) Low Power Microcontroller
Problem Selected
Initializing the Target DSP
Solution (document) Considered
Cannot initialize the TI emulator using emurst on a Solaris machine.
Solution (document) Considered
Emulation Fundamentals for TI's DSP Solutions
Solution (document) Considered
Why do the commands in my GEL functions seem to work intermittently?
Solution (document) Considered
Error can't initialize target system (C5X)
Solution (document) Considered
After installing C6701 EVM, default GEL's to initialize the DSP gives errors and causes CCS to hang.
Custom Page Viewed
Page: NavBar
Variable Updated
Variable: OBJECTNUMBER
Value: 1891
Solution (document) Considered
Getting the error "Data Verification Failed at 'address'" when loading an executable onto the target using File-Load Program
Custom Page Viewed
Page: NavBar
Variable Updated
Variable: OBJECTNUMBER
Value: 4870
Custom Page Viewed
Page: NavBar
Variable Updated
Variable: OBJECTNUMBER
Value: 4954
Solution (case) Considered
MSP430: In-system flash programming or usage as EEPROM.
Solution (case) Considered
MSP430: IAR Embedded Workbench error message: unable to open file `cl430`
Solution (case) Considered
MSP430: Speed of the MSP430 SPI or UART
Solution (case) Considered
MSP430: Hardware USART configuration of the MSP430
Solution (case) Considered
MSP430: In-system flash programming or usage as EEPROM.
Solution (case) Considered
MSP430: IAR Embedded Workbench error message: unable to open file `cl430`
Solution (case) Considered
MSP430: Hardware USART configuration of the MSP430
'>