LPS22 issue with nRF52-DK

Hi all,

I'm working with a pressure sensor (LPS22HBTR) and the nRF52-DK and I have some issues when sending data through BLE (nRF52832). When I run the program without BLE it works, but when I connect the nRF52 to a device (I don't even send data) the program crushes. The app (LightBlue) doesn't even tell me that the device is disconnected or something like that.

I have attached the code related to this part of the program.

I'm not sure what's the problem, I need help with this. Any other idea or another way of doing this?

Parents Reply Children