Specifications
CY7C68053
Document # 001-06120 Rev *J Page 30 of 42
There is no specific timing requirement to be met for asserting
the PKTEND pin with regards to asserting SLWR. PKTEND can
be asserted with the last data value clocked into the FIFOs or
thereafter. The only consideration is that the setup time t
SPE
and
the hold time t
PEH
must be met.
Although there are no specific timing requirements for the
PKTEND assertion, there is a specific corner case condition that
needs attention while using the PKTEND to commit a one
byte/word packet. There is an additional timing requirement to be
met when the FIFO is configured to operate in auto mode and
you want to send two packets back to back: a full packet (full
defined as the number of bytes in the FIFO meeting the level set
in AUTOINLEN register) committed automatically followed by a
short one byte/word packet committed manually using the
PKTEND pin. In this scenario, make sure to assert PKTEND at
least one clock cycle after the rising edge that caused the last
byte/word to be clocked into the previous auto committed packet.
Figure 14 shows this scenario. X is the value the AUTOINLEN
register is set to when the IN endpoint is configured to be in auto
mode.
Figure 14 shows a scenario where two packets are committed.
The first packet is committed automatically when the number of
bytes in the FIFO reaches X (value set in AUTOINLEN register)
and the second one byte/word short packet is committed
manually using PKTEND. Note that there is at least one IFCLK
cycle timing between the assertion of PKTEND and clocking of
the last byte of the previous packet (causing the packet to be
committed automatically). Failing to adhere to this timing, results
in the FX2LP18 failing to send the one byte/word short packet.
9.8 Slave FIFO Asynchronous Packet End Strobe
Table 20. Slave FIFO Asynchronous Packet End Strobe Parameters
[19]
Parameter Description Min Max Unit
t
PEpwl
PKTEND pulse width LOW 50 ns
t
PWpwh
PKTEND pulse width HIGH 50 ns
t
XFLG
PKTEND to FLAGS output propagation delay 115 ns
IFCLK
SLWR
DATA
Figure 14. Slave FIFO Synchronous Write Sequence and Timing Diagram
[16]
t
IFCLK
>= t
SWR
>= t
WRH
X-2
PKTEND
X-3
t
FAH
t
SPE
t
PEH
FIFOADR
t
SFD
t
SFD
t
SFD
X-4
t
FDH
t
FDH
t
FDH
t
SFA
1
X
t
SFD
t
SFD
t
SFD
X-1
t
FDH
t
FDH
t
FDH
At least one IFCLK cycle
FLAGS
t
XFLG
PKTEND
t
PEpwl
t
PEpwh
Figure 15. Slave FIFO Asynchronous Packet End Strobe Timing Diagram
[16]
[+] Feedback