《STM32F030x4x6x8xC勘误手册》中DMA部分如下描述,最后一句解决方案什么意思呢? Workaround The only way to lock GPIOx_OTYPER with i=15..8 is to lock also GPIOx_OTYPER[i-8]. 勘误手册描述: 2.3 DMA 2.3.1 DMA disable failure and error flag omission upon simultaneous transfer error and global flag clear Description Upon a data transfer error in a DMA channel x, both the specific TEIFx and the global GIFx flags are raised and the channel x is normally automatically disabled. However, if in the same clock cycle the software clears the GIFx flag (by setting the CGIFx bit of the _IFCR register), the automatic channel disable fails and the TEIFx flag is not raised. This issue does not occur with ST's HAL software that does not use and clear the GIFx flag, but uses and clears the HTIFx, TCIFx, and TEIFx specific event flags instead. Workaround The only way to lock GPIOx_OTYPER with i=15..8 is to lock also GPIOx_OTYPER[i-8]. |
勘误手册写错了,将上文对GPIO的内容写到了DMA;猜测DMA解决办法这里,只需要清除相对应的标志就行。 |
DMA发送函数只能被调用一次
STM32L431进入STOP1模式后ADC产生多余功耗
SPI 通信,既有单字节数据传输,又有多字节数据传输,该如正确使用 DMA?
STM32G0B1adc+dma采样数据错位
STM32F4的串口在配置DMA之后,不能使用高波特率吗?
stm32 DMA串口接收到数组,数组元素顺序错乱怎么办?
STM32F407 DMA NVIC设置
单次ADC采样出现两次进入DMA中断的异常情况,救救孩子吧o(╥﹏╥)o
STM32H723 spi6+dma用法问题
求问诡异的问题,eth网口ping不通