[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: added ADC for g0 (#16885)

david-vankampen notifications at github.com
Fri Sep 24 15:49:50 CEST 2021


@aabadie  I have a Nucleo-g071rb at hand, so I used that to test, which necessitated updating that board as well.  It revealed the need to reference `APB12` for the clock enablement as well, so, good test. :)  I also only have 1 potentiometer at hand, so I manually moved it from pin to pin, for ADCs 0-5.  They all worked, output similar, looked like this (filtered to the pin under test):
        

> 2021-09-24 09:33:51,063 # ADC_LINE(4): 3350
>         2021-09-24 09:33:51,163 # ADC_LINE(4): 4040
>         2021-09-24 09:33:51,264 # ADC_LINE(4): 4079
>         2021-09-24 09:33:51,364 # ADC_LINE(4): 3878
>         2021-09-24 09:33:51,464 # ADC_LINE(4): 666
>         2021-09-24 09:33:51,564 # ADC_LINE(4): 544
>         2021-09-24 09:33:51,664 # ADC_LINE(4): 530
>         2021-09-24 09:33:51,764 # ADC_LINE(4): 522
>         2021-09-24 09:33:51,864 # ADC_LINE(4): 521
>         2021-09-24 09:33:51,964 # ADC_LINE(4): 540
>         2021-09-24 09:33:52,064 # ADC_LINE(4): 544
>         2021-09-24 09:33:52,164 # ADC_LINE(4): 526
>         2021-09-24 09:33:52,264 # ADC_LINE(4): 533
>         2021-09-24 09:33:52,364 # ADC_LINE(4): 517
>         2021-09-24 09:33:52,465 # ADC_LINE(4): 529
>         2021-09-24 09:33:52,565 # ADC_LINE(4): 530
>         2021-09-24 09:33:52,665 # ADC_LINE(4): 529
>         2021-09-24 09:33:52,765 # ADC_LINE(4): 529
>         2021-09-24 09:33:52,865 # ADC_LINE(4): 537
>         2021-09-24 09:33:52,965 # ADC_LINE(4): 536
>         2021-09-24 09:33:53,065 # ADC_LINE(4): 526
>         2021-09-24 09:33:53,165 # ADC_LINE(4): 532
>         2021-09-24 09:33:53,265 # ADC_LINE(4): 535

@benpicco after rebasing, I am not seeing commit https://github.com/RIOT-OS/RIOT/commit/65188fb8615b161914cb4c6df32c3645253b3dc6 anymore.  Is the history as desired now?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16885#issuecomment-926639962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210924/bf9c0596/attachment.htm>


More information about the notifications mailing list