Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

CY7C63612-SC Datasheet(PDF) 9 Page - Cypress Semiconductor

Part # CY7C63612-SC
Description  Low-speed USB Peripheral Controller
Download  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CYPRESS [Cypress Semiconductor]
Direct Link  http://www.cypress.com
Logo CYPRESS - Cypress Semiconductor

CY7C63612-SC Datasheet(HTML) 9 Page - Cypress Semiconductor

Back Button CY7C63612-SC Datasheet HTML 5Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 6Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 7Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 8Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 9Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 10Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 11Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 12Page - Cypress Semiconductor CY7C63612-SC Datasheet HTML 13Page - Cypress Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 36 page
background image
CY7C63411/12/13
CY7C63511/12/13
CY7C63612/13
FOR
FOR
Document #: 38-08027 Rev. **
Page 9 of 36
4.4
8-bit Program Stack Pointer (PSP)
During a reset, the Program Stack Pointer (PSP) is set to zero. This means the program “stack” starts at RAM address 0x00 and
“grows” upward from there. Note the program stack pointer is directly addressable under firmware control, using the MOV PSP,A
instruction. The PSP supports interrupt service under hardware control and CALL, RET, and RETI instructions under firmware
control.
During an interrupt acknowledge, interrupts are disabled and the 14-bit program counter, carry flag, and zero flag are written as
two bytes of data memory. The first byte is stored in the memory addressed by the program stack pointer, then the PSP is
incremented. The second byte is stored in memory addressed by the program stack pointer and the PSP is incremented again.
The net effect is to store the program counter and flags on the program “stack” and increment the program stack pointer by two.
The Return From Interrupt (RETI) instruction decrements the program stack pointer, then restores the second byte from memory
addressed by the PSP. The program stack pointer is decremented again and the first byte is restored from memory addressed
by the PSP. After the program counter and flags have been restored from stack, the interrupts are enabled. The effect is to restore
the program counter and flags from the program stack, decrement the program stack pointer by two, and re-enable interrupts.
The Call Subroutine (CALL) instruction stores the program counter and flags on the program stack and increments the PSP by two.
The Return From Subroutine (RET) instruction restores the program counter, but not the flags, from program stack and decre-
ments the PSP by two.
4.5
8-bit Data Stack Pointer (DSP)
The Data Stack Pointer (DSP) supports PUSH and POP instructions that use the data stack for temporary storage. A PUSH
instruction will pre-decrement the DSP, then write data to the memory location addressed by the DSP. A POP instruction will read
data from the memory location addressed by the DSP, then post-increment the DSP.
During a reset, the Data Stack Pointer will be set to zero. A PUSH instruction when DSP equal zero will write data at the top of
the data RAM (address 0xFF). This would write data to the memory area reserved for a FIFO for USB endpoint 0. In non-USB
applications, this works fine and is not a problem. For USB applications, it is strongly recommended that the DSP is loaded after
reset just below the USB DMA buffers.
4.6
Address Modes
The CY7C63612/13 microcontrollers support three addressing modes for instructions that require data operands: data, direct,
and indexed.
4.6.1
Data
The “Data” address mode refers to a data operand that is actually a constant encoded in the instruction. As an example, consider
the instruction that loads A with the constant 0xE8h:
• MOV A,0E8h
This instruction will require two bytes of code where the first byte identifies the “MOV A” instruction with a data operand as the
second byte. The second byte of the instruction will be the constant “0xE8h”. A constant may be referred to by name if a prior
“EQU” statement assigns the constant value to the name. For example, the following code is equivalent to the example shown
above:
• DSPINIT: EQU 0E8h
• MOV A,DSPINIT
4.6.2
Direct
“Direct” address mode is used when the data operand is a variable stored in SRAM. In that case, the one byte address of the
variable is encoded in the instruction. As an example, consider an instruction that loads A with the contents of memory address
location 0x10h:
• MOV A, [10h]
In normal usage, variable names are assigned to variable addresses using “EQU” statements to improve the readability of the
assembler source code. As an example, the following code is equivalent to the example shown above:
• buttons: EQU 10h
• MOV A,[buttons]
4.6.3
Indexed
“Indexed” address mode allows the firmware to manipulate arrays of data stored in SRAM. The address of the data operand is
the sum of a constant encoded in the instruction and the contents of the “X” register. In normal usage, the constant will be the
“base” address of an array of data and the X register will contain an index that indicates which element of the array is actually
addressed:


Similar Part No. - CY7C63612-SC

ManufacturerPart #DatasheetDescription
logo
Cypress Semiconductor
CY7C63613C CYPRESS-CY7C63613C Datasheet
1Mb / 32P
   Low-Speed High I/O, 1.5-Mbps USB Controller
CY7C63613C-SXC CYPRESS-CY7C63613C-SXC Datasheet
1Mb / 32P
   Low-Speed High I/O, 1.5-Mbps USB Controller
More results

Similar Description - CY7C63612-SC

ManufacturerPart #DatasheetDescription
logo
Cypress Semiconductor
CY7C63221 CYPRESS-CY7C63221 Datasheet
1Mb / 50P
   Low-speed USB Peripheral Controller
CY7C63221A CYPRESS-CY7C63221A_04 Datasheet
966Kb / 50P
   Low-speed USB Peripheral Controller
CY7C632XX CYPRESS-CY7C632XX Datasheet
44Kb / 3P
   Low-speed USB Peripheral Controller
CY7C63221A CYPRESS-CY7C63221A Datasheet
960Kb / 49P
   enCoRe USB Low-speed USB Peripheral Controller
CY7C63310 CYPRESS-CY7C63310_11 Datasheet
1Mb / 86P
   enCoRe??II Low Speed USB Peripheral Controller
CY7C63310 CYPRESS-CY7C63310_08 Datasheet
1Mb / 83P
   enCoRe II Low Speed USB Peripheral Controller
CY7C63310 CYPRESS-CY7C63310 Datasheet
1Mb / 83P
   enCoRe??II Low-Speed USB Peripheral Controller
CY7C63310 CYPRESS-CY7C63310_12 Datasheet
1,018Kb / 91P
   enCoRe??II Low Speed USB Peripheral Controller
CY7C63923-PVXC CYPRESS-CY7C63923-PVXC Datasheet
1Mb / 68P
   enCoRe??II Low-Speed USB Peripheral Controller
logo
NXP Semiconductors
ISP1582 NXP-ISP1582 Datasheet
364Kb / 69P
   Hi-Speed USB peripheral controller
Rev. 07-22 September 2008
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com