Search found 2 matches

by g2dag
Thu May 07, 2009 1:32 am
Forum: General Remark and Questions
Topic: dsPIC & MCP23017 using I2C
Replies: 5
Views: 5647

Re: dsPIC & MCP23017 using I2C

Hi, thanks for the reply. I had already verified that it was running by flashing an LED as you suggested, so it isn't getting stuck. I ended up importing the project in to MPLAB so that I could debug a little more in detail. I noticed the timeout variable "slowDown" in several places, and so I turne...
by g2dag
Wed May 06, 2009 4:33 am
Forum: General Remark and Questions
Topic: dsPIC & MCP23017 using I2C
Replies: 5
Views: 5647

Re: dsPIC & MCP23017 using I2C

Hi Lubin, I am trying to interface with a similar device as stefano that uses the same I2C protocol - it is a 3 axis accelerometer LIS3LV02DQ. I wrote a very simple test program but I've had no success so far. You mentioned in your response that it helps to use an oscilloscope to troubleshoot, so I'...