Page 1 of 1

LM75b component commands question

Posted: Fri May 29, 2020 10:04 am
by viktor_au
When I use the CAL i2c component to represent the LM75b the program works OK.
1. Start i2c Master
2. Tx the data (as byte) to address 146
3. If ack = 0 (OK)
4. Tx the data (as byte) to address 0
5. Restart i2c master
6. Tx the data (as byte) to address 147
7. Rx MSB as byte 0
8. Rx LSB as byte 1
9. Stop i2c Master
10. work with MSB and LSB
-------------------------------------------------
When I use the FC8 LM75b component do I have to Tx first and only after try to Rx the data?