/*禁用FIFO*/
DMA_InitStructure.DMA_FIFOMode = DMA_FIFOMode_Disable;
// DMA_InitStructure.DMA_FIFOThreshold = DMA_FIFOThreshold_Full;
// /*存储器突发传输 1个节拍*/
// DMA_InitStructure.DMA_MemoryBurst = DMA_MemoryBurst_Single;
// /*外设突发传输 1个节拍*/
DMA_InitStructure.DMA_PeripheralBurst = DMA_PeripheralBurst_Single;
禁用fifo后2,3,4即突发节拍配置不就不用配置了,但是通过usb转串口往助手上发数据时如果 //DMA_InitStructure.DMA_PeripheralBurst = DMA_PeripheralBurst_Single; ,则5000个数据只能发两个,去掉//后才可以正常发送 |