Hi melanie,
the mcp is on portc.3 and 4 for SDA SCL, and thats it. All vss & vdd's are connected and address pins are all grounded.
I've seen those code samples and I inpired my code from them, but it doesn't want to work...grrrr. I don't get anything on the outputs of the MCP.
I really think it is more a clock issue, on the MCP, than an I2C problem. I've tested other I2C devices and they work, they do not need an external RC.
The datasheet says 33Pf and 3.9KOhms for a res and condo between clk pin of the mcp and VSS,VDD.
That should give a 1Mhz clock on test pin, but that clock is very unstable here, and i can't clean it out.
Regards





Bookmarks