Re: ADXL372 sensor test fail

2020-12-17 Thread Bob Feretich
nsor error ouput, warning output, etc. Please advise me. Best Regards, Marlar *From:* Alan Carvalho de Assis *Sent:* Friday, December 11, 2020 7:07 PM *To:* dev@nuttx.apache.org *Cc:* Shee Cheng Yap *Subject:* Re: ADXL372 sens

Re: ADXL372 sensor test fail

2020-12-17 Thread Marlar Chan
Regards, Marlar From: Alan Carvalho de Assis Sent: Friday, December 11, 2020 7:07 PM To: dev@nuttx.apache.org Cc: Shee Cheng Yap Subject: Re: ADXL372 sensor test fail You need to enable the Sensors debug to see these sensor's messages: $ make menuconfig Build Setu

Re: ADXL372 sensor test fail

2020-12-11 Thread Alan Carvalho de Assis
You need to enable the Sensors debug to see these sensor's messages: $ make menuconfig Build Setup ---> Debug Options ---> [*] Enable Debug Features [*] Enable Error Output [*] Enable Warnings Output [*] Enable Informational Debug Output [*] Sensor Debug Features [*] Sensor

Re: ADXL372 sensor test fail

2020-12-10 Thread Xiang Xiao
nuttx/include/errno.h define ENODEV to 19: #define ENODEV 19 and nuttx/drivers/sensors/adxl372.c return ENODEV if id mismatch: static int adxl372_dvr_open(FAR void *instance_handle, int32_t arg) { /* Read the ID registers */ pnpid = adxl372_read_id(priv); priv->readonly = false

ADXL372 sensor test fail

2020-12-10 Thread Marlar Chan
Dear Nuttx, I'm testing with stm32f429-disco with adxl372 sensor. I tried to run sample demo adxl372_test. Device id is seen on /dev. But sensor cannot start run and i face with the following issue. Please suggest me any idea what is wrong with it. [cid:8a35bb4c-af2d-4429-bf1a-ba83816d1ac9] B