Cypress CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C, EEPROM-related Vendor-specific Commands

Models: CY7C68320C CY7C68300C CY7C68321C CY7C68301C

1 42
Download 42 pages 50.81 Kb
Page 34
Image 34
Table 12.EEPROM-related Vendor-specific Commands

CY7C68300C/CY7C68301C

CY7C68320C/CY7C68321C

Legal values for wValue are as follows:

0x0000 Internal Config bytes, address range 0x2 – 0xF

0x0002 External I2C memory device

Internal Config byte writes must be constrained to addresses 0x2 through 0xF, as shown in Table 12. Attempts to write outside this address space result in undefined operation. Internal Config byte writes only overwrite AT2LP Configuration Byte registers, the original data source (I2C memory device) remains unchanged.

Table 12.EEPROM-related Vendor-specific Commands

Label

bmRequestType

bRequest

wValue

wIndex

wLength

Data

LOAD_CONFIG_DATA

0x40

0x01

0x0000

30x02 – 0x0F

Data Length

Configuration

 

 

 

 

 

 

Data

READ_CONFIG_DATA

0xC0

0x02

Data Source

Starting Address

Data Length

Configuration

 

 

 

 

 

 

Data

READ_CONFIG_DATA

This USB request allows data retrieval from the data source specified by the wValue field. Data is retrieved beginning at the address specified by the wIndex field (see Table 12). The wLength field denotes the length in bytes of data requested from the data source.

Legal values for wValue are as follows:

0x0000 Configuration bytes, addresses 0x0 – 0xF only

0x0002 External I2C memory device

Illegal values for wValue result in an undefined operation. Attempted reads from an I2C memory device when none is connected result in an undefined operation. Attempts to read configuration bytes with starting addresses greater than 0xF also, result in an undefined operation.

Document 001-05809 Rev. *A

Page 34 of 42

[+] Feedback

Page 34
Image 34
Cypress CY7C68300C/CY7C68301C CY7C68320C/CY7C68321C, EEPROM-related Vendor-specific Commands, Label, bmRequestType