|
Title: Achieving a Local Transfer Rate of 96MB/s in FX2
Question:
How can the local transfer rate of 96 MB/s be achieved?
Response:
The burst rate of 96MB/s can be achieved by running the Slave FIFOs at 48 MHz (internal or external clock), while asserting SLWR or SLRD/SLOE for the entire data burst phase. Assuming active low polarity signals, when writing to the Slave FIFOs, SLWR should be held low as each word is clocked on the rising edge of IFCLK. The case is similar for reading from the Slave FIFOs; SLOE/SLRD should be held low as each new word is read on every rising edge of IFCLK.
The technical reference manual assumes a conservative approach as the examples show a word being clocked on every other IFCLK edge. This is for systems that may not be able to abide by the setup and hold times required for a burst phase like what's described above. Clocking a word on every other edge would then reduce the effective burst rate to 48 MB/s.
Notes:
1) FX2 has the ability to have the FIFO flags assert one word prior to the FIFO becoming full, and one word prior to the FIFO becoming empty. This give the external master additional time to check the FIFO status flags.
2) To achieve the 96MBs, the control signals will have to be active while each word is clocked on the rising edge of IFCLK.
3) The endpoints and FIFOs share the same physical memory space. Often you'll see them referred to as "endpoint FIFOs" because they exhibit a dual personality. There are basically two domains the endpoint FIFOs reside in, the USB domain, and the peripheral interface domain. FX2 is able to switch clock domains to pass the packet pointers from one domain to the other, thus seemingly able to "connect" the USB domain to the peripheral interface domain. This is how it maximizes the USB 2.0 bandwidth without need of processor intervention. Sometimes it's easier to think of the FIFO space in terms of buffers, consistent with the different buffering schemes the FX2 can take on. The possible buffering schemes are shown on page 14 of the datasheet. Only EP2 and EP6 can be configured for the larger 1024 FIFO size.
4) The FIFO full and empty flags are packet based and therefore represent packet boundaries. For example, if the EP6 full flag is not asserted (active low, and assuming EP6 is configured for 512-byte size, 2x buffered), then there is at least room for one more packet (512 bytes) in the FIFO. Conversely, if the EP2 empty flag is not asserted (active low, and assuming EP2 is configured for 512-byte size, 2x buffered), then there is at least one more data packet to be read by the external master (512 bytes).
文献2:
Slave FIFO Mode Synchronous Burst Read/Write with the CY7C68013 (FX2)
Last Updated: 12/19/2008
|
Rate this Knowledge Base Article
Be the first to rate |
|
Title: Slave FIFO Mode Synchronous Burst Read/Write with the CY7C68013
Question:
Does the FX2 device support synchronous burst read/write in slave FIFO mode? In the FX2 Technical Reference Manual, I am unable to find an I/O waveform of synchronous burst read/write with SLRD/SLWR asserted for the entire burst duration.
Response:>
You won't find this anywhere in the FX2 TRM because it assumes a conservative approach (single-wait state access). However, it is possible to read or write a byte/word on every IFCLK edge while SLRD and SLWR remain asserted. This type of access gets you the highest achievable bandwidth over the physical interface (96MB/s).
It may be difficult to get the timing right because of the different external master requirements, but burst accesses are possible. We recommend using an external IFCLK source to get attainable setup and hold timing parameters for the data and control signals.
This is also applicable to the EZ-USB SX2. |
Related Categories: USB High-Speed Peripherals |
|
相关推荐
“标准-3”导弹首次成功拦截多级弹道导弹
“韩流”冲击等离子彩电
国产DVD激光头面世 整机厂家保持观望
半导体收入2025年达到7930亿美元,AI重新调整排名
一种基于Word文档的信息隐藏方法
一种高性能的考勤IC卡系统
美光高管称存储芯片短缺史无前例 传统电子也将遭全面挤压
格力KYTA-30B遥控电风扇电路
实现远距离遥控简法电路
[转帖]于南大小百合上看到的VxWorks Bug的帖子!
树莓派 AI HAT+ 2 在 Hailo-10H 旁边增加了 8 GB 内存
这一仗必须赢!马斯克死磕芯片“9个月一更”,用出货量“淹没”英伟达
如何设置单板RIO系统
一种高速汉明距发生器的实现与应用
奥特曼的“印钞机”与“吞金兽”:OpenAI年化营收超200亿美元背后的豪赌
卫星接收机遥控交流开/关机电路
五大国产实时操作系统RTOS归总
一种基于MSP430的可充电脑起搏器的设计
CES 2026重点介绍了人工智能、移动性与工业技术的发展方向
OpenAI高管:首款硬件设备有望于2026年下半年亮相
为啥GPU解码被称为硬件解码,而CPU解码是软件解码?
ESC 2009上的Numonyx
“盗版”并不是中国软件业的致命伤
LED照明驱动解决方案
韩国采用Java为无线网络标准
十路红外顺序遥控电路
TI的自动驾驶汽车半导体
无调试的6路红外线遥控器电路
一种基于B S结构与C S结构结合的新体系结构
“扫描鹰”无人机作战使用日渐成熟