Closed pcotegithub closed 5 years ago
Closed by myself
Found the problem. It is an 8 bit I2C address that needs to be changed to a 7 bit address. Therefore the EE (write address) and EF (read address) are changed to a single 7bit I2C address of 76 hex.
See https://www.totalphase.com/support/articles/200349176-7-bit-8-bit-and-10-bit-I2C-Slave-Addressing
Hello I cannot send a RESET command to the module, this should be simple.
I have tried module swap (got 3) and nothing changed. Other I2C module such as BME280 works. Checked all the voltages and they are OK. This is the code (extracts) and error message
// Parallax Device I2C MS5607 I2C address public static final int MS5607_WRITE_ADDR = 0xEE; public static final int MS5607_READ_ADDR = 0xEF;
// Parallax Device I2C MS5607 chip commands public static final byte MS5607_CMD_RESET = (byte) 0x1E; // ADC reset command
try {
The output at runtime:
MS-5607 attempt RESET 2018-09-18 20:18:23 --> Unable to reset MS5607 device
--> Invalid argument
I am unable to find what is wrong. The PI4J documentation indicates void return and byte as a parameter.
Any idea??