STM32F401RE - ADC SMPRx 'sample time setting'
Documentation Error? RM0368 sections 11.12.4 and 11.12.5 list sample A2D clock times for 8 different sample time settings. For all but setting 0, the data seem to disagree with my testing and performance measurements. My measurements indicate:
// SampleTime setting vs Conversion time in A2D Clocks (tested on board NUCLEO-F401RE):
// - CPU Clock = 84 MHz
// - A2D Clock Pre-scaler = 2
// - Three channels per scan (ADC IN0, IN1 & IN4) with DMA transfer ADC to memory.
//
// 0 => 12.5 + 2.5 = 15 A2D Clocks / convert ( 3M conversions in 1.0714 s) << ONLY real match to general document a 15 clocks = (3 + 12)
// 1 => 12.5 + 10.5 = 23 A2D Clocks / convert ( 3M conversions in 1.6427 s)
// 2 => 12.5 + 19.2 = 31.7 ... ??? very odd (30M conversions in 22.6189s)
// 3 => 12.5 + 28.5 = 41 A2D Clocks / convert (30M conversions in 29.2856s)
// 4 => 12.5 + 56.5 = 69 A2D Clocks / convert (30M conversions in 49.2855s)
// 5 => 12.5 + 75.1 = 87.6 ... ??? very odd (30M conversions in 62.6187s)
// 6 => 12.5 + 96.5 = 109 A2D Clocks / convert (30M conversions in 77.8568s)
// 7 => 12.5 + 320.5 = 333 A2D Clocks / convert (30M conversions in 237.8558s)
//
