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

Troubleshooting of MCP23S08

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







Troubleshooting of MCP23S08
PostPosted: Thu Apr 19, 2007 12:57 am     Reply with quote

I got some problems of expander MCP23S08:
Two input signals at IO_0 and IO_1, waht i desired is negtive edge of IO_0 siganl or toggled IO_1 signal will triggle the INT, however, IO_0 will make the INT get low, but it won't nolonger rise even i've read the register INTCAP and GPIO that is supposed to be able to clear the INT signal.

This is the register configuration of MCP23S08:

0x28 ---> IOCON
0x03 ---> GPPU
0x03 ---> IODIR
0xfc ---> IPOL
0x03 ---> GPINTEN
0x01 ---> DEFVAL
0x01 ---> INTCON
fifodct
Guest







PostPosted: Thu Apr 19, 2007 4:17 pm     Reply with quote

Does anybody have some working code of MCP23S08?
Who can help me.....
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