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

i use NCS1.5.0 debug nrf5340 ,a adc code cannot run to next two breakpoints

the code yesterday when debug can pop out voltage ,i do not chang anything today ,the code can not run the location ,i make three breakpoints in code and debug ,the code only run first point,and not run next breakpoints. ,so can not run to place  LOG_WRN("ADC read err %d", err);  and LOG_INF("Voltage%d: %u mV / %d", i, voltage, adc_buffer[i]);

may zephyr os switch out from  err = adc_read(adc_dev, &sequence); and do not run code LOG_WRN("ADC read err %d", err);  and LOG_INF("Voltage%d: %u mV / %d", i, voltage, adc_buffer[i]); followed 

Parents Reply Children
No Data
Related