cancel
Showing results for 
Search instead for 
Did you mean: 

LPS22HB SPI interface

LMatt.4
Associate

Hi

Has nobody used the sensor using SPI interface? I have a power up issue, if CS is left floating till processor drive it to zero it seems device start as i2C and micro Dout is shorted to ground.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

Welcome, @Community member​, to the community!

If you control the LPS22HB via SPI, you should fix CS to GND in your special case via a pull-down of e.g. 10k, so that CS cannot float.

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.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

Welcome, @Community member​, to the community!

If you control the LPS22HB via SPI, you should fix CS to GND in your special case via a pull-down of e.g. 10k, so that CS cannot float.

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.
LMatt.4
Associate

Hi Peter

Thanks for your replay, this fix the problem.

Regards

Great!

If the problem is solved, please mark this thread as answered by selecting Select as best, as also explained here. This will help other users find that answer faster.

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.