Need Program Support in I2C protocol with TCS34725 Color Sensor using LPC1765

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

Need Program Support in I2C protocol with TCS34725 Color Sensor using LPC1765

1,014 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by samson.p on Fri Nov 08 02:00:59 MST 2013
Dear All,

Am using LPC1765 Controller to communicate with TCS 34725 Color Sensor.

By using the attached sample program i have written program to communicate with sensor.

The sensor is responding with acknowledge 0x44 when i read DEVICE ID(0xB2).(We are checking the data in Oscilloscope)

But, when i started to read Data addresses(0xB4-0xBB) iam getting a junk data as 0x80 or 0x81.

I would like to first initilize the sensor by enabling, AEN,PON,WEN,and also giving the values for WTIME,ATIME.

Kindly support me how to initialize the sensor and how to read the data registers.  

Regards,
Samson

Original Attachment has been moved to: I2CSensor.rar

标签 (1)
0 项奖励
回复
0 回复数