The check for MONEN in ADCv4 for H7 is incorrect. It would have needed to use PWR->CR2 not STM32_PWR_CR2 to work at all and testing on a H743 shows it is not in fact needed at all.
I suspect when the reference manual says that it is needed that it is referring to the threshold monitoring in PWR, not sampling by ADC3. Sampling VRefint and temperature works fine without MONEN set.
[patch] bug in ADCv4 checks on H7 Topic is solved
-
- Posts: 141
- Joined: Mon Sep 25, 2017 8:27 am
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 20 times
- Contact:
[patch] bug in ADCv4 checks on H7 Topic is solved
- Attachments
-
- 0001-ADCv4-removed-check-for-MONEN-for-H7.patch.zip
- (904 Bytes) Downloaded 238 times
Who is online
Users browsing this forum: No registered users and 44 guests