完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
本帖最后由 一只耳朵怪 于 2018-5-29 10:12 编辑
我用EDMA3的时候,采用的是ACNT=2,BCNT=数据长度,AB同步,代表传输数据的宽度是16位,每次传输的长度等于帧长度。 但是我需要读一个0x11的16位地址,因此把原地址设为0x22(即是0x11*2),但是FPGA收到的地址是0x10,后来经过试验,EDMA的地址必须是0x10的倍数,即:只能设置0,0x10,0x20…………这一类地址,这是什么原因呢? |
|
相关推荐
3个回答
|
|
|
对了,上面的地址代表的是偏移地址,比如DM368的EMIF物理地址是,0X4000000,那么上面的地址就是0x4000000+0x22,0x4000000+0x10,0x4000000+0x20……
|
|
|
|
|
|
你使用的是哪种地址增加模式?下面的信息可以在dm36x的edma user guide里找到:
The 32-bit source address parameter specifies the starting byte address of the source. For SAM in increment mode, there are no alignment restrictions imposed by EDMA3. For SAM in constant addressing mode, you must program the source address to be aligned to a 256-bit aligned address (5 LSBs of address must be 0). The 32-bit destination address parameter specifies the starting byte address of the destination. For DAM in increment mode, there are no alignment restrictions imposed by EDMA3. For DAM in constant addressing mode, you must program the destination address to be aligned to a 256-bit aligned address (5 LSBs of address must be 0). |
|
|
|
|
物是人非aaa 发表于 2018-5-28 15:17 wo们是用EMIF口和FPGA连接,EDMA传输数据到FPGA上,这个地址代表的就是地址偏移,这几句话就是我要的答案,非常感谢 |
|
|
|
|
只有小组成员才能发言,加入小组>>
576 浏览 0 评论
1636 浏览 0 评论
2070 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1527 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1365 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1779浏览 29评论
2806浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1737浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1651浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1663浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-8 09:33 , Processed in 0.989212 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1635