I2C port expander - anyone recommend one?

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
sjalloq
Active Member
Posts: 55
Joined: Tue Jan 12, 2010 1:49 pm

I2C port expander - anyone recommend one?

Post by sjalloq »

Hey,

I'm looking for an I2C port expander that will allow me to drive some LEDs and also read a DIP switch for settings. Does anyone have any experience with these devices and can recommend me one? Or are they all the same and I should just pick the cheapest?

Cheers.


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

User avatar
octal
XCore Addict
Posts: 228
Joined: Thu Jan 27, 2011 3:30 pm
Location: Argenteuil - France

Post by octal »

Microchip has the MCP23017 with 16 I/O pins having programmable pullups, interrupts, each pin can be programmed separately as input or output...

if you want to use SPI instead of I2C, you can use MCP23S17, it has the same caracteristics but uses SPI.

They also have the same versions in 8 I/O version (if 16 I/O is too much for you), MCP23S08 (for SPI) and MCP23008 for I2C.

They introduced recently the MCP23S18/MCP23018 which are the sampe as the xx17 parts but they have more speed.