Solved! Go to Solution.
Hi,
In my opinion this is a harward issue, please add pull-up external resistors and check the signals with an oscilloscope.
Regards
Soledad
Hi,
Are you using an NXP board?
Could you please share the connections you are using?
Are you using external pull-up resistors?
Are you using LPCOpen?
Regards
Soledad
This code base has XPRESSO_BOARD compile time flags. So, previously we were probably using NXP board.
Connections.
No, we're not using external pull-up resistors on I2C port. But we're using internal pull-up resistors. Please review my settings of enabling and pulling up unused inputs on I2C port.
/* Enable selection of Pull Up / Pull Down on unused inputs */
b = mIOExtender.PuPdEnablePort0(0x02);
b = mIOExtender.PuPdEnablePort1(0x70);
/* Pull up unused inputs */
b = mIOExtender.PuPdSelectPort0(0xFF);
b = mIOExtender.PuPdSelectPort1(0xFF);
Yes, we're using LPCOpen because __USE_LPCOPEN is defined in our projects.
Regards,
Amer
Please note Port 0 bit 2 is correct value on SDA bus on One board but incorrect on different board.
Hi,
In my opinion this is a harward issue, please add pull-up external resistors and check the signals with an oscilloscope.
Regards
Soledad