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

interrupts on MCP23008

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



Joined: 25 Apr 2011
Posts: 296

View user's profile Send private message

interrupts on MCP23008
PostPosted: Mon Apr 16, 2012 1:42 pm     Reply with quote

Dear all, regarding the interrupts on MCP23008, do I need to make any pull-ups/pull-down resistors because interrupts are working only on power-up.

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Apr 16, 2012 5:00 pm     Reply with quote

The MCP23008 data sheet says this about the INT pin:
Quote:

INT: Interrupt output.
Can be configured for active-high, active-low or open-drain.

The characteristics of the INT pin are controlled by 2 bits in the IOCON
register in the MCP23008. The default settings are a push-pull output
driver (no pull-up required), and an "active low" interrupt signal (a negative pulse).
aaronik19



Joined: 25 Apr 2011
Posts: 296

View user's profile Send private message

PostPosted: Thu Apr 19, 2012 1:53 pm     Reply with quote

dear friends,

I am very sorry to write this but I am really depressed worked long hours to drive the MCP23008 but it was in vain

did someone has at least the driver to configure the MCP2008 as input and send an interrupt to the MCU through INT pin? I read the datasheet several times but still no results! This is not a software simulation but a breadboard simulation with real devices
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