CY7C68053

9.13.2Single and Burst Synchronous Write

Figure 9-15. Slave FIFO Synchronous Write Sequence and Timing Diagram[17]

 

 

tIFCLK

 

 

 

 

 

 

 

 

 

 

IFCLK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tSFA

t

FAH

 

tSFA

 

 

 

 

 

 

t

 

 

 

 

 

 

 

 

 

 

 

 

FAH

FIFOADR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

t=0

tSWR

t

 

T=0

>= t

SWR

 

 

 

 

 

>= tWRH

 

 

 

 

 

 

 

 

 

 

 

 

WRH

 

 

 

 

 

 

 

 

 

SLWR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

t=2

t=3

 

 

T=2

 

 

 

 

 

 

T=5

 

 

 

 

 

 

 

 

 

 

 

 

SLCS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tXFLG

 

 

 

 

 

 

 

 

 

tXFLG

 

 

 

 

 

 

 

 

 

 

 

 

 

FLAGS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tSFD

tFDH

 

 

tSFD

tFDH

tSFD

tFDH

 

tSFD

tFDH

DATA

 

N

 

 

 

 

N+1

 

N+2

 

 

N+3

 

 

 

t=1

 

 

 

T=1

 

T=3

 

 

T=4

tSPE

tPEH

 

 

 

 

 

 

 

 

 

 

 

 

PKTEND

Figure 9-15shows the timing relationship of the SLAVE FIFO signals during a synchronous write using IFCLK as the synchronizing clock. The diagram illustrates a single write followed by burst write of 3 bytes and committing all 4 bytes as a short packet using the PKTEND pin.

At t = 0 the FIFO address is stable and the signal SLCS is asserted. (SLCS may be tied low in some applications) Note tSFA has a minimum of 25 ns. This means that when IFCLK is running at 48 MHz, the FIFO address set-up time is more than one IFCLK cycle.

At t = 1, the external master/peripheral must output the data value onto the data bus with a minimum set-up time of tSFD before the rising edge of IFCLK.

At t = 2, SLWR is asserted. The SLWR must meet the set- up time of tSWR (time from asserting the SLWR signal to the rising edge of IFCLK) and maintain a minimum hold time of tWRH (time from the IFCLK edge to the deassertion of the SLWR signal). If the SLCS signal is used, it must be asserted with SLWR or before SLWR is asserted. (for example, the SLCS and SLWR signals must both be asserted to start a valid write condition).

While the SLWR is asserted, data is written to the FIFO and on the rising edge of the IFCLK, the FIFO pointer is incre- mented. The FIFO flag is also updated after a delay of tXFLG from the rising edge of the clock.

The same sequence of events is also shown for a burst write and is marked with the time indicators of T = 0 through 5. Note For the burst mode, SLWR and SLCS are left asserted for the entire duration of writing all the required data values. In this burst write mode, once the SLWR is asserted, the data on the FIFO data bus is written to the FIFO on every rising edge

of IFCLK. The FIFO pointer is updated on each rising edge of IFCLK. In Figure 9-15, once the four bytes are written to the FIFO, SLWR is deasserted. The short 4-byte packet can be committed to the host by asserting the PKTEND signal.

There is no specific timing requirement that needs to be met for asserting the PKTEND signal with regards to asserting the SLWR signal. PKTEND can be asserted with the last data value or thereafter. The only requirement is that the set-up time tSPE and the hold time tPEH must be met. In the scenario of Figure 9-15, the number of data values committed includes the last value written to the FIFO. In this example, both the data value and the PKTEND signal are clocked on the same rising edge of IFCLK. PKTEND can also be asserted in subsequent clock cycles. The FIFOADDR lines must be held constant during the PKTEND assertion.

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. Additional timing requirements exist when the FIFO is configured to operate in auto mode and you want to send two packets: 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 case, the external master must make sure to assert the PKTEND pin at least one clock cycle after the rising edge that caused the last byte/word to be clocked into the previous auto committed packet (the packet with the number of bytes equal to what is set in the AUTOINLEN register). Refer to Figure 9-7for further details on this timing.

Document # 001-06120 Rev *F

Page 34 of 39

[+] Feedback

Page 34
Image 34
Cypress CY7C68053 manual Single and Burst Synchronous Write

CY7C68053 specifications

The Cypress CY7C68053 is a versatile USB microcontroller known for its strong performance and rich feature set, catering to a wide range of applications requiring USB connectivity. Part of the Cypress family of USB products, this microcontroller combines the convenience of USB interfacing with powerful embedded processing capabilities.

At its core, the CY7C68053 is built on an 8051 microcontroller architecture, enabling efficient data handling and control operations. It operates at speeds of up to 48 MHz, providing ample processing power for complex applications. The device features an integrated USB 2.0 full-speed controller, which allows for high-speed data transfer rates of up to 12 Mbps. This makes it ideal for applications such as data transfer, communication devices, and real-time processing tasks.

One of the standout features of the CY7C68053 is its flexible pin configuration. It supports a variety of operating modes, including peripheral mode, host mode, and a combination of both, allowing it to cater to diverse application requirements. Additionally, the device offers a large number of GPIO pins that can be used for various control and communication tasks. This flexibility ensures that developers can tailor the hardware to meet the specific needs of their application.

In terms of development, the CY7C68053 is backed by a robust set of software development tools from Cypress. The EZ-USB development kit provides a comprehensive platform for firmware development, testing, and debugging. This kit includes libraries, example projects, and a user-friendly integrated development environment (IDE), streamlining the development process for engineers.

The CY7C68053 is also equipped with an extensive memory system, featuring 32 kB of in-system programmable Flash memory, 2 kB of SRAM, and 128 bytes of EEPROM. This memory capacity allows for the storage of complex firmware and user data, enhancing the device's versatility.

Moreover, the CY7C68053 is designed with low power consumption in mind. It includes power management features that allow it to operate efficiently, making it suitable for battery-operated devices.

In summary, the Cypress CY7C68053 stands out as a powerful USB microcontroller that combines high-speed processing, flexible configurations, and robust software support. Its features make it an excellent choice for developers looking to create innovative USB-enabled products across various applications.