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 CCS Technical Support

expanding port using a SPI or I2C based IC

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







expanding port using a SPI or I2C based IC
PostPosted: Mon Aug 30, 2004 10:26 am     Reply with quote

Hi,

How can I expand the number of input ports using an I that uses I2C or SPI based communication, at present I am using 74151 multiplexer .

I require around 25 input ports.

cheers
arun
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Aug 30, 2004 10:31 am     Reply with quote

If you are asking about an I2C IO device, check out something like a Phillips PCA9554, PCA9555, PCA9556, PCA9557
Tom-H-PIC



Joined: 08 Sep 2003
Posts: 105
Location: New Castle, DE

View user's profile Send private message

PostPosted: Mon Aug 30, 2004 11:38 am     Reply with quote

Look at Microchips MCP23016
also TI makes a chip like this also.
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

Phillips Port Expander
PostPosted: Mon Aug 30, 2004 12:03 pm     Reply with quote

Here is some good info from Peter Anderson on an I2C port expander:

http://www.phanderson.com/printer/8574/8574.html

Here is another that includes CCS compatible code:

http://www.phanderson.com/PIC/PICC/CCS_PCM/8574_1.html
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