Skip to main content
PDegt.1
Associate II
Dec 7, 2020 1:39 AM UTC
Solved

STEVAL-MKI209V1 board question

Hi,

I'm trying to evaluate IIS2ICLX sensor with this board connecting to a 3rd party MCU board, what's the best way to connect it via I2C?

I see on MKI209V1 schematics there are 2 pull up resistors already on SDA/SCL, which supposed to be connected to VDDIO (as per IIS2ICLX docs), but where are the contacts for SDA/SCL to connect to 3rd party MCU board? An example connection would be appreciated.

Thanks.

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Dec 10, 2020 7:25 AM UTC

As you probably know, I2C always needs pull-up resistors because the participants control the bus via open drain outputs.

You didn't mention the type of the 3rd party board yet, so no one knows if it already offers pull-ups.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

5 replies

Peter BENSCH
ST Technical Moderator
Dec 7, 2020 8:42 AM UTC

You've probably confused the SDx/SCx lines with the SDA/SCL lines.

In mode 2, SDx/SCx belong to the sensor hub, which provides an I2C master for additional external sensors. These are the ones with R1/R2 pull-ups.

The connection to the host is made via SDA/SCL, which are accessible via serial resistors of 33 ohms at J1.4 / J1.6.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
PDegt.1
PDegt.1Author
Associate II
Dec 8, 2020 11:48 PM UTC

Could you help with a formula for tilt calculation for this sensor? I use arctan(X/Y) and readings I get don't make any sense.

Peter BENSCH
ST Technical Moderator
Dec 9, 2020 7:13 AM UTC

Please be so kind as to open a new thread with this new question as the original question appears to have been answered.

Uh, and please don't forget to close this one by choosing Select as Best.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
PDegt.1
PDegt.1Author
Associate II
Dec 9, 2020 3:58 PM UTC

Actually my confusion still persists - even though I'm able to read sensor's data directly from SDA/SLC lines without external pull-ups, STM docs clearly states that I have to use the pull-up resistors for I2C, page 14. So may be you could provide further clarification, or update your docs?

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Dec 10, 2020 7:25 AM UTC

As you probably know, I2C always needs pull-up resistors because the participants control the bus via open drain outputs.

You didn't mention the type of the 3rd party board yet, so no one knows if it already offers pull-ups.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.