EmbeddedRelated.com
Forums

UART in SPI Mode and MultiMediaCard (MMC) ?

Started by Unknown March 4, 2003
Hi,

i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i could not
find all ports.
The MMC has CS, DataIn, Clk and DataOut while the UART has SIM0, STE, SOMI and
SCLK.
It's clear that i have to take SCLK as Clk but what do i have to connect to
CS, DataIn and DataOut?

Best regards

Rolf Freitag



Beginning Microcontrollers with the MSP430

CS can be connected to any port pin (Chip Select). DataIn -> SIMO,
DataOut -> SOMI, Clk -> SCLK
B.Reg
Geir Atle


----- Original Message -----
From: <nobodyo@nobo...>
To: <msp430@msp4...>
Sent: Tuesday, March 04, 2003 6:16 PM
Subject: [msp430] UART in SPI Mode and MultiMediaCard (MMC) ?


> Hi,
>
> i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i could
not find all ports.
> The MMC has CS, DataIn, Clk and DataOut while the
UART has SIM0, STE, SOMI
and SCLK.
> It's clear that i have to take SCLK as Clk
but what do i have to connect
to CS, DataIn and DataOut?
>
> Best regards
>
> Rolf Freitag
>
>
>
>
> .
>
>
>
> ">http://docs.yahoo.com/info/terms/
>



"SIMO" (Slave In, Master Out) is data out and "SIMI" is
data in (with
respect to the processor). I don't know the specifics of the MMC but I
would bet that DataIn and DataOut are with respect to that card. If
this is the case, you would connect SIMO to DataIn and SIMI to DataOut.


STE is a bit more complex. It is the "Slave Transmit Enable" and is
NOT
the same as a chip select. You may need to implement the CS
independently (in software). 

Jim Wagner

--- nobodyo@nobo... wrote:
> Hi,
> 
> i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i
> could not find all ports.
> The MMC has CS, DataIn, Clk and DataOut while the UART has SIM0, STE,
> SOMI and SCLK.
> It's clear that i have to take SCLK as Clk but what do i have to
> connect to CS, DataIn and DataOut?
> 
> Best regards
> 
> Rolf Freitag
> 
> 
> 


__________________________________________________


Thanks.
I think i'll start with simple Ports (Px.y) and if it works i'll use
them as SPI Ports (with the SFR).


> "SIMO" (Slave In, Master Out) is data
out and "SIMI" is data in (with
>respect to the processor). I don't know the specifics of the MMC but I
>would bet that DataIn and DataOut are with respect to that card. If
>this is the case, you would connect SIMO to DataIn and SIMI to DataOut.
>
> STE is a bit more complex. It is the "Slave Transmit Enable" and
is NOT
>the same as a chip select. You may need to implement the CS
>independently (in software).
>
>Jim Wagner
>
>--- nobodyo@nobo... wrote:
>> Hi,
>>
>> i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i
>> could not find all ports.
>> The MMC has CS, DataIn, Clk and DataOut while the UART has SIM0, STE,
>> SOMI and SCLK.
>> It's clear that i have to take SCLK as Clk but what do i have to
>> connect to CS, DataIn and DataOut?