Novice because some other work need to learn the use of stm32f103 adc, need to collect the voltage, the target is 1 ms at least 10 points, I was using a single channel dma, usart baud rate is set to 115200, in order to save everyone's time, I only put the parameter Settings section figure, other configuration code should do not have what problem, I in data from serial port, a cycle (ms) 20 to 20 points,
CodePudding user response:
1 ms 10 points that is 10 k, frequency division and calculate ADC_SampleTime_239Cycles5 next look at the clock isn't fast enough Another bit rate 115200 or 11520 bytes/S, even if the AD is only 8, 1 ms sent 10 bytes is also very nervous