Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

SPI BUS and slave devices

Status
Not open for further replies.

pucca

Electrical
May 23, 2008
55
Hi guys,
I have a SPI bus with several slave devices, usb controller,
tranceiver and sensors. There is an independent slave select line for each slave.
If I am not wrong most devices must have tri-state outputs that become high impedance ("disconnected") when the device is not selected.
I have a sensor that has a SPI serial data output pin, and a SPI serial data input pin. These pins are not mentioned as tristated in the datasheet. Should I add external resistors or a diode to the spitxd line?
The sensor is the following:

Thanks!
 
Replies continue below

Recommended for you

I would place something like a Fairchild NC7SZ125 (three state buffer) in series with the SDO pin.

Benta.
 
The sensor has a CS pin. Do I stll have to add a buffer or a diode to the SPITXD line? When the CS of the sensor is not enabled why should I add the buffer to the spitxd line?It can't sent something as long the cs in not enabled...correct?
 
Huh? First you ask the question, then you don't like the answer?
The datasheet says the SDO pin is an _output_, not a _three-state-putut_

Benta.
 
Sorry but I got confused from itsmoked answer..I added the buffer...
 
How about if you contact Freescale to verify whether that pin is truly output-only? Or if you have a device in-hand, just try it and see?

Of course if this is a small quantity, then it may be better to just add the tri-state buffer and not worry about it.

Glenn
 
I have never seen a SPI solution (Freescale included) that drives the SDO when the CS is de-asserted. As pointed out previously, it would never work without external circuitry (which would add latency to the signal).
 
pucca; Skip the extra device. That SDO pin is absolutely Tri-stated when the part is not chip selected. Freescale is correcting the data sheet.

Keith Cress
kcress -
 
I have already added a bat54j schottky diode. So if there is a problem I guess that it will show..I'll have the board in about one week :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor