| データシートサーチシステム |
|
The question interval is too short.
Please try again in a few seconds.
Hello, Please ask a question about CY7C63000 Datasheet
# Example questions:
➢ What are the three types of resets supported by the usb controller?
➢ Describe the function of the status and control register (at i/o address 0xff) and identify which bits indicate the occurrence of different reset types.
➢ Explain how the data stack pointer (dsp) needs to be re-mapped after a reset, and why it is necessary.
1. Device Overview:
️· Microcontroller Family: The document describes a microcontroller family (CY7C63000/CY7C63001/CY7C63200/CY7C63201).
️· USB Focus: This microcontroller is specifically designed for USB applications.
️· Reset Mechanisms: Supports three types of resets: Power-On Reset (POR), Watchdog Reset (WDR), and USB Reset.
️· Suspend Mode: Has a Suspend mode to conserve power, triggered by reset and terminated by USB activity.
2. Reset Types:
️· Power-On Reset (POR): Occurs when power is first applied. Sets bit 4 in the Status and Control Register. The device enters Suspend mode initially.
️· Watchdog Reset (WDR): Occurs when the Watchdog Timer expires. Sets bit 5 in the Status and Control Register.
️· USB Reset: Occurs due to a USB-related event. Sets bit 6 in the Status and Control Register.
3. Data Memory and Registers:
️· Data Memory Space: Illustrates the Data Memory Space, including the locations for the Program Stack Pointer (PSP) and Data Stack Pointer (DSP).
️· Data Stack Pointer (DSP): Crucially, the DSP *must* be remapped from its default value of 0x00 to 0x70 before using `PUSH` instructions to avoid overwriting USB FIFO space for Endpoint 1. The remapping process involves moving the value 0x70 into the Accumulator and then swapping it with the DSP.
️· I/O Registers: The document lists several I/O registers and their addresses, including:
- Port 0 Data and Port 1 Data: For general-purpose I/O.
- Port 0/1 Interrupt Enable: To enable interrupt handling for specific pins.
- Port 0/1 Pull-up: To control pull-up resistors.
- USB Endpoint Configuration Registers: For configuring USB endpoint transmission.
- USB Device Address Register: To set the USB device address.
- USB Status & Control Register: Contains information about resets and the Suspend mode, and also allows to stop the microcontroller.
- Global Interrupt Enable: To enable/disable global interrupts.
- Watchdog Timer Clear: To clear the Watchdog Timer.
- Cext Clear: Controls the external R-C timing circuit.
- Timer: A free-running timer.
- Port 0/1 Isink Registers: Control the input sink current for pins.
4. Status and Control Register (Address 0xFF):
️· This is the key register for monitoring reset events and controlling the Suspend mode.
️· Bits 4, 5, and 6 indicate the type of reset that occurred.
️· Bit 3 (Suspend) enables/disables Suspend mode. Bit 0 allows stopping the microcontroller.
️· Reserved bits (bits 1, 2, and 7) must be written as zeros during writes and ignored during reads.
Key Observations & Potential Areas of Confusion:
️· DSP Remapping: The DSP remapping is absolutely critical and a common source of errors if not performed correctly. The explanation could benefit from more emphasis on why it's necessary.
️· Suspend Mode: The interplay between reset, suspend mode, and USB activity needs careful understanding.
️· Reserved Bits: The note about the reserved bits in the Status and Control Register is important.
️· Assembly Language: The DSP remapping instruction sequence assumes the reader has some familiarity with assembly language programming.
️· Lack of Context: The document appears to be an excerpt from a larger manual. It lacks introduction and overall context.
1. Device Overview:
️· Microcontroller Family: The document describes a microcontroller family (CY7C63000/CY7C63001/CY7C63200/CY7C63201).
️· USB Focus: This microcontroller is specifically designed for USB applications.
️· Reset Mechanisms: Supports three types of resets: Power-On Reset (POR), Watchdog Reset (WDR), and USB Reset.
️· Suspend Mode: Has a Suspend mode to conserve power, triggered by reset and terminated by USB activity.
2. Reset Types:
️· Power-On Reset (POR): Occurs when power is first applied. Sets bit 4 in the Status and Control Register. The device enters Suspend mode initially.
️· Watchdog Reset (WDR): Occurs when the Watchdog Timer expires. Sets bit 5 in the Status and Control Register.
️· USB Reset: Occurs due to a USB-related event. Sets bit 6 in the Status and Control Register.
3. Data Memory and Registers:
️· Data Memory Space: Illustrates the Data Memory Space, including the locations for the Program Stack Pointer (PSP) and Data Stack Pointer (DSP).
️· Data Stack Pointer (DSP): Crucially, the DSP *must* be remapped from its default value of 0x00 to 0x70 before using `PUSH` instructions to avoid overwriting USB FIFO space for Endpoint 1. The remapping process involves moving the value 0x70 into the Accumulator and then swapping it with the DSP.
️· I/O Registers: The document lists several I/O registers and their addresses, including:
- Port 0 Data and Port 1 Data: For general-purpose I/O.
- Port 0/1 Interrupt Enable: To enable interrupt handling for specific pins.
- Port 0/1 Pull-up: To control pull-up resistors.
- USB Endpoint Configuration Registers: For configuring USB endpoint transmission.
- USB Device Address Register: To set the USB device address.
- USB Status & Control Register: Contains information about resets and the Suspend mode, and also allows to stop the microcontroller.
- Global Interrupt Enable: To enable/disable global interrupts.
- Watchdog Timer Clear: To clear the Watchdog Timer.
- Cext Clear: Controls the external R-C timing circuit.
- Timer: A free-running timer.
- Port 0/1 Isink Registers: Control the input sink current for pins.
4. Status and Control Register (Address 0xFF):
️· This is the key register for monitoring reset events and controlling the Suspend mode.
️· Bits 4, 5, and 6 indicate the type of reset that occurred.
️· Bit 3 (Suspend) enables/disables Suspend mode. Bit 0 allows stopping the microcontroller.
️· Reserved bits (bits 1, 2, and 7) must be written as zeros during writes and ignored during reads.
Key Observations & Potential Areas of Confusion:
️· DSP Remapping: The DSP remapping is absolutely critical and a common source of errors if not performed correctly. The explanation could benefit from more emphasis on why it's necessary.
️· Suspend Mode: The interplay between reset, suspend mode, and USB activity needs careful understanding.
️· Reserved Bits: The note about the reserved bits in the Status and Control Register is important.
️· Assembly Language: The DSP remapping instruction sequence assumes the reader has some familiarity with assembly language programming.
️· Lack of Context: The document appears to be an excerpt from a larger manual. It lacks introduction and overall context.
| Part No. | CY7C63000 |
| Manufacturer | CYPRESS |
| Size | 358 Kbytes |
| Pages | 27 pages |
| Description | Universal Serial Bus Microcontroller |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
| 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 |