SPI

Started by MongOsama July 5, 2006
Hi everybody!
Perhaps one of you can help me... I'm using an MSP430F417, It doesn't
has SPI interface. I'm trying to connect this with an EEProm AT25256.
How can i do that?

Thanks for all!

ignacio

Beginning Microcontrollers with the MSP430

----- Original Message -----
From: "MongOsama"
To:
Sent: Thursday, June 29, 2006 11:19 AM
Subject: [msp430] SPI
>
> Hi everybody!
> Perhaps one of you can help me... I'm using an MSP430F417, It doesn't
> has SPI interface. I'm trying to connect this with an EEProm AT25256.
> How can i do that?

Implement the SPI interface in software, it should be quite easy.

Leon
Bitbanging as a SPI master is easy to do.

(1) Set up 4 GPIO pins. One as output to enable the SPI slave, another one as output for Clock, a third one as output for Master-Out, and the forth one as Master-In.

(2) Set/Clear/Test these pins according to the SPI timing diagram to read/write to the SPI slave.

There may be examples in TI's MSP430 sample codes and application notes.

ongOsama wrote:

Hi everybody!
Perhaps one of you can help me... I'm using an MSP430F417, It doesn't
has SPI interface. I'm trying to connect this with an EEProm AT25256.
How can i do that?

Thanks for all!

ignacio

---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
Search for BITBANG in google! manipulate some pins to make this function...

Mak (Brazil/SP/ZN)
MongOsama wrote:

>
> Hi everybody!
> Perhaps one of you can help me... I'm using an MSP430F417, It doesn't
> has SPI interface. I'm trying to connect this with an EEProm AT25256.
> How can i do that?
>
> Thanks for all!
>
> ignacio
>
>