This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SOFTDEVICE:INVALID MEMROY ACCESS, the softdevice has conflicts with the temperature sensor on-chip??

Hi, all.

I'm in trouble in solving a question when i learned NRF52832 recentlly.(SD s132, V5.0, SDK15.0)

I want to read the temperature data from the sensor on-chip and send it to my phone by bluetooth.

But once the code ran to "temp_read" function, the code would ran to "__WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)",and then got stuck in

"NRF_BREAKPOINT_COND".

What interesting is, everything was ok when i annotated the code which related to "temperature".So i wonder if  i forgot to set  something so that there're some conflicts between softdevice and "temperature_read" moudle?

I totally got crazy about this, if anyone have suggestions?Please help me

thanks a lot

Related