|
《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解决办法这里,只需要清除相对应的标志就行。 |
STM32u575 USART 用GPDMA接收,DMA中断,usart 中断正常来,ROR数据正确,接收缓冲却不变
请教STM32F103的DMA空闲接收问题
stm32h7 定时器输出比较模式+dma,生成脉冲异常
STM32H725VGT3内存不足问题
STM32H7A3 怎样配置MDMA的硬件触发MDMA_REQUEST_DMA1_Stream0_TC将数据再次转运
串口DMA收发出现ORE错误
关于外部事件(EXTI0)触发SPI读取数据
STM32F429突然死机
stm32u575 gpdma burst length=1 配置其他数值不工作
STM32H7A3RGT6 ADC 8位采样速度只能达到3.5MSPS达不到数据手册上的7MSPS ?
微信公众号
手机版