Dear Team,
I have a problem with one sensor on some boards, the behavior is not clearly reproducible. On some boards, the "device_get_binding("CCS811")" just delivers exit with fail and all goes on. On some boards it just hangs in init.
--- log ---
19 NRF_EGU1 Non-Secure OK
20 NRF_EGU2 Non-Secure OK
21 NRF_GPIOTE1 Non-Secure OK
SPM: NS image at 0xc000
SPM: NS MSP at 0x200245d0
SPM: NS reset vector at 0xf7a5
SPM: prepare to jump to Non-Secure image.
app > ccs811_init
app > ccs811_init > config wakeup
app > ccs811_init config reset
app > ccs811_init wakeup pin
app > ccs811_init > switch to app mode
app > switch_to_app_mode >
--- hangd here ---
My question is not relative to sensors, but to function call-flow, I would expect the init call to be time-limited (in case init takes too long -- just leave with fail). Especially when all the sensor init and i2c config is happening before the main func...
Is there any CONFIG_ settings I am missing? Or how should it be addressed?
The sensor is ccs811, configured on i2c and driver is taken from zaphyr's github.
Thank you and best regards
Oleh