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.

[SOLVED] Interfacing 89C52 with 23s17

Status
Not open for further replies.

Rajarajan2809

Newbie level 2
Newbie level 2
Joined
Jan 7, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Is it possible to interface 89C52 with 23s17 (port Expander), If it is possible means whether interfacing through TXD and RXD is good or using General purpose Port pins for SPI
 

You can't use UART for SPI. A software SPI, using any 4 available port pins will work. Using an I2C port expander could reduce the pin count to 2, but needs slightly complexer software.
 

    V

    Points: 2
    Helpful Answer Positive Rating
Thanks...can u explain about SPI using 4 port pins
 

Pins are SCK, SDO(MOSI), SDI(MISO) and chip select (SS). All signals are generated by software (so called bit-banging). There are plenty of examples on the internet.
 
  • Like
Reactions: Rajarajan2809

    V

    Points: 2
    Helpful Answer Positive Rating

    Rajarajan2809

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top