Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using GPIO Pin As SI & SO for SPI interface?

Status
Not open for further replies.

qville_usm

Newbie level 1
Joined
Feb 8, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
Hi...

I currently do a design using Fujitsu MB91F467 Microcontroller. Right after PCB fab, i found out that the connection for SO & SI pin to SPI EEPROM not according to hardware SPI standard. I've been thinking if i could posibly use the port function as standard GPIO for SPI purpose. The CS & SCK pin is correctly connected. Is anybody know about this? Or any related material suited my need now.

Thx in advance for looking at my problem.

Arigato..
 

Indeed you may use GPIO to make a spi interface. The problem is that if you don't use hardware support it will be a bit slower and will keep the processor busy. The microcontroler will have to control all signals as GPIO (CE, SCL, and MOSI and read MISO).
 
  • Like
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
I don't think it is possible to use the hardware SPI clock and custom MISO/MOSI data lines because you can't synchronize the clock with the data.
You have to do it either completely in hardware level for all lines (clock, DI, DO) or use custom pins (GPIO user controlled) for all three signals, a custom clock pin and turn it high/low synchronized with the data in your custom DI/DO pins

Alex
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top