EmbeddedRelated.com

Using the UART (MSP430F449)

Started by ponkilolly in MSP43022 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.


i2c interfering with UART

Started by shred445 in MSP43016 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 MSP43017 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 MSP43015 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 MSP43015 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 MSP43018 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 MSP43016 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 MSP43015 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 ------------------------------------


MSP430F1612 UART

Started by lam_isc in MSP43020 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 MSP43018 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 MSP43010 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 MSP43016 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...


trouble working with UART on MSP430F149

Started by joebobbear in MSP43021 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 MSP43022 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


MSP430F427A UART pin stuck high

Started by ckuecker2000 in MSP43015 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 MSP43016 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 ... ------------------------------------


MSP430F2011 - Timer UART?

Started by Milind Gupta in MSP43018 years ago 1 reply

Hello, I have been looking at the specifications of the MSP430F2011 controller. On the TI webpage it says that it has a Timer UART...

Hello, I have been looking at the specifications of the MSP430F2011 controller. On the TI webpage it says that it has a Timer UART interface. But I can't seem to find in the user guide, how I can use the Timer for the UART function? Can anybody help me with this a bit... Thanks. Regards, Milind


UART Initialization

Started by Glenn Richmond in MSP43022 years ago 11 replies

Hi everyone, I'm trying to set up the USART on my MSP430 as a UART... The initialization & putchar code is shown below. Hoever, after...

Hi everyone, I'm trying to set up the USART on my MSP430 as a UART... The initialization & putchar code is shown below. Hoever, after initializing the UART, the TX line is just held high... I thought this might be something to do with the order that I reset the SWRST bit, but i tried that, but still nothing happens on the TX line.. the ACLK is definately oscillating, as i've got a PWM o


MSP430F413 UART TX ONLY

Started by neptunetg in MSP43019 years ago 3 replies

Can anyone please help me? I'm having a rather difficult time implementing a UART Transmit at 9600 Baud. I have been trying to modify the...

Can anyone please help me? I'm having a rather difficult time implementing a UART Transmit at 9600 Baud. I have been trying to modify the APP NOTE that waits for a character to be received and then echos that character. I just want to write an ASCII character to the UART. I am using port 1.2 for my output and I don't know if thats complicating matters or not. Any code snippet woul


Small MSP430 with UART?

Started by merapcb in MSP43014 years ago 10 replies

Hi. I am looking for a small and cheap ($2-3) MSP with a single UART but all I can find seem to have just I2C/SPI (or I am not searching the TI...

Hi. I am looking for a small and cheap ($2-3) MSP with a single UART but all I can find seem to have just I2C/SPI (or I am not searching the TI site correctly). What would be a good choice? The requirements are very simple as follows: - Single UART (for serial comm) - 10 I/Os - Speed not important, no PWM/ADC/etc Of course, they need to be largely available on Farnell etc. and with samples...