please dont rip this site

Bus contention

Often in serial applications we find a chip with a Data In and a separate Data Out pin. Many times, the Data Out pin will not be driven at the same time that the Data In pin is expecting to receive data. It is therefore possible to connect the Data In pin to the Data Out pin and use only one I/O pin on the uP to handle both jobs. There is, however, always the possibility of a 'bus conflict'.

Byron A Jeff says:

A bus conflict occurs when the pin from the PIC driving Data In and the Data Out from the EEPROM are both active at the same time. It's even worse when one is set to high and the other to low because it causes a short which of course is very very bad for the circuit.

The solution is simple. Put a current limiting resistor on Data Out so that it cannot drive the bus at full current. Conflict resolved.

I believe the last time I did this I used either a 1K or a 2.2K resistor between Data Out and the PIC. Worked like a champ.

BTW this bus conflict is always a transient event because Data Out is usually tri-stated when not in use. So it's not like the PIC will have to suck down current all the time. The conflict only exist long enough for the PIC to finish sending the command to the EEPROM, then switching to input mode to read the results.

BTW this is the reason that you limit Data Out instead of the PIC pin because you don't want data from Data Out being presented to Data In while the PIC is still clocking in a command.

See also:


file: /Techref/io/contention.htm, 1KB, , updated: 2010/3/24 07:15, local time: 2017/10/19 19:15,
TOP NEW HELP FIND: 
54.81.178.153:LOG IN

 ©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/io/contention.htm"> Bus Contention</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171019 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .