Proximity Capacitive Touch Sensor(MPR084) WIth S08 MCU IIC inreface? How to use?  Very Urgent?

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

Proximity Capacitive Touch Sensor(MPR084) WIth S08 MCU IIC inreface? How to use?  Very Urgent?

2,602 次查看
harlenChen
Contributor I
Hello,
I am using Freescalce Proximity sensor MRp084 with 9S08AW by IIC interface. According to the datasheet of MRP084 , But it can not communicate correctly?
Anyone can help me. And provide Source code of IIC interface between MCU and MRP084?
 
Best regards
 
Harlen
标签 (1)
0 项奖励
回复
2 回复数

679 次查看
rbuti
Contributor I

Hi, the comunication it's easy, use PE on CW to generate the IIC routine, use sendblock to write a command (2 bytes, register + value),remember to place the device address on PE configuration.

 

To receive, write a byte for register selection and get a byte readign the value.

 

If you like there is an example with code on EVB tools for MPR084, but in that case the IIC is done by software routine, not from HW periferal. You can get the procedure and value.

 

Roberto

0 项奖励
回复

679 次查看
elGuille
Contributor I
Hi
i have that problem too
could you solve the problem?
 
0 项奖励
回复