Forums

Newbie Question

Started by Timothy Faber August 22, 2003
I just got pushed into a project with the MSP430 and have no background
with the chip...wondering if anyone could point me in the right direction.  I
have the Olimex board and have managed to make it through the assembler and
CSpy...what I'm a little lost on, though, is when the chip is written to...does
CSPY handle that or are there separate steps involved in doing so.  I'm at a
stage where I want to play around with the A/D converter to see if I could get
some data...I thought I would use the internal diode input for the converter but
wasnt sure...anyways, any input would be greatly appreciated!  Also, are there
any external components needed for the Olimex board or can is the JTAG the only
connection I need?  Completely lost....
 
Thanks again,
Tim


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software





Beginning Microcontrollers with the MSP430

I recently purchased the EasyWeb from Olimex, very cool piece of 
hardware. But I have a question for MSP430 in general. 

Can anybody direct me or provide a simple desctiption of how to add 2-
3 UART to the MSP430?

Currently the EasyWeb has 1 RS-232, DB-9, But I would like to add a 
total of 3. Would I have to create a bus to to this or can i add a 
Maxim MAX212 chip?

Thanks in advance.

Jay C


The larger MSP430's have 2 hardware UARTs. By following the application 
notes on the Ti web site you can easily create a software UART on Timer 
B. In fact you can create 3 UARTs on Timer B if you wish, giving a total 
of 5.

Al

Jay C wrote:
> I recently purchased the EasyWeb from Olimex, very cool piece of 
> hardware. But I have a question for MSP430 in general. 
> 
> Can anybody direct me or provide a simple desctiption of how to add 2-
> 3 UART to the MSP430?
> 
> Currently the EasyWeb has 1 RS-232, DB-9, But I would like to add a 
> total of 3. Would I have to create a bus to to this or can i add a 
> Maxim MAX212 chip?
> 
> Thanks in advance.
> 
> Jay C
> 
> 
> .
> 
>  
> 
>  
> 
> 
> 


Timer A (on the F14X devices) is the one with the SCCI
bit register that is used to implement the extra UART
channels.  Timer A has 3 channels each of which can be
used to provide a UART channel.  If you require full
duplex operattion on the UART port then this takes up
two of the timer channels.  Half duplex systems such
as MODBUS or HART protocols only require one timer
channel as it can be switched from timing transmit to
timing the receive data.

Remember that using the timer to provide UART
functions can cause a high processor load as you will
get one processor interrupt per bit rather than the
one interrupt per byte received on the hardware USART.

Ian

 --- onestone <onestone@ones...> wrote: > The
larger MSP430's have 2 hardware UARTs. By
> following the application 
> notes on the Ti web site you can easily create a
> software UART on Timer 
> B. In fact you can create 3 UARTs on Timer B if you
> wish, giving a total 
> of 5.
> 
> Al
> 
> Jay C wrote:
> > I recently purchased the EasyWeb from Olimex, very
> cool piece of 
> > hardware. But I have a question for MSP430 in
> general. 
> > 
> > Can anybody direct me or provide a simple
> desctiption of how to add 2-
> > 3 UART to the MSP430?
> > 
> > Currently the EasyWeb has 1 RS-232, DB-9, But I
> would like to add a 
> > total of 3. Would I have to create a bus to to
> this or can i add a 
> > Maxim MAX212 chip?
> > 
> > Thanks in advance.
> > 
> > Jay C
> > 
> > 
> > .
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> 
> 
> .
> 
>  
> 
>  
> 
>  

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

Whoops, brain fade! Of course it's Timer A. However the processor 
overhead may increase considerably it isn't too dramatic. The main use I 
have for 11xx devices is as three port serial hubs, bringing in a 
wireless and a hard wired comm line into the PC serial port. Works like 
a charm and still handles a reasonable amount of local processing.

Al

Ian Okey wrote:

> Timer A (on the F14X devices) is the one with the
SCCI
> bit register that is used to implement the extra UART
> channels.  Timer A has 3 channels each of which can be
> used to provide a UART channel.  If you require full
> duplex operattion on the UART port then this takes up
> two of the timer channels.  Half duplex systems such
> as MODBUS or HART protocols only require one timer
> channel as it can be switched from timing transmit to
> timing the receive data.
> 
> Remember that using the timer to provide UART
> functions can cause a high processor load as you will
> get one processor interrupt per bit rather than the
> one interrupt per byte received on the hardware USART.
> 
> Ian
> 
>  --- onestone <onestone@ones...> wrote: > The
> larger MSP430's have 2 hardware UARTs. By
> 
>>following the application 
>>notes on the Ti web site you can easily create a
>>software UART on Timer 
>>B. In fact you can create 3 UARTs on Timer B if you
>>wish, giving a total 
>>of 5.
>>
>>Al
>>
>>Jay C wrote:
>>
>>>I recently purchased the EasyWeb from Olimex, very
>>
>>cool piece of 
>>
>>>hardware. But I have a question for MSP430 in
>>
>>general. 
>>
>>>Can anybody direct me or provide a simple
>>
>>desctiption of how to add 2-
>>
>>>3 UART to the MSP430?
>>>
>>>Currently the EasyWeb has 1 RS-232, DB-9, But I
>>
>>would like to add a 
>>
>>>total of 3. Would I have to create a bus to to
>>
>>this or can i add a 
>>
>>>Maxim MAX212 chip?
>>>
>>>Thanks in advance.
>>>
>>>Jay C
>>>
>>>
>>>.
>>>
>>> 
>>>
>>> 
>>>
>>>
>>>
>>
>>
>>.
>>
>> 
>>
>> 
>>
>> 
> 
> 
> ________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping" 
> your friends today! Download Messenger Now 
> http://uk.messenger.yahoo.com/download/index.html
> 
> .
> 
>  
> 
> 
>  
> 
> 
>