Reply by Rachel Adamec●September 15, 20052005-09-15
>From: kenneth_kearney <kenneth_kearney@kenn...>
>Subject: [msp430] MSP430F427 SPI and UART
>I am using the MSP430F427 and what I want to do is
to use both the
>UART serial port and the SPI port at the same time. Because they are
>on different pins, I am assuming that this is possible and that I can
>transmit and receive on both at the same time as with other TI devices.
>
>Is this possible and how do I do it?
Ken,
While the external pins are separate, the internal hardware is shared. From the
slau056e.pdf (MSP430x4xx User's Guide):
>"The universal synchronous/asynchronous
>receive/transmit (USART) peripheral interface
>supports two serial modes with one hardware module."
The clue is the "one hardware module". A module can only do one thing
at a time.
You could choose to do both if would give up the "at the same time"
condition. If you do need them both at the same time, look into a different
part:
>"In addition to USART0, the MSP430x44x devices
>implement a second identical USART module, USART1."
so a 430F44x part should be able to do what you want.
Hope that helps,
Rachel Adamec
Norristown, PA, USA
Reply by kenneth_kearney●September 15, 20052005-09-15
I am using the MSP430F427 and what I want to do is to use both the
UART serial port and the SPI port at the same time. Because they are
on different pins, I am assuming that this is possible and that I can
transmit and receive on both at the same time as with other TI devices.
Is this possible and how do I do it?
Ken