CY7C63413C

CY7C63513C

CY7C63613C

initialization noted under “Reset,” bit 6 of the Processor Status and Control Register is set to “1” to indicate to the firmware that a Watch Dog Reset occurred.

The Watch Dog Timer is a 2-bit timer clocked by a 4.096-ms clock (bit 11) from the free-running timer. Writing any value to the write-only Watch Dog Clear I/O port (0x26) will clear the Watch Dog Timer.

In some applications, the Watch Dog Timer may be cleared in the 1.024-ms timer interrupt service routine. If the 1.024-ms timer interrupt service routine does not get executed for 8.192 ms or more, a Watch Dog Timer Reset will occur. A Watch Dog Timer Reset lasts for 2.048 ms after which the microcontroller begins execution at ROM address 0x0000. The USB trans- mitter is disabled by a Watch Dog Reset because the USB Device Address Register is cleared. Otherwise, the USB Controller would respond to all address 0 transactions. The USB transmitter remains disabled until the MSB of the USB address register is set.

General Purpose I/O Ports

Ports 0 to 2 provide 24 GPIO pins that can be read or written. Each port (8 bits) can be configured as inputs with internal pull- ups, open drain outputs, or traditional CMOS outputs. Please note an open drain output is also a high-impedance (no pull- up) input. All of the I/O pins within a given port have the same configuration. Ports 0 to 2 are considered low current drive with typical current sink capability of 7 mA.

The internal pull-up resistors are typically 7 k. Two factors govern the enabling and disabling of the internal pull-up resistors: the port configuration selected in the GPIO Configu- ration register and the state of the output data bit. If the GPIO Configuration selected is “Resistive” and the output data bit is “1,” then the internal pull-up resistor is enabled for that GPIO pin. Otherwise, Q1 is turned off and the 7-kpull-up is disabled. Q2 is “ON” to sink current whenever the output data bit is written as a “0.” Q3 provides “HIGH” source current when the GPIO port is configured for CMOS outputs and the output data bit is written as a “1”. Q2 and Q3 are sized to sink and source, respectively, roughly the same amount of current to support traditional CMOS outputs with symmetric drive.

GPIO

 

 

VCC

 

 

 

mode

 

CFG

 

 

 

 

 

 

2 bits

 

Internal

Data

 

Q1

Q3

 

 

 

Data Bus

Out

 

 

 

 

Latch

Control

 

 

 

Port Write

7 k

GPIO

 

 

 

 

 

 

 

Pin

 

 

 

Q2

ESD

 

Internal

 

 

 

 

 

 

 

Buffer

 

 

 

 

Port Read

Control

 

 

Interrupt

 

to Interrupt

Enable

 

 

Controller

 

Figure 4. Block Diagram of a GPIO Line

.

Table 2. Port 0 Data

 

Addr: 0x00

 

Port 0 Data

 

 

 

 

 

 

 

 

 

 

 

 

 

P0[7]

 

P0[6]

P0[5]

P0[4]

P0[3]

P0[2]

P0[1]

P0[0]

 

 

 

 

 

 

 

 

 

 

 

R/W

 

R/W

R/W

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

Table 3. Port 1 Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x01

 

Port 1 Data

 

 

 

 

 

 

 

 

 

 

 

 

 

P1[7]

 

P1[6]

P1[5]

P1[4]

P1[3]

P1[2]

P1[1]

P1[0]

 

 

 

 

 

 

 

 

 

 

 

R/W

 

R/W

R/W

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

Table 4. Port 2 Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x02

 

Port 2 Data

 

 

 

 

 

 

 

 

 

 

 

 

 

P2[7]

 

P2[6]

P2[5]

P2[4]

P2[3]

P2[2]

P2[1]

P2[0]

 

 

 

 

 

 

 

 

 

 

 

R/W

 

R/W

R/W

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

Document #: 38-08027 Rev. *B

 

 

 

 

 

Page 11 of 32

[+] Feedback

Page 11
Image 11
Cypress CY7C63413C, CY7C63613C, CY7C63513C manual General Purpose I/O Ports, Pin, Addr Port 1 Data, Addr Port 2 Data

CY7C63613C, CY7C63413C, CY7C63513C specifications

The Cypress CY7C63513C, CY7C63413C, and CY7C63613C are versatile programmable logic devices that are part of the Cypress family of microcontrollers designed for diverse applications. These devices are particularly well-suited for embedded systems, consumer electronics, and industrial control systems due to their robust features and technologies.

One of the standout characteristics of these devices is their programmable architecture, which allows for flexible design implementations. The CY7C63513C features 32 programmable I/O pins and an 8-bit microcontroller core, which provides ample resource allocation for various input/output operations. The device supports various communication interfaces, including SPI and I2C, enabling seamless integration into different system configurations.

The CY7C63413C is a highly adaptable component, offering similar features but with an enhanced flexibility in its I/O configuration, making it ideal for applications that require quick prototyping and development cycles. Its extensive instruction set allows for more complex processing tasks, catering to advanced applications in automation and signal processing.

On the other hand, the CY7C63613C provides an advanced level of integration with built-in support for multiple power management modes. This feature is crucial in modern battery-operated devices where energy conservation is a primary concern. Its low-power operation enhances the usability in portable applications while still maintaining performance.

In terms of performance, all three devices boast high-speed operation, with clock frequencies reaching up to 24 MHz. This ensures that they can efficiently handle tasks that require real-time processing, such as sensor data management and control algorithms. The devices are also equipped with an on-chip EEPROM and RAM, allowing for data storage and quick retrieval.

In addition to their performance characteristics, the CY7C63513C, CY7C63413C, and CY7C63613C are designed with reliability in mind. They incorporate robust error detection and correction features, ensuring data integrity during operation. This reliability is essential for critical applications, such as automotive systems and industrial automation.

Overall, the Cypress CY7 series presents an appealing solution for developers looking for a blend of flexibility, performance, and reliability in their embedded designs. Their programmability and support for multiple communication protocols make them a formidable choice in today’s fast-paced technological landscape, paving the way for innovative applications across various industries.