Hello sir,
I want to read multiple sensor inputs using DA14531 but I am unable to to do it. Currently I can read only 1 sensor data. Please help me with it
We have not implemented ADC interrupt. We have just configured it to read the raw data from the voltage sensing sensor. I will go through the documentation and come back.
Hi Satakshi,Thank you for posting your question online.Could you please share more details? What communication protocol does your sensor use? Are you trying multiple SPI/I2C/Analog sensors?Can you share their implementation?Kind Regards,OV_Renesas
We have 2 voltage sensing sensors and we need 2 ADC GPIO pins to configure and use simultaneously.
Hi Satakshi,Thank you for the reply.As you can see on DA14531 Datasheet, on chapter 27. General Purpose ADC, page:147Only P0_1, P0_2, P0_6, P0_7 can be used for ADC. Are you working with these specific pins?Please refer on our SDK6 Peripheral Drivers Tutorial to see how you can configure ADC: 9. DA14531 General Purpose ADC (Manual Mode) — DA145XX Tutorial SDK peripherals (renesas.com)On adc.h and adc_531.h files you can find extra information regarding different modes of the ADC. Are you getting the measurements simultaneously? Have you implemented an ADC_Interrupt for this?Please share more information regarding your implementation.Kind Regards,OV_Renesas