EmbeddedRelated.com
Forums

UART and ez430F2013

Started by horned_cow September 13, 2007
First of all, a little preface -
I am trying to develop a program that will read data from a car's
computer (I have a RS232 compat. scan tool), format the received data,
and then output the formatted data to a LCD display (Also RS 232). A
friend recommended the 2013 as a good platform.

However, after doing some research it seems that the 2013 does not
support UART in the same way as the others on the MSP430 platform? Is
this correct?

The only UART example I have found is the msp430x20x3_ta_uart2400.c
from TI - however I cannot seem to trigger the RX byte through another
COM port and HyperTerminal. And the other 430 examples compile fine
but do not work either as they have different UART registers than the
2013.

I can communicate with the LCD via I2C or Dallas one wire (no
experience yet with either of those protocols) but the scan tool can
only communicate over RS 232. Is it going to be a hassle to get the
2013 to do this or would I be better off starting with a more equipped
platform?

Thanks
Bill

Beginning Microcontrollers with the MSP430

----- Original Message -----
From: "horned_cow"
To:
Sent: Thursday, September 06, 2007 5:57 PM
Subject: [msp430] UART and ez430F2013
> First of all, a little preface -
> I am trying to develop a program that will read data from a car's
> computer (I have a RS232 compat. scan tool), format the received data,
> and then output the formatted data to a LCD display (Also RS 232). A
> friend recommended the 2013 as a good platform.
>
> However, after doing some research it seems that the 2013 does not
> support UART in the same way as the others on the MSP430 platform? Is
> this correct?
>
> The only UART example I have found is the msp430x20x3_ta_uart2400.c
> from TI - however I cannot seem to trigger the RX byte through another
> COM port and HyperTerminal. And the other 430 examples compile fine
> but do not work either as they have different UART registers than the
> 2013.
>
> I can communicate with the LCD via I2C or Dallas one wire (no
> experience yet with either of those protocols) but the scan tool can
> only communicate over RS 232. Is it going to be a hassle to get the
> 2013 to do this or would I be better off starting with a more equipped
> platform?

You might be better off using a device with a hardware UART.

Leon
horned_cow schrieb:
> First of all, a little preface -
> I am trying to develop a program that will read data from a car's
> computer (I have a RS232 compat. scan tool), format the received data,
> and then output the formatted data to a LCD display (Also RS 232). A
> friend recommended the 2013 as a good platform.
>
> However, after doing some research it seems that the 2013 does not
> support UART in the same way as the others on the MSP430 platform? Is
> this correct?
>
> The only UART example I have found is the msp430x20x3_ta_uart2400.c
> from TI - however I cannot seem to trigger the RX byte through another
> COM port and HyperTerminal. And the other 430 examples compile fine
> but do not work either as they have different UART registers than the
> 2013.
>
> I can communicate with the LCD via I2C or Dallas one wire (no
> experience yet with either of those protocols) but the scan tool can
> only communicate over RS 232. Is it going to be a hassle to get the
> 2013 to do this or would I be better off starting with a more equipped
> platform?
>
Hi Bill,

2013 does not have an UART. The software-UART does work pretty well with
2.4kbps (do not use this f...abulous HyperTerminal, it sucks) but you
must use external cristal oscillator of 32768Hz, which tuns the
processor into snail. I did not managed to get it up-and-running with
internal clock. You can reach some 20kbps using cristal oscillator
around 400kHz and the processor speed will be fair in that case.

Waldemar