
CS5954AM
ADVANCE
INFORMATION
Document #: 38-08025 Rev. **
Page 17 of 44
All these vector interrupts are Read/Write accessible. User can overwrite these default software interrupt vectors by replacing
the user’s interrupt service subroutine.
4.12
Serial EEPROM Interface (2-wire serial interface)
The CS5954AM provides an interface to an external serial EEPROM. The interface is implemented using General-purpose I/O
signals. A variety of serial EEPROM formats can be supported: currently the BIOS ROM supports the two-wire serial EEPROM
type. The serial EEPROM can be used to store specific peripheral USB configuration and add on value functions. It can also be
used for field product upgrades
The CS5954 BIOS uses an interrupt to read and write to/from an external serial EEPROM. The recommended serial EEPROM
device is a 2-wire serial CMOS EEPROM (AT24CXX device family). Currently, the CS5954AM BIOS Revision 1.1 allows reading/
writing to/from EEPROM, up to 2K Bytes (16K bits), 2-wire serial interface device (i.e., AT24C16).
The user’s program and USB vendor/device configuration can be programmed and stored into the external EEPROM device. On
power-up the content of the EEPROM will be downloaded into RAM and may be executed as code or used as data, or both. The
advantage of the 2-wire serial interface/EEPROM interface is the space and cost saving when compared to using an external
eight-bit PROM/EPROM.
The CS5954AM BIOS uses two GPIO pins, GPIO31 and GPIO30 to interface to an external serial EEPROM (see Figure 4-3):
• GPIO31 is connected to the Serial Clock Input (SCL).
• GPIO30 is connected to the Serial Data (SDA).
• We recommend you add a 5K to 15K pull-up resistor on the Data line (e.g., GPIO30).
• Pin 1 (A0), Pin 2 (A1), Pin 3 (A2), Pin 4 (GND) and Pin 7 Write Protect) are connected to Ground.
91 (0x5b)
0x00B6
Data: configuration desc. Default = Cypress configuration[6]
92 (0x5c)
0x00B8
Data: string descriptor. Default = Cypress string desc.[6]
93 (0x5d)
0x00BA
USB_PARSE_CONFIG_INT
94 (0x5e)
0x00BC
USB_LOADER_INT
95 (0x5f)
0x00BE
USB_DELTA_CONFIG_INT
96 (0x60)
0x00C0
USB_PULLUP_INT
97–104
0xC2–0xD0
Reserved for future addition secondary USB port
105 (0x69)
0x00D2
POWER_DOWN_SUBROUTINE
106–109
0xD4–0xDA
Reserved for future secondary USB Port
110–124
0xDE–0xF8
User’s ISR or internal peripheral interrupt
125–127
0xFA–0xFE
Reserved for the debugger
Table 4-4. Software Interrupt Table (continued)
Interrupt Number
Vector Address
Interrupt Type
EEPROM
0.1uF
VCC
5K
GPIO30
AT24C16
1
2
3
4
8
7
6
5
A0
A1
A2
GND
VCC
WP
SCL
SDA
GPIO31
Figure 4-3. 2-Wire Serial Interface 2K-byte Connection
GPIO31
0.1uF
5K
GPIO30
VCC
EEPROM
AT24C128
1
2
3
4
8
7
6
5
A0
A1
A2
GND
VCC
WP
SCL
SDA
Figure 4-4. 2-Wire Serial Interface 16K Connection