kywwilson11 opened a new pull request, #15495: URL: https://github.com/apache/nuttx/pull/15495
## Summary Added support for using timers with ADCs. Based on STM32H7 implementation. Updated Kconfig to support TRGO2, although support for TRGO and TRGO2 as triggers is not developed yet. Updated hardware/stm32_tim.h with missing CCER bits needed for compilation. ## Impact STM32H5 Architecture and STM32H5 ADC Driver. ## Testing Hardware: Nucleo-H563ZI Software: Nuttx ADC Example Application Configuration: Timer1: 5Hz Conversion Rate ADC1: Channel 3 and Channel 10 (Pins A0 and A1) Channel3 connected to 1.8V Channel10 connected to 3.3V Vref = 3.3V Channel3 reads about (2250/4096) * 3.3V = 1.81V Channel10 reads about (4090/4096) * 3.3V = ~3.3V ## Log [adc_tim_5Hz.txt](https://github.com/user-attachments/files/18381387/adc_tim_5Hz.txt) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org