你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

《STM32F030x4x6x8xC勘误手册》中DMA 清除CGIF(全局中断)会同时清除TEIF(传输错误标志),解决方案中与GPIOx_OTYPER有什么关

[复制链接]
ZzZzZz......... 提问时间:2021-8-16 11:43 / 未解决
《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].

收藏 评论1 发布时间:2021-8-16 11:43

举报

1个回答
ZzZzZz......... 回答时间:2021-8-18 11:20:36
勘误手册写错了,将上文对GPIO的内容写到了DMA;猜测DMA解决办法这里,只需要清除相对应的标志就行。

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版