OpenLPC LPC1769 I2C 24C04 reads only 0xFF

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

OpenLPC LPC1769 I2C 24C04 reads only 0xFF

634 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dandumit on Mon Sep 21 06:48:34 MST 2015
Hello All,
I have connected an 24C04 to LPC1769.
Most of code it's in fact from thread : https://www.lpcware.com/content/forum/simple-example-lpcopen-i2c

It's fairly simple.

One big issue : it reads only 0xFF.

I have tried to add delays or other things but no success.
Any hints are wellcome !

DAniel
0 项奖励
回复
2 回复数

592 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dandumit on Mon Sep 21 07:42:38 MST 2015
You are a Saint !!
Having at hand only : Chip_I2C_MasterSend and Chip_I2C_MasterRead my mind was confused about eeprom reading !
Your post was very explanatory ! More than code explanation provided by NXP.
0 项奖励
回复

592 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Sep 21 07:18:21 MST 2015

Quote: dandumit
Any hints are wellcome !



Read:

https://www.lpcware.com/content/forum/lpc1769-i2c-not-working

Especially #10  ;-)
0 项奖励
回复