I2C port expander - anyone recommend one?

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
sjalloq
Active Member
Posts: 55
Joined: Tue Jan 12, 2010 1:49 pm

I2C port expander - anyone recommend one?

Postby sjalloq » Thu Aug 05, 2010 11:17 pm

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

Postby Bianco » Fri Aug 06, 2010 12:37 pm

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

Postby octal » Sat Jan 29, 2011 4:28 pm

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.

Who is online

Users browsing this forum: No registered users and 2 guests