DA14585 BLE is connected to accelerometer LIS2DH12 sharing the SPI lines with external flash memory AT25XE011. There are two issues I am facing.
1) When all devices are connected to the 3.2V power supply rail, LIS2DH12 pulls down the power supply to ~1.6V. When the power supply to LIS2DH12 is disconnected, the rest of the board get the power supply of 3.2V. Why LIS2DH12 causing this effect?
2) Even when the supply voltage of LIS2DH12 is removed, LIS2DH12 is pulling down the shared SPI lines SD0/SA0 and SPC. I read in another question at this site about changing the register value CTRL_REG0 (1Eh) to disable the internal pull-up at SA0/SD0. Is it possible to prevent this happening at the power up stage?