OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3642|回复: 3

STM32F031xx DMA Pointer Incrementation

[复制链接]

7

主题

162

帖子

0

精华

高级会员

Rank: 4

积分
541
金钱
541
注册时间
2017-4-6
在线时间
67 小时
发表于 2017-4-6 16:52:16 | 显示全部楼层 |阅读模式
5金钱
最近看STM32F031xx的DMA控制器章节,发现了如下内容,不能理解,特意上来求助
Pointer incrementation
Peripheral and memory pointers can optionally be automatically post-incremented after
each transaction depending on the PINC and MINC bits in the DMA_CCRx register. If
incremented mode is enabled, the address of the nexttransfer will be the address of the
previous one incremented by 1, 2 or 4 dependingon the chosen data size. The first transfer
address is the one programmed in the DMA_CPARx/DMA_CMARx registers. During
transfer operations, these registers keep the initially programmed value. The current
transfer addresses (in the current internal peripheral/memory address register) are not
accessible by software.


这里是原文,我对其中的地址增加不是很理解。比如说DMA传输一次256字节的数据,难道不是一次性传输完毕吗?

请教下这个地方该如何理解
QQ图片20170406164839.png

最佳答案

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

7

主题

162

帖子

0

精华

高级会员

Rank: 4

积分
541
金钱
541
注册时间
2017-4-6
在线时间
67 小时
 楼主| 发表于 2017-4-6 16:52:17 | 显示全部楼层
回复

使用道具 举报

22

主题

74

帖子

3

精华

高级会员

Rank: 4

积分
646
金钱
646
注册时间
2012-9-9
在线时间
1 小时
发表于 2017-4-6 17:30:43 | 显示全部楼层
意思是DMA传输过程支持自增,步进单位为1,2,4字节,看你的设置了
回复

使用道具 举报

7

主题

162

帖子

0

精华

高级会员

Rank: 4

积分
541
金钱
541
注册时间
2017-4-6
在线时间
67 小时
 楼主| 发表于 2017-4-6 18:00:03 | 显示全部楼层
柯南大侠 发表于 2017-4-6 17:30
意思是DMA传输过程支持自增,步进单位为1,2,4字节,看你的设置了

能讲的详细一点吗?这个自增指的是一次传输过程中数据的自增,还是传输事件的自增?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-8-22 09:22

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表