Question
LPS22HB Help
Posted on March 25, 2016 at 14:51
I am working with the LPS22HB pressure sensor and I cannot get a response from it. I have ctrl_reg1 set as 01000000, ctrl reg 2 set as 00011000, and everything else as default.
I am using a 1MHz SPI clock and a CS pin (low - active). I then write to the pressure_XL register and retrieve the first byte then consecutively retrieve the L and H bytes using the iterative data collecting (ctrl_reg2 enabled).i am operating at 2.5V and am correctly sending the right bytes (measured the outputs of my microcontroller)Why am I getting no response?