EmbeddedRelated.com
Forums
Memfault Beyond the Launch

MSP430F427 Software Serial Port

Started by kenneth_kearney September 19, 2005
I asked the question last week about having an SPI and a UART port on
the MSP430F427 and the answer I received was that there was only 1
hardware function to support either but not both.

What I would like to do in that case is to implement a software UART
port with a hardware SPI port. I found application note SLAA078A that
details how to implement it using assembler but I'm wondering if
anybody has a C implementation. What I want to do is to transmit data
using the TX pin, not necessarily using the RX pin.

Thanks, 

Ken




Beginning Microcontrollers with the MSP430

Ken

Look at TI's site for Code Examples, they have both C
and ASM.
http://focus.ti.com/mcu/docs/generalcontent.tsp?familyId42&templateIdR46&navigationId477&path=templatedata/cm/mcugen/data/msp430_desres_code

HTH
Jay

--- kenneth_kearney <kenneth_kearney@kenn...>
wrote:

> I asked the question last week about having an SPI
> and a UART port on
> the MSP430F427 and the answer I received was that
> there was only 1
> hardware function to support either but not both.
> 
> What I would like to do in that case is to implement
> a software UART
> port with a hardware SPI port. I found application
> note SLAA078A that
> details how to implement it using assembler but I'm
> wondering if
> anybody has a C implementation. What I want to do is
> to transmit data
> using the TX pin, not necessarily using the RX pin.
> 
> Thanks, 
> 
> Ken
> 
> 
> 
> 


__________________________________________________
 


Memfault Beyond the Launch