完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
你好。在从FIFO示例中,将DMACFG计数设置为2(从FIFO信道缓冲器计数2)。当数据从U转移到P时,数据在第一时间被写入第一缓冲器,并在第二时间写入第二缓冲器。之后,如果从奴隶FIFO(SLRD)读取不活跃,则缓冲器将是满的,并且不能写入更多的数据。一旦从奴隶FIFO开始读取,缓冲器将干净并准备好下一次传输。我的理解正确吗?
我还想用I2S传送短命令到FPGA,但是我找不到这样的固件例子。有人能给我一些建议吗?谢谢,乐华晨 以上来自于百度翻译 以下为原文 Hello. In the Slave FIFO example, the dmaCfg.count is set to 2 (Slave FIFO channel buffer counts 2). When the data is transferred from U to P, the data is written to the first buffer at the first time and written to the second buffer at the second time. After that, if the Reading from Slave FIFO (SLRD) is not active, the buffer will be always full and no more data can be written. Once the Reading from Slave FIFO starts, the buffers will be clean and ready for the next transfer. Is my understanding right? I also want to use I2S to transfer short command to FPGA, but I can not find such firmware example. Could someone give me some suggestions? Thanks, Lehua Chen |
|
相关推荐
7个回答
|
|
对。你的理解是对的。
另一个问题是,我假设它是“I2C”。如果我的假设是对的请告诉我。 谢谢, 西克里希纳。 以上来自于百度翻译 以下为原文 Yes. Your understanding is right. Coming to other question, I am assuming it is "I2C". Please let me know if my assumption is right. Thanks, sai krishna. |
|
|
|
你好,sai Krishna,
谢谢你的回复。我想用从FIFO批量数据从FPGA转移到USB然后PC短命令写的是从PC机通过I2S FPGA。I2C作为我的计划启动。因此我想找固件以I2S。谢谢 陈乐华 以上来自于百度翻译 以下为原文 Hello, sai Krishna, Thank you for your reply. I want to use Slave FIFO to transfer bulk data from FPGA to USB then to PC. The short command is written from the PC to FPGA through I2S. I2C is used as bootloader in my plan. Therefore I want to look for firmware example with I2S. Thanks Lehua Chen |
|
|
|
嗨,乐华晨,
您可以使用I2C来将程序加载到RAM中,并将命令发送到您的FPGA。只是从地址会不同。 如你所知,I2S通常用于流音频样本。 当做, 西基什纳。 以上来自于百度翻译 以下为原文 Hi Lehua Chen, You can use I2C both for loading the programm into RAM and for sending commands to your FPGA. Just the slave address will be different from each other. As you know, I2S is generally used for streaming the audio samples. Regards, sai kirshna. |
|
|
|
嗨,sai Krishna,
你的意思是,我可以使用I2C在开始时将固件加载到RAM中。当固件运行时,我可以配置I2C来接收来自PC的命令并发送给FPGA。正确的?如果是这样的话,我需要通过I2C的例子来学习。谢谢,乐华晨 以上来自于百度翻译 以下为原文 Hi, sai Krishna, You mean that I can use I2C to loading the firmware to RAM at the begining. When the firmware is running, I can configurate the I2C to receive commands from PC and send them to FPGA. Right? If so, I need to learn through the I2C example. Thanks, Lehua Chen |
|
|
|
对。FX3引导从连接到它的I2C EEPROM。
当你想从PC发送一些命令到FPGA时,你通过控制端点从PC向FX3发送命令,然后在固件中解析它,并从连接到FX3的FPGA启动I2C读取。 当做, 西克里希纳。 以上来自于百度翻译 以下为原文 Yes. FX3 boot from the I2C EEPROM that is connected to it. When you want to send some command to FPGA from PC, you send a command from PC to FX3 over the control endpoint and then in the firmware you parse it and initiate a I2C read from the FPGA connected to FX3. Regards, sai krishna. |
|
|
|
在这种情况下,两E2PROM和FPGA两引脚将被连接到i2c_gpio [ 58 ](i2c_scl)和i2c_gpio [ 59 ](i2c_sda)。对吗?
谢谢你 陈乐华 以上来自于百度翻译 以下为原文 In this case, both E2PROM and two pins of FPGA will be connected to I2C_GPIO[58] (I2C_SCL) and I2C_GPIO[59]( I2C_SDA). Right? Thank you Lehua Chen |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2101 浏览 1 评论
1848 浏览 1 评论
3666 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1783 浏览 6 评论
1533 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
564浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
418浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
909浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 18:02 , Processed in 0.949414 second(s), Total 91, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号