实验设计1
易错点
存储器到存储器的DMA传输通道没有硬性规定,可以随意选择。
USART_DMACmd(USART_TypeDef USARTx, uint16_t USART_DMAReq, FunctionalState NewState)*函数的第一个形参不能选择串口5,除非是stm32f10x_hd_vl.s系列,vl:value line devices 超值型系列,特指 STM32F100xx 系列。( The DMA mode is not available for UART5 except in the STM32 High density value line devices(STM32F10X_HD_VL). )