CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

IO Expansion?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Will Reeve



Joined: 30 Oct 2003
Posts: 209
Location: Norfolk, England

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

IO Expansion?
PostPosted: Wed Apr 14, 2010 4:00 am     Reply with quote

I've always used the MCP23017 but end up adding a TVS diode and current limit resistor when the outputs / inputs are going off board. I was thinking if anyone knows of a expansion IC which has built in protection and also interfaces via I2C or SPI. A sort of world facing I/O IC. The MCP23017 data-sheets makes no mention of any clamp diodes internally (I assume there are otherwise they would be a little fragile).
Ttelmah



Joined: 11 Mar 2010
Posts: 19328

View user's profile Send private message

PostPosted: Wed Apr 14, 2010 4:59 am     Reply with quote

The pins on the MCP23017, are clamped exactly like those on a PIC. In the data sheet, +/-20mA.
However no normal 'IC', is really going to give you good protection if you are talking spikes from ESD etc.. The problem is that the physical structure used inside the IC, isn't capable of handling the sort of voltages involved. The 'best protected' IC's, are ones using much larger gate structures, designed specifically for this (things like RS232 drivers), but these have very low gate counts inside the chip, because of this....
Consider though, switching to using protection that is cheaper in bulk, like the TPD4E001 from Texas. These have a small SMD package, carrying four protectors in one package, and offering 8Kv contact protection, in a package that is probably smaller than a single TVS...
It is really down to you deciding the level of protection you need. For local connections inside a conduit, this sort of protection would be entirely adequate, but if the connections are going any significant distance, and you want reliability, you should consider alternatives like opto-coupling, or even fibre optics...

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group