LPS22HH communication failed
In the case of power on, sometimes, the controller failed commnunication with LPS22HH.
The controller side accesses LPS22HH in the following order of processing;
1 power on
2 wait INT_SOURCE (@24h) BOOT_ON = 0
3 Set the BOOT bit of the CTRL_REG2(@11h) register to 1
4 wait INT_SOURCE (@24h) BOOT_ON = 0
5 Set the SWRESET bit of the CTRL_REG2(@11h) register to 1
6 wait SWRESET bit of the CTRL_REG2(@11h) register returns to 0
7 write ONE_SHOT order CTRL_REG2(@11h) ONE_SHOT = 1
8 wait CTRL_REG2(@11h) ONE_SHOT = 0
9 wait STATUS(@27h) T_DA and P_DA = 1
10 read press and temp
When this process is followed, communication sometimes fails and sometimes succeeds.
Does anyone know how to solve this problem???
