diff options
author | Damien George <damien@micropython.org> | 2025-08-29 20:12:40 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-09-25 12:55:51 +1000 |
commit | 6c9940b1f6fb75749ba2ac7949faaf76ace802da (patch) | |
tree | f67325a0c66c71519273c6a6c7e10a1d4152bb9b /shared/runtime/mpirq.c | |
parent | d0d9d978eb57e2c9ce996d8a7cbab3e8dd1c37d5 (diff) |
stm32/adc: Get ADC working on STM32N6 MCUs.
Changes made here for N6 are:
- set RIF security attributes for ADC12
- clock ADC12 at 50MHz (maximum) so it runs at spec (max 5Msamp/sec)
- increase sampling time for standard channels to 46.5 cycles
- calibrate ADC in `adc.c`
- correctly clear ADC_CFGR1_RES bits in `machine_adc.c`
- set preselection register in `machine_adc.c`
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'shared/runtime/mpirq.c')
0 files changed, 0 insertions, 0 deletions