How to interface LP22HB in SPI?
I'm using with cubemx the additional sotfware X-CUBE_MEMS1 with Terminal data logger and chose the mems LP22HB on a nucleo F401RE.
When I do it in I2C it's working fine.
No I configure the LP22HB in SPI with CS on GND. And connect for SPI. I configurate the SPI1 with pull-up on SCL,Clock Polarity HIGH,Clock phase 2 Edge, prescaler 32.
But no communication!
I see the clock at the beggining but nothing on MOSI or MISO on a scope.
I join the project!
Can you help me
