Using the UART (MSP430F449)

Started by ponkilolly in MSP43014 years ago 5 replies

Hi! I am trying to just write a simple routine that uses the UART and I have been experiencing some trouble. I am using the 32kHz crystal as...

Hi! I am trying to just write a simple routine that uses the UART and I have been experiencing some trouble. I am using the 32kHz crystal as it is specified and just running the example they have on the msp430 webpage for using the UART. I connected the transmitter of the UART to the serial port on the computer and tried to received some data using hyperterm but I don't get anything.


BSL and LCD (MSP430F423)

Started by "carsten.gramatke" in MSP43011 years ago 1 reply

Hi! I would like to use the HW-UART and the BSL-UART at the same interface. As I understood BSL does only use the SW-UART at P1.0 and P1.1....

Hi! I would like to use the HW-UART and the BSL-UART at the same interface. As I understood BSL does only use the SW-UART at P1.0 and P1.1. Is it possible (without writing my own downloader) to use the Hardware-UART for the BSL-Mode? If not can I connect P2.4 with P1.0 (TxD) and P2.5 with P1.1 (RxD) - if I make sure that P2.x or P1.x is in high impedance state at one time? Is Port 2 whi...


i2c interfering with UART

Started by shred445 in MSP4309 years ago 14 replies

Hey all, this has been troubling me for quite a while now. My msp430f2272 is talking to an eeprom through i2c and also to another device...

Hey all, this has been troubling me for quite a while now. My msp430f2272 is talking to an eeprom through i2c and also to another device through uart(9600). Each work great separately, but when I initialize both of them, the UART cannot receive any data. Here's how i'm doing things: 1. Initialize UART [code] BCSCTL1 = CALBC1_1MHZ; // Set DCO DCOCTL = CALDCO_1MHZ; ...


eZ430-RF2500 UART

Started by Aaron Greer in MSP43010 years ago 5 replies

Has anyone tried using the UART for communication with a PC through the USB interface? How does that work? With the ez430-F2013 module, the UART...

Has anyone tried using the UART for communication with a PC through the USB interface? How does that work? With the ez430-F2013 module, the UART is not really a UART, the debugger grabs the data and displays it in the debugger terminal window. I'm assuming that the RF2500 UART relies on a USB to serial type of Windows driver to pass the serial data into a PC. I wonder why TI decided to make th...


I2C / UART bridge?

Started by merapcb in MSP4307 years ago 38 replies

OK so I am a dork, and I neglected to remember that you can't use both I2C on UART0 as well as the UART function..... I need to access...

OK so I am a dork, and I neglected to remember that you can't use both I2C on UART0 as well as the UART function..... I need to access (multiplex) a number of serial communication devices to the same (UART) port so plan on doing that with analog switches (and control lines for routing). So now what I am thinking, is to use an inexpensive MSP like 2132 as a I2C/UART bridge, meaning that the...


UART interfering with SPI?

Started by merapcb in MSP4308 years ago 1 reply

I have a UART device who's lines intersect the SPI lines going to another device. When the UART sends data, the SPI device fails. Can it be that...

I have a UART device who's lines intersect the SPI lines going to another device. When the UART sends data, the SPI device fails. Can it be that the UART lines are generating interference? (UART is at 19,200 and SPI is at 3MBps) ------------------------------------


SPI and UART simultaneously

Started by linked82 in MSP43010 years ago 3 replies

Hi guys, It's sunday and I'm experiencing my first problems with mixing SPI and UART in the MSP430F135 chip. My circuit have this micro...

Hi guys, It's sunday and I'm experiencing my first problems with mixing SPI and UART in the MSP430F135 chip. My circuit have this micro connected to a DAC (SPI) and RS232 (UART) in the port 3. Same device (USART0) but different pins, so no problem in theoy. When I went to the practice, I wrote my program and discovered that the data that was sent to the SPI pins, also was send to the UART ...


RXBUF UART

Started by hragsarkissian in MSP4308 years ago 2 replies

Hi, Is there anyway i can clear the RXBUF for the uart. I have implemented a timeout. So what happens, if nothing is received from the UART,...

Hi, Is there anyway i can clear the RXBUF for the uart. I have implemented a timeout. So what happens, if nothing is received from the UART, the timer will time out the uart interrupt. but RXBUF will still have the previous value. Therefore i was wondering if it is possible to clear it everytime before going into the interrupt. Thanks, Hrag ------------------------------------


Timer UART (MSP430F2131)

Started by Sanjeev Kumar Kambadur in MSP4308 years ago 3 replies

Hi, Can anyone please let me know where can I find specification for Timer UART of MSP430F2131. In TI's website, the interface for F2131 is...

Hi, Can anyone please let me know where can I find specification for Timer UART of MSP430F2131. In TI's website, the interface for F2131 is by "Timer UART". But I did not find anything regarding UART in the uC's user manual. Thanks & regards Sanjeev ------------------------------------


SPI and UART simultaneous during run time......Anyone??

Started by europus in MSP43010 years ago

Hi all, I have UART0 working in UART and changing this to transmit on SPI bus with different baudrate. This is causing trouble ...

Hi all, I have UART0 working in UART and changing this to transmit on SPI bus with different baudrate. This is causing trouble since both modules work nice separately but as soon as i enable them both (all UART registers being altered during run time sequencially in program), UART stops functioning and only SPI bus remains....Here's the code ....Thanks in ad...


MSP430F1612 UART

Started by lam_isc in MSP43012 years ago 2 replies

I am using an MSP430F1612 and have USART0 set up for SPI communications and USART1 set up for UART communications. I checking the UTXD1 and...

I am using an MSP430F1612 and have USART0 set up for SPI communications and USART1 set up for UART communications. I checking the UTXD1 and UTXD0 lines with a scope and am getting two characters out for each single character I put into the Tx buffer. This is happening with the spi and the uart. I connected up the UART to hyperTerminal on my PC and two characters show up for each one I


Timer UART with SPI

Started by Ederson Cichaczewski in MSP43011 years ago 1 reply

Have somebody ever used Timer UART and SPI together? I am not using STE pin= , but polling this pin as an I/O input. The Timer UART uses timer_A...

Have somebody ever used Timer UART and SPI together? I am not using STE pin= , but polling this pin as an I/O input. The Timer UART uses timer_A interru= pt. I am trying to syncronize the use of both, the problem is on receiving = data by Timer UART. In the example of Texas website, the CPU stay in LPM0 m= ode until a byte arrives. But I can=B4t turn off CPU, because the other thi= ngs that t...


MSP430F5528 - Clock and UART

Started by "mik...@yahoo.com [msp430]" in MSP4302 years ago 25 replies

Hello, I'm trying to communicate with my RF module through UART interface. However, I get many errors even with low load. I suspect that I...

Hello, I'm trying to communicate with my RF module through UART interface. However, I get many errors even with low load. I suspect that I have an issue with the way that I configure the clock or the UART. Basically, for the UART functionality I use http://glitovsky.com/blog/?p=300 http://glitovsky.com/blog/?p=300 (I configured the connection as 8N1 at 115200). The clock configuration...


SW UART and DCO

Started by Dikefalos Aristidis in MSP4309 years ago 6 replies

Hello. I have this TI example //******************************************************************** ********** // MSP-FET430x110 Demo -...

Hello. I have this TI example //******************************************************************** ********** // MSP-FET430x110 Demo - Timer_A, Ultra-Low Pwr UART 9600 Echo, No=20 XTAL, ROSC // // Description: This program demonstrates a half-duplex 9600-baud=20 UART using // Timer_A3 using no XTAL and an external resistor for DCO ROSC. DCO=20 used for // TACLK UART baud generati...


System init

Started by bori...@hotmail.com in MSP43010 years ago 1 reply

Hi everybody ! I'm still trying to program a routine in asm to on one hand receive data from USART0 (UART) and send it to an external flash by...

Hi everybody ! I'm still trying to program a routine in asm to on one hand receive data from USART0 (UART) and send it to an external flash by SPI and on the other hand transmit data from the flash (sent to the MSP by SPI) using USART1 (UART) : (UART) (SPI) 1) Slave1 => µC => Flash (SPI) (UART) 2) Flash => µC => Slave2 This a routin


trouble working with UART on MSP430F149

Started by joebobbear in MSP43014 years ago 1 reply

Hello, I've just started with the MSP430 in the past month, and have found it great. I've just started the past couple of days to try and...

Hello, I've just started with the MSP430 in the past month, and have found it great. I've just started the past couple of days to try and send my data out via the UART to a serial port. The problem is that I'm getting different data than I send, along with Uart Receiver Errors and Uart Receiver Framing Errors. I am using mspgcc at the moment. Here is my code (hopefully the linebreak


UART - no signal on UTXD0

Started by hill_valley1979 in MSP43014 years ago 1 reply

Hello everyone, I am a beginner with the MSP430 and my first application is a communication between two MSP430s via UART. The first step I...

Hello everyone, I am a beginner with the MSP430 and my first application is a communication between two MSP430s via UART. The first step I wanted to do is to send a byte. I connected a oscilloscope to the UTXD0 pin but I can't see the byte, that should be transmitted. So, I'm not sure if I configured the UART in the right way, or if I have set all bits correctly at the right position. T


Flabbergasted!

Started by Anonymous in MSP43012 years ago 24 replies

I am attempting to get one of the KikStart UART examples to run on my EB. I am truly flabbergasted to see that I need to twiddle with the...

I am attempting to get one of the KikStart UART examples to run on my EB. I am truly flabbergasted to see that I need to twiddle with the timer and start/stop bits while transmitting a char! I this how one has to handle the UART or it some devilish way of TI getting back at me :) Needles to say that none of the examples have worked. Does any one have a good example op UART setup, Tx &


MSP430F427A UART pin stuck high

Started by ckuecker2000 in MSP4308 years ago 2 replies

Hello, Working with the MSP430F427A. I am using the USART in UART mode. When I go into LPM3, I am explicitly disabling the UART and other...

Hello, Working with the MSP430F427A. I am using the USART in UART mode. When I go into LPM3, I am explicitly disabling the UART and other active outputs to save power. P2.4, the UART TX data line, goes low when I run the code with the debugger, but in a stand-alone unit, this line stays at Vdd, which results in an unwanted power drain. THe unit goes into LPM3 when it senses loss of line pow...


Timer UART

Started by "paddu.koti" in MSP4309 years ago 10 replies

Hi, What is the maximum speed of Timer UART without using external crystal. Can i get a speed of 19200bps without any problem(just uisng DCO),...

Hi, What is the maximum speed of Timer UART without using external crystal. Can i get a speed of 19200bps without any problem(just uisng DCO), I have to use it for RS232 communication. And also what is the code size to implement a Timer UART. Thankyou ... ------------------------------------