Cypress CY7C67200 manual GPIO31 GPIO30 GPIO29

Page 74

CY7C67200

Table 42. Register Summary (continued)

R/W

Address

Register

Bit 15

Bit 14

Bit 13

Bit 12

Bit 11

Bit 10

Bit 9

Bit 8

Default High

 

 

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Default Low

R/W

0xC024

GPIO 1 Output Data

GPIO31

GPIO30

GPIO29

Reserved

 

 

 

GPIO24

0000 0000

 

 

 

GPIO23

GPIO22

GPIO21

GPIO20

GPIO19

Reserved

 

 

0000 0000

R

0xC026

GPIO 1 Input Data

GPIO31

GPIO30

GPIO29

Reserved

 

 

 

GPIO24

0000 0000

 

 

 

GPIO23

GPIO22

GPIO21

GPIO20

GPIO19

Reserved

 

 

0000 0000

R/W

0xC028

GPIO 1 Direction

GPIO31

GPIO30

GPIO29

Reserved

 

 

 

GPIO24

0000 0000

 

 

 

GPIO23

GPIO22

GPIO21

GPIO20

GPIO19

Reserved

 

 

0000 0000

R/W

0xC03C

USB Diagnostic

Reserved

Port 2A Diag-

Reserved

Port 1A Diag-

Reserved...

 

 

 

0000 0000

 

 

 

 

nostic Enable

 

nostic Enable

 

 

 

 

 

 

 

 

...Reserved

Pull-down

LS Pull-up

FS Pull-up

Reserved

Force Select

 

 

0000 0000

 

 

 

 

Enable

Enable

Enable

 

 

 

 

 

R/W

0xC070

HSS Control

HSS

RTS

CTS

XOFF

XOFF

CTS

Receive Inter-

Done Interrupt

0000 0000

 

 

 

Enable

Polarity Select

Polarity Select

 

Enable

Enable

rupt Enable

Enable

 

 

 

 

TransmitDone

Receive Done

One

Transmit

Packet

Receive

Receive Pack-

Receive

0000 0000

 

 

 

Interrupt Flag

Interrupt Flag

Stop Bit

Ready

Mode Select

Overflow Flag

et Ready Flag

Ready Flag

 

R/W

0xC072

HSS Baud Rate

Reserved

 

 

HSS Baud...

 

 

 

 

0000 0000

 

 

 

...Baud

 

 

 

 

 

 

 

0001 0111

R/W

0xC074

HSS Transmit Gap

Reserved

 

 

 

 

 

 

 

0000 0000

 

 

 

Transmit Gap Select

 

 

 

 

 

 

0000 1001

R/W

0xC076

HSS Data

Reserved

 

 

 

 

 

 

 

xxxx xxxx

 

 

 

Data

 

 

 

 

 

 

 

xxxx xxxx

R/W

0xC078

HSS Receive Address

Address...

 

 

 

 

 

 

 

0000 0000

 

 

 

...Address

 

 

 

 

 

 

 

0000 0000

R/W

0xC07A

HSS Receive Counter

Reserved

 

 

 

 

 

Counter...

 

0000 0000

 

 

 

...Counter

 

 

 

 

 

 

 

0000 0000

R/W

0xC07C

HSS Transmit Address

Address..

 

 

 

 

 

 

 

0000 0000

 

 

 

...Address

 

 

 

 

 

 

 

0000 0000

R/W

0xC07E

HSS Transmit Counter

Reserved

 

 

 

 

 

Counter...

 

0000 0000

 

 

 

...Counter

 

 

 

 

 

 

 

0000 0000

R/W

0xC080

Host n Control

Reserved

 

 

 

 

 

 

 

0000 0000

 

0xC0A0

 

 

 

 

 

 

 

 

 

 

 

 

Preamble

Sequence

Sync

ISO

Reserved

 

 

Arm

0000 0000

 

 

 

 

 

 

 

 

Enable

Select

Enable

Enable

 

 

 

Enable

 

R/W

0xC082

Host n Address

Address...

 

 

 

 

 

 

 

0000 0000

 

0xC0A2

 

 

 

 

 

 

 

 

 

 

 

 

...Address

 

 

 

 

 

 

 

0000 0000

 

 

 

 

 

 

 

 

 

 

R/W

0xC084

Host n Count

Reserved

Port Select

Reserved

 

 

 

Count...

 

0000 0000

 

0xC0A4

 

 

 

 

 

 

 

 

 

 

 

 

...Count

 

 

 

 

 

 

 

0000 0000

 

 

 

 

 

 

 

 

 

 

R

0xC086

Host n PID

Reserved

 

 

 

Overflow

Underflow

Reserved

 

0000 0000

 

0xC0A6

 

 

 

 

 

Flag

Flag

 

 

 

 

 

 

Stall

NAK

Length

Reserved

Sequence

Timeout

Error

ACK

0000 0000

 

 

 

Flag

Flag

Exception Flag

 

Status

Flag

Flag

Flag

 

W

0xC086

Host n EP Status

Reserved

 

 

 

 

 

 

 

0000 0000

 

0xC0A4

 

 

 

 

 

 

 

 

 

 

 

 

PID Select

 

 

 

Endpoint Select

 

 

0000 0000

 

 

 

 

 

 

 

 

R

0xC088

Host n Count Result

Result...

 

 

 

 

 

 

 

0000 0000

 

0xC0A8

 

 

 

 

 

 

 

 

 

 

 

 

...Result

 

 

 

 

 

 

 

0000 0000

 

 

 

 

 

 

 

 

 

 

W

0xC088

Host n Device Address

Reserved...

 

 

 

 

 

 

 

0000 0000

 

0xC0A8

 

 

 

 

 

 

 

 

 

 

 

 

...Reserved

Address

 

 

 

 

 

 

0000 0000

 

 

 

 

 

 

 

 

 

R/W

0xC08A

USB n Control

Reserved

 

Port A

Port A

Reserved

LOA

Mode

Reserved

xxxx 0000

 

0xC0AA

 

 

 

D+ Status

D– Status

 

 

Select

 

 

 

 

 

Port A

Reserved

 

Port A

 

Suspend

Reserved

Port A

0000 0000

 

 

 

Resistors

 

 

Force D±

 

Enable

 

SOF/EOP

 

 

 

 

Enable

 

 

State

 

 

 

Enable

 

R/W

0xC08C

Host 1 Interrupt Enable

VBUS

ID

Reserved

 

 

 

SOF/EOP

Reserved

0000 0000

 

 

 

Interrupt

Interrupt

 

 

 

 

Interrupt

 

 

 

 

 

Enable

Enable

 

 

 

 

Enable

 

 

 

 

 

Reserved

Port A

Reserved

Port A Con-

Reserved

 

 

Done

0000 0000

 

 

 

 

Wake Interrupt

 

nect Change

 

 

 

Interrupt

 

 

 

 

 

Enable

 

Interrupt

 

 

 

Enable

 

 

 

 

 

 

 

Enable

 

 

 

 

 

R/W

0xC08C

Device 1 Interrupt Enable

VBUS

ID

Reserved

 

SOF/EOP

Reserved

SOF/EOP

Reset

0000 0000

 

 

 

Interrupt

Interrupt

 

 

Timeout Inter-

 

Interrupt

Interrupt

 

 

 

 

Enable

Enable

 

 

rupt Enable

 

Enable

Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EP7

EP6

EP5

EP4

EP3

EP2

EP1

EP0

0000 0000

 

 

 

Interrupt

Interrupt

Interrupt

Interrupt

Interrupt

Interrupt

Interrupt

Interrupt

 

 

 

 

Enable

Enable

Enable

Enable

Enable

Enable

Enable

Enable

 

R/W

0xC08E

Device n Address

Reserved...

 

 

 

 

 

 

 

0000 0000

 

0xC0AE

 

 

 

 

 

 

 

 

 

 

 

 

...Reserved

Address

 

 

 

 

 

 

0000 0000

 

 

 

 

 

 

 

 

 

Document #: 38-08014 Rev. *G

Page 74 of 78

[+] Feedback

Image 74
Contents CY7C67200 EZ-OTG FeaturesTypical Applications CY16Interface Descriptions IntroductionProcessor Core Functional Overview USB Interface USB Interface Pins Pin Name Pin NumberOTG Interface Pins Pin Name Pin Number OTG InterfaceHSS Interface Pins Pin Name Pin Number I2C Eeprom Interface Pins Pin Name Pin NumberSPI Interface Pins Pin Name Pin Number Serial Peripheral InterfaceHPI Addressing HPI A10 HPI Interface Pins 1 Pin Name Pin NumberHost Port Interface HPI Charge Pump InterfaceCrystal Interface Charge Pump Interface Pins Pin Name Pin NumberBooster Interface Boot Mode Crystal Pins Pin Name Pin NumberBoot Configuration Interface PinSleep Power Savings and Reset DescriptionPower Savings Mode Description Memory Map Registers Reserved Bank Register 0xC002 R/WBank Register Example Hex Value Binary Value Hardware Revision Register 0xC004 RCPU Speed Register 0xC008 R/W CPU Speed Definition Processor SpeedOTG Wake Enable Bit Host/Device 2 Wake Enable BitHost/Device 1 Wake Enable Bit HSS Wake Enable BitSPI Interrupt Enable Bit Halt Enable BitOTG Interrupt Enable Bit Host/Device 2 Interrupt Enable BitTimer 1 Interrupt Enable Bit Uart Interrupt Enable BitGpio Interrupt Enable Bit Timer 0 Interrupt Enable BitPull-down Enable Bit Port 2A Diagnostic Enable BitPort 1A Diagnostic Enable Bit LS Pull-up Enable BitWDT Enable Bit Timeout Flag BitLock Enable Bit Reset Strobe BitUSB Registers Register Name Address SIE1/SIE2 Timer n Register R/WGeneral USB Registers 0xC08A/0xC0AAUSB Data Line Pull-up and Pull-down Resistors Mode Port n Mode Select BitPort a Resistors Enable Bit Resistors Function Select EnableISO Enable Bit Preamble Enable BitSync Enable Bit Arm Enable BitHost 1 Count Register 0xC084 Host 2 Count Register 0xC0A4 Host n Address Register R/WHost n Count Register R/W Stall Flag Bit Error Flag BitUnderflow Flag Bit NAK Flag BitPID Select Definition ACK Flag BitHost n PID Register W PID SelectHost n Count Result Register R Host n Device Address Register WSOF/EOP Interrupt Enable Bit Vbus Interrupt Enable BitID Interrupt Enable Bit Port a Wake Interrupt Enable BitSOF/EOP Interrupt Flag Bit Vbus Interrupt Flag BitID Interrupt Flag Bit Port a Wake Interrupt Flag BitHost n SOF/EOP Counter Register R Host n SOF/EOP Count Register R/WCount Bits Count field sets the SOF/EOP counter duration USB Device Only Registers Host n Frame Register RUSB Device Only Registers Reserved Register Name Address Device 1/DeviceNAK Interrupt Enable Bit IN/OUT Ignore Enable BitStall Enable Bit Enable BitDevice n Endpoint n Address Register R/W Device n Endpoint n Count Register R/WDevice n Endpoint n Status Register R/W OUT Exception Flag BitError occurred Error did not occur Setup Flag BitTimeout occurred Timeout condition did not occur Exception Flag BitDevice n Endpoint n Count Result Register R/W Device n Endpoint n Count Result RegisterReset Interrupt Enable Bit Device n Interrupt Enable Register R/WSOF/EOP Timeout Interrupt Enable Bit EP7 Interrupt Enable BitEP3 Interrupt Enable Bit EP5 Interrupt Enable Bit EP2 Interrupt Enable BitEP4 Interrupt Enable Bit EP1 Interrupt Enable BitDevice n Address Register W Device n Status Register R/WEP6 Interrupt Flag Bit Reset Interrupt Flag BitEP7 Interrupt Flag Bit EP5 Interrupt Flag BitDevice n Frame Number Register R SOF/EOP Timeout Flag BitSOF/EOP Timeout Interrupt Counter Bits Device n SOF/EOP Count Register WCharge Pump Enable Bit Vbus Pull-up Enable BitReceive Disable Bit Vbus Discharge Enable BitMode Select Definition Gpio Configuration 108 111 Reserved Write Protect Enable BitSAS Enable Bit Vbus Valid Flag BitInterrupt 0 Enable Bit HSS Enable BitSPI Enable Bit Interrupt 0 Polarity Select BitGpio 0 Direction Register 0xC022 R/W Gpio 0 Input Data Register 0xC020 RGpio 1 Input Data Register 0xC026 R HSS Registers Register Name Address Gpio 1 Direction Register 0xC028 R/WHSS Registers Receive Interrupt Enable Bit Xoff Enable BitCTS Enable Bit RTS Polarity Select BitReceive Overflow Flag Bit Packet Mode Select BitTransmit Ready Bit Receive Packet Ready Flag BitHSS Data Register 0xC076 R/W HSS Transmit Gap Register 0xC074 R/WTransmit Gap Select Bits HSS Receive Address Register 0xC078 R/W HSS Receive Counter Register 0xC07A R/WHPI Registers HSS Transmit Address Register 0xC07C R/WHSS Transmit Counter Register 0xC07E R/W HPI Registers Register Name AddressSOF/EOP2 to HPI Enable Bit Vbus to HPI Enable BitID to HPI Enable Bit HPI Breakpoint Register 0x0140 RSOF/EOP1 to CPU Enable Bit SOF/EOP2 to CPU Enable BitSOF/EOP1 to HPI Enable Bit Reset2 to HPI Enable BitData Bits SIEXmsg Register WSIE1msg Register SIE2msg Register HPI Mailbox Register 0xC0C6 R/WID Flag Bit Reset2 Flag BitVbus Flag Bit SOF/EOP2 Flag BitMailbox Out Flag Bit SPI Registers Reset1 Flag BitDone1 Flag Bit SPI Registers Register Name AddressMaster Active Enable Bit 3Wire Enable BitPhase Select Bit Master Enable BitSCK Strobe Bit Byte Mode BitRead Enable Bit Fifo Init BitFifo Error Flag Bit Transmit Interrupt Enable BitTransfer Interrupt Enable Bit Receive Bit Length BitsTransfer Interrupt Flag Bit CRC Mode Definition CRCMode CRC PolynomialTransmit Interrupt Flag Bit Transmit Interrupt Clear BitReceive CRC Bit CRC Enable BitCRC Clear Bit One in CRC BitSPI Transmit Address Register 0xC0D8 R/W SPI Transmit Count Register 0xC0DA R/WUart Registers SPI Receive Address Register 0xC0DC R/WSPI Receive Count Register 0xC0DE R/W Uart Registers Register Name AddressBaud Select Bits Uart Enable BitScale Select Bit Uart Baud Select Definition Baud Rate DIV8 =Transmit Full Bit Uart Data Register 0xC0E4 R/WPin Descriptions Name Type Pin DiagramPin Descriptions GPIO19 General Purpose IO GPIO20 General Purpose IOA1 HPI A1 A0 HPI A0Operating Conditions Booster Power Input 2.7V toAbsolute Maximum Ratings Crystal Requirements XTALIN, XtaloutDC Characteristics AC Timing Characteristics Reset TimingParameter Description Min Typical Max Unit Clock TimingI2C Eeprom Timing HPI Host Port Interface Write Cycle Timing Read Pulse Width Data Access Time, from HPInRD fallingHPI Host Port Interface Read Cycle Timing Read Cycle Time Document # 38-08014 Rev. *GHSS Byte and Block Mode Receive HSS Byte Mode TransmitHSS Block Mode Transmit Hardware CTS/RTS Handshake Hssrts HssctsRegister Summary Register SummaryGPIO31 GPIO30 GPIO29 SE0 SOF/EOP2 Ordering Information Ordering Code Package Type PB-Free Package DiagramOrdering Information Ball 7.00 mm x 7.00 mm x 1.2 mm Fbga BA48Issue Orig. Description of Change Date Document History