Cypress CY7C63613C, CY7C63513C manual Port 3 Data Addr, DAC Port Data Addr, Port 0 Interrupt Enable

Page 12

CY7C63413C

CY7C63513C

CY7C63613C

Table 5. Port 3 Data

Addr: 0x03

 

Port 3 Data

 

 

 

 

 

 

 

 

 

 

 

P3[7]

P3[6]

P3[5]

P3[4]

P3[3]

P3[2]

P3[1]

P3[0]

 

 

 

 

 

 

 

 

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

Table 6. DAC Port Data

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x30

 

DAC Port Data

 

 

 

 

 

 

 

 

 

 

 

Low current outputs

 

 

High current outputs

 

 

0.2 mA to 1.0 mA typical

 

 

3.2 mA to 16 mA typical

 

 

 

 

 

 

 

 

DAC[7]

DAC[6]

DAC[5]

DAC[4]

DAC[3]

DAC[2]

DAC[1]

DAC[0]

 

 

 

 

 

 

 

 

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

Port 3 has eight GPIO pins. Port 3 (8 bits) can be configured as inputs with internal pull-ups, open drain outputs, or tradi- tional CMOS outputs. An open drain output is also a high- impedance input. Port 3 offers high current drive with a typical current sink capability of 12 mA. The internal pull-up resistors are typically 7 k.

Note: Special care should be exercised with any unused GPIO data bits. An unused GPIO data bit, either a pin on the chip or a port bit that is not bonded on a particular package, must not be left floating when the device enters the suspend state. If a GPIO data bit is left floating, the leakage current caused by the floating bit may violate the suspend current limitation specified by the USB Specification. If a ‘1’ is written to the unused data bit and the port is configured with open drain outputs, the unused data bit will be in an indeterminate state. Therefore, if an unused port bit is programmed in open-drain mode, it must be written with a ‘0.’ Notice that the CY7C63613C will always require that data bits P1[7:4], P2[7:0], P3[3:0] and DAC[7:0] be written with a ‘0’.

Table 7. Port 0 Interrupt Enable

During reset, all of the bits in the GPIO to a default configu- ration of Open Drain output, positive interrupt polarity for all GPIO ports.

GPIO Interrupt Enable Ports

During a reset, GPIO interrupts are disabled by clearing all of the GPIO interrupt enable ports. Writing a “1” to a GPIO Interrupt Enable bit enables GPIO interrupts from the corre- sponding input pin.

GPIO Configuration Port

Every GPIO port can be programmed as inputs with internal pull-ups, open drain outputs, and traditional CMOS outputs. In addition, the interrupt polarity for each port can be pro- grammed. With positive interrupt polarity, a rising edge (“0” to “1”) on an input pin causes an interrupt. With negative polarity, a falling edge (“1” to “0”) on an input pin causes an interrupt. As shown in the table below, when a GPIO port is configured with CMOS outputs, interrupts from that port are disabled. The GPIO Configuration Port register provides two bits per port to program these features. The possible port configurations are as shown in Table 11.

 

Addr: 0x04

 

Port 0 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0[7]

P0[6]

 

P0[5]

P0[4]

P0[3]

P0[2]

P0[1]

P0[0]

 

 

 

 

 

 

 

 

 

 

 

W

W

 

W

W

W

W

W

W

 

 

 

 

 

 

 

 

 

 

 

Table 8. Port 1 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x05

 

Port 1 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

P1[7]

P1[6]

 

P1[5]

P1[4]

P1[3]

P1[2]

P1[1]

P1[0]

 

 

 

 

 

 

 

 

 

 

 

W

W

 

W

W

W

W

W

W

 

 

 

 

 

 

 

 

 

 

 

Table 9. Port 2 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x06

 

Port 2 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

P2[7]

P2[6]

 

P2[5]

P2[4]

P2[3]

P2[2]

P2[1]

P2[0]

 

 

 

 

 

 

 

 

 

 

 

W

W

 

W

W

W

W

W

W

 

 

 

 

 

 

 

 

 

 

 

Table 10.Port 3 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x07

 

Port 3 Interrupt Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

P3[7]

P3[6]

 

P3[5]

P3[4]

P3[3]

P3[2]

P3[1]

P3[0]

 

 

 

 

 

 

 

 

 

 

 

W

W

 

W

W

W

W

W

W

 

 

 

 

 

 

 

 

 

 

Document #: 38-08027 Rev. *B

 

 

 

 

 

Page 12 of 32

[+] Feedback

Image 12
Contents Features Functional OverviewCypress Semiconductor Corporation CY7C63413C CY7C63513C CY7C63613C Logic Block Diagram Pin Definitions Programming ModelBit Data Stack Pointer DSP Address ModesMOV A,DSPINIT Buttons EQU 10h MOV A,buttonsInstruction Set Summary Operand Opcode CyclesMemory Organization Program Memory OrganizationReserved Program Memory begins hereData Memory Organization Register Summary O Register SummaryRegister Name Address Read/Write Function USB Address A, Endpoint 0 counter registerReset ClockingGeneral Purpose I/O Ports PinAddr Port 1 Data Addr Port 2 DataPort 0 Interrupt Enable Gpio Interrupt Enable PortsGpio Configuration Port Addr Port 0 Interrupt Enable+ default Addr Gpio Configuration RegisterDAC Port Cmos OutputDAC Port Interrupt Enable Addr DAC Port Interrupt EnableDAC Port Interrupts DAC Isink RegistersUSB Serial Interface Engine SIE USB Device USB Device Counter Registers Addr 0x11, 0x13 USB Device Counter RegistersData 0/1 Byte countBit Free-running Timer Timer LSB Timer RegisterAddr Timer Register LSB Timer MSB Timer Register Addr Timer Register MSBGlobal Interrupt Enable Register Addr USB End Point Interrupt Enable Register AddrInterrupts Gpio DACInterrupt Vectors Interrupt Vector AssignmentsInterrupt Vector Number ROM Address Function Interrupt LatencyUSB Register Mode Encoding Truth TablesEncoding NAKWhat the SIE does to Mode bits PID Status bits Interrupt? EncodingSet End Point Mode Setup Packet if acceptingControl Write Control ReadOut endpoint Power-On Reset Absolute Maximum RatingsParameter Min Max Unit Conditions General USB InterfaceSwitching Characteristics Differential Data Lines Ordering Information Ordering CodePackage Package Type Operating Size RangeDie Pad Locations DIe Pad Locations in microns Pad # Pin NamePackage Diagrams Lead Shrunk Small Outline Package SP48Lead 600-Mil Molded DIP P2 Package Diagrams Lead 300-Mil Soic S24.3/SZ24.3 PIN 1 IDIssue Orig. Description of Change Date Document HistoryDSG TYJ

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.