hello everyone.
Currently i am working on S5D9-pk development board. I am trying to integrate Pressure Sensor (Link for Sensor data sheet: - https://sensing.honeywell.com/i2c-comms-digital-output-pressure-sensors-tn-008201-3-en-final-30may12.pdf)
To get the Sensor Data via I2C communication protocol following steps to be followed,
1> the master generates a START condition.
2> and sends the sensor slave address followed by a read bit (shown in Figure 2).
3> After the sensor generates an acknowledge, it will transmit up to 4 bytes of data. The master must acknowledge the receipt of each byte.
4> terminate the communication by sending a Not Acknowledge (NACK) bit followed by a stop bit after receiving both bytes of data.
The Above figure depicts the Packet read-outs.
I have imported the ‘I2C Master on RIIC HAL’ module in My application, which provides the open(), close(), setSlaveID(), reset(), close(). By using these api’s how can I achieve following sequence mentioned above?
Also, Sensor needs 5v supply for its operation. I have given only 5v for Vdd but SCL, SDA pin level is 3.3v only, in this case do communication is possible?
Thanks,
Mohd Habeeb ur rehman