Kevin O'Connor
502e83725b
stm32: Reset adc calibration prior to starting calibration
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-25 11:23:58 -05:00
Kevin O'Connor
bf3fa979f9
stm32: Increase adc sample time
...
Increase the sample time register from 3 to 4 (which adds about ~1.5us
to each adc sample).
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-25 10:50:29 -05:00
Kevin O'Connor
ef2c7cb363
stm32: Fix typo in setting of SMPR1 register on stm32f103
...
Only the stm32f4 has a SMP18 field; it's not present on the stm32f103.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-27 11:26:17 -05:00
Kevin O'Connor
fc476f22b6
stm32: Fix typo in adc startup delay
...
Fix (harmless) typo and add comments on adc timing.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-27 11:16:41 -05:00
Kevin O'Connor
4ec6db7a87
stm32: Add support for additional ADC3 ports on stm32f4
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-08-15 23:21:41 -04:00
Kevin O'Connor
8b9cc62359
stm32: Rename stm32f4/ directory to stm32/
...
Now that the code in stm32f4/ can handle both stm32f1 and stm32f4
chips, rename the directory to just "stm32".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-08-05 11:25:40 -04:00