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.

How to interface both SPI and I2C at the same time with PIC

Status
Not open for further replies.

engr.waqas

Full Member level 3
Joined
Jul 21, 2009
Messages
172
Helped
13
Reputation
26
Reaction score
10
Trophy points
1,298
Location
karachi,Pakistan
Activity points
2,342
I want to attach two devices with PIC18F452 microcontroller,one device runs on SPI while other on I2C.
How can attach both of them since PIC18F452 has only one MSSP module.
if i use multiplexer then they do not conduct in both directions.
what to do?
 

use software to emulate i2c routines on two other pins and keep the spi on the mssp module. quite easy to do, you can find source code on the net.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top