同一时刻只能使能一个channel吧
The 7 requests from the peripherals (TIMx[1,2,3,4], ADC1, SPI1, SPI/I2S2, I2Cx[1,2] and USARTx[1,2,3]) are simply logically ORed before entering the DMA1, this means that only one request must be enabled at a time.
另外串口只有一个数据寄存器,你确定使用DMA_PeripheralInc_Enable时数据正常吗?
同一时刻只能使能一个channel吧
The 7 requests from the peripherals (TIMx[1,2,3,4], ADC1, SPI1, SPI/I2S2, I2Cx[1,2] and USARTx[1,2,3]) are simply logically ORed before entering the DMA1, this means that only one request must be enabled at a time.
另外串口只有一个数据寄存器,你确定使用DMA_PeripheralInc_Enable时数据正常吗?
举报