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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,413 Views
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
Labels (1)
0 Kudos
2 Replies

490 Views
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 Kudos

490 Views
elGuille
Contributor I
Hi
i have that problem too
could you solve the problem?
 
0 Kudos