Cypress CY7C63613C Bit Free-running Timer, Timer LSB Timer Register, Addr Timer Register LSB, Irq

Page 18

CY7C63413C

CY7C63513C

CY7C63613C

12-bit Free-running Timer

The 12-bit timer provides two interrupts (128 s and 1.024 ms) and allows the firmware to directly time events that are up to 4 ms in duration. The lower 8 bits of the timer can be read directly by the firmware. Reading the lower 8 bits latches the

Timer (LSB)

Table 22.Timer Register

upper 4 bits into a temporary register. When the firmware reads the upper 4 bits of the timer, it is actually reading the count stored in the temporary register. The effect of this logic is to ensure a stable 12-bit timer value can be read, even when the two reads are separated in time.

Addr: 0x24

 

Timer Register (LSB)

 

 

 

 

 

 

 

 

 

 

 

Timer

Timer

Timer

Timer

Timer

Timer

Timer

Timer

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

 

 

 

 

 

 

 

R

R

R

R

R

R

R

R

 

 

 

 

 

 

 

 

Timer (MSB)

 

 

 

 

 

 

 

Table 23.Timer Register

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0x25

 

Timer Register (MSB)

 

 

 

 

 

 

 

 

 

 

 

Reserved

Reserved

Reserved

Reserved

Timer

Timer

Timer

Timer

 

 

 

 

Bit 11

Bit 10

Bit 9

Bit 8

 

 

 

 

 

 

 

 

 

 

 

 

R

R

R

R

 

 

 

 

 

 

 

 

1.024-ms interrupt

128-s interrupt

11 10 9

8

7

6

5

4

3

2

1

0

1-MHz clock

 

 

 

 

 

 

 

 

 

 

 

 

 

L3

 

L2

 

L1

 

L0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D3

 

D2

 

D1

 

D0

D7

D6 D5 D4 D3 D2 D1

D0

 

 

 

 

 

 

 

8

 

To Timer Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6. Timer Block Diagram

 

 

 

 

 

 

Processor Status and Control Register

 

 

 

 

 

 

 

 

Table 24.Processor Status and Control Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Addr: 0xFF

Processor Status and Control Register

 

POR Default: 0x0101

 

 

 

 

 

 

 

 

 

 

WDC Reset: 0x41

7

 

6

5

 

4

3

2

 

 

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

IRQ

 

Watch Dog

USB Bus

 

Power-on

Suspend,Wait

Interrupt

 

Single Step

 

Run

Pending

 

Reset

Reset

 

Reset

for Interrupt

Mask

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

 

R/W

R/W

 

R/W

R/W

R

 

R/W

 

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

The “Run” (bit 0) is manipulated by the HALT instruction. When Halt is executed, the processor clears the run bit and halts at the end of the current instruction. The processor remains

halted until a reset (Power On or Watch Dog). Notice, when writing to the processor status and control register, the run bit should always be written as a “1.”

Document #: 38-08027 Rev. *B

Page 18 of 32

[+] Feedback

Image 18
Contents Features Functional OverviewCypress Semiconductor Corporation CY7C63413C CY7C63513C CY7C63613C Logic Block Diagram Pin Definitions Programming ModelMOV A,DSPINIT Bit Data Stack Pointer DSPAddress Modes Buttons EQU 10h MOV A,buttonsInstruction Set Summary Operand Opcode CyclesReserved Memory OrganizationProgram Memory Organization Program Memory begins hereData Memory Organization Register Name Address Read/Write Function Register SummaryO Register Summary USB Address A, Endpoint 0 counter registerReset ClockingAddr Port 1 Data General Purpose I/O PortsPin Addr Port 2 DataGpio Configuration Port Port 0 Interrupt EnableGpio Interrupt Enable Ports Addr Port 0 Interrupt EnableDAC Port + defaultAddr Gpio Configuration Register Cmos OutputDAC Port Interrupts DAC Port Interrupt EnableAddr DAC Port Interrupt Enable DAC Isink RegistersUSB Serial Interface Engine SIE USB Device Data 0/1 USB Device Counter RegistersAddr 0x11, 0x13 USB Device Counter Registers Byte countAddr Timer Register LSB Bit Free-running TimerTimer LSB Timer Register Timer MSB Timer Register Addr Timer Register MSBInterrupts Global Interrupt Enable Register AddrUSB End Point Interrupt Enable Register Addr Gpio DACInterrupt Vector Number ROM Address Function Interrupt VectorsInterrupt Vector Assignments Interrupt LatencyEncoding USB Register Mode EncodingTruth Tables NAKWhat the SIE does to Mode bits PID Status bits Interrupt? EncodingControl Write Set End Point ModeSetup Packet if accepting Control ReadOut endpoint Parameter Min Max Unit Conditions General Power-On ResetAbsolute Maximum Ratings USB InterfaceSwitching Characteristics Differential Data Lines Package Package Type Operating Size Ordering InformationOrdering Code 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 IDDSG Issue Orig. Description of Change DateDocument History 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.