ICP-20100 I2C Only Returns Zeros

By michaelvethvet… , 3 October 2023

We are evaluating an ICP-20100 connected to an STM32 via I2C. The I2C clock speed is 100kHz.

The ICP-20100 will only return zero values in response to read requests. For example, reading address 0x0c (DEVICE_ID) returns 0x00 when it should return 0x63. All other read requests return zero as well.

The I2C bus appears to be operating properly as we have other sensors on that bus which work correctly. In addition, we have observed the SDA/SCL signals on an oscilloscope and the ICP-20100 is responding with ACK signals as expected, but all data values are zero.

Thank you for any help you can provide.

mustafayildiri…

2 years 5 months ago

Hi,

Did you check out the section 5.4 and 6.5 of the datasheet?

https://invensense.tdk.com/products/smartpressure/icp-20100/

phpbb Post ID
45265

michaelvethvet…

2 years 4 months ago

Thank you for the response.

Yes, we have implemented the ASIC identification step and the device boot sequence outlined in 5.4 and 6.5.

As I mentioned in the previous post, the sensor is returning 0x00 when querying regMap.device_id. Is this expected? Are we required to successfully complete the boot sequence for even the regMap.device_id to return a proper response?

phpbb Post ID
45297

djy412hotmailcom

2 years 4 months ago

I'm having the exact same problem, the ICP-20100 will only return zeros.

1) I toggle the clock 3 times to initialize the i2c per the data sheet.
2) Then I check regMap.version and get 0x00...ok that tells me I have version A.
3) I check status2.boot and get 0x00...
4) per the data sheet I write a 1 to mode_select.pwer_mode and wait 4ms
5) Then I unlock the Master_lock.lock with 0x1f
6) etc. ect through all to step 12 reading the offset from RDATA.value...which is still zero.

I can post my code, but I'm wondering if there is a mistake somewhere in the 25 step bootup process on pages 31-33 of the data sheet

phpbb Post ID
45298

jmichaelhoward…

2 years 4 months ago

Are there any updates here? @MOD_Mustafa... Thanks!

phpbb Post ID
45345

jmichaelhoward…

2 years 4 months ago

@MOD_Mustafa, just checking to see if you check this forum or not... Thanks! Any additional help would be appreciated as we are interested in launching this within a product.

phpbb Post ID
45355

mustafayildiri…

2 years 4 months ago

Hi all,

Please read section 4 of the datasheet, especially 4.1.3 if you are using I2C Data Protocol.

phpbb Post ID
45360

jmichaelhoward…

2 years 3 months ago

That doesn't appear to be the issue, as the communication is working it is simply returning 0s.

phpbb Post ID
45379

mustafayildiri…

2 years 2 months ago

Hi,

Try to use logic analyzer and capture the waveform. That might help to point out what's going wrong.

phpbb Post ID
45463
phpbb Topic ID
45249