
24
INDUSTRIALTEMPERATURERANGE
IDT5V9888
3.3V EEPROMPROGRAMMABLECLOCKGENERATOR
EEPROMINTERFACE
The IDT5V9888 can also store its configuration in an internal EEPROM. The contents of the device's internal programming registers can be saved to the
EEPROMbyissuingasaveinstruction(ProgSave)andassertingtheWRITEENABLEpinLOW. Theycanbeloadedbacktotheinternalprogrammingregisters
by issuing a restore instruction (ProgRestore).
ToinitiateasaveorrestoreusingI2C,onlytwobytesaretransferred.TheDeviceAddressisissuedwiththeread/writebitsetto"0",followedbytheappropriate
commandcode.ThesaveorrestoreinstructionexecutesaftertheSTOPconditionisissuedbytheMaster,duringwhichtimetheIDT5V9888willnotgenerate
Acknowledgebits. The5V9888willacknowledgetheinstructionsafterithascompletedexecutionofthem. Duringthattime,theI2Cbusshouldbeinterpreted
as busy by all other users of the bus.
UsingJTAG,theProgSaveandProgRestoreinstructionsselectstheBYPASSregisterpathforshiftingthedatafromTDItoTDOduringthedataregisterscanning.
During the execution of a ProgSave or ProgRestore instruction, the IDT5V9888 will not accept a new programming instruction (read, write, save, or restore).
Allnon-programmingJTAGinstructionswillfunctionproperly,buttheusershouldwaituntilthesaveorrestoreiscompletebeforeissuinganewprogramming
instruction. Ifanewprogramminginstructionisissuedbeforethesaveorrestorecompletes,thenewinstructionisignored,andtheBYPASSregisterpathremains
ineffectforshiftingdatafromTDItoTDOduringdataregisterscanning.
The time it takes for the save (TSAVE) and restore (TRESTORE) instructions to complete can be calculated as follows:
TSAVE/TRESTORE = 128 bytes * 8 bits/byte * 1/300KHz + overhead (ms)
ThewaittimebeforeassertingtheWRITEENABLEpinafterthecompletionofasaveinstructionisaminimumof10ms.
PROGSAVE
To save configuration into EEPROM, WRITE ENABLE pin must be set LOW
PROGRESTORE
NOTE:
PROGWRITE is for writing to the 5V9888 registers.
PROGREAD is for reading the 5V9888 registers.
PROGSAVE is for saving all the contents of the 5V9888 registers to the EEPROM.
PROGRESTORE is for loading the entire EEPROM contents to the 5V9888 registers.
S
Address
R/W
ACK
Command Code ACK
7-bits
0
1-bit
8-bits:xxxxxx01
1-bit
P
S
Address
R/W
ACK
Command Code ACK
7-bits
0
1-bit
8-bits:xxxxxx10
1-bit
P
JTAGINTERFACE
InadditiontotheIEEE1149.1instructionsEXTEST,SAMPLE/PRELOAD,
CLAMP, HIGH-Z and BYPASS, the 5V9888 allows access to internal
programmingregistersusingtheREGADDR(setregisteraddress),REGDATAR
(read register) and REGDATW (write register instructions. Data is always
accessedbybyte,andtheregisteraddressincrementsaftereachreadorwrite.
Thefullinstructionsetfollows. TheIDT5V9888willbeupdatingtheregisters
duringprogramming.
The JTAG TAP controller can be reset in one of four ways:
1) Power up in JTAG mode
2) PowerupinI2CmodeandthengointoJTAGmode,orgooutofandback
into JTAG mode with the I2C/JTAG pin
3) Apply TRST while in JTAG mode
4) Apply five rising edges of TCK with TMS high while in JTAG mode
IR (3)
IR (2)
IR (1)
IR (0)
Instructions
0
EXTEST(1)
0
1
SAMPLE/PRELOAD(1)
0
1
0
IDCODE(1)
0
1
REGADDR(2)
0
1
0
REGDATAW / PROGWRITE(3)
0
1
0
1
REGDATAR / PROGREAD(4)
0
1
0
PROGSAVE(5)
0
1
PROGRESTORE(6)
1
0
CLAMP(1)
1
0
1
HIGHZ(1,7)
1
BYPASS(1)
JTAG INSTRUCTION REGISTER
DESCRIPTION
NOTES:
1. IEEE 1149.1 definition
2. REGADDR is for setting a specific 5V9888 register address.
3. REGDATAW/PROGWRITE is for writing to the 5V9888 registers.
4. REGDATAR/PROGREAD is for reading the 5V9888 registers.
5. PROGSAVE is for saving all the contents of the 5V9888 registers to the EEPROM.
WRITE ENABLE pin must be asserted LOW.
6. PROGRESTORE is for loading the entire EEPROM contents to the 5V9888 registers.
7. The OEMs bits for OUT1-6 must be set for tri-state when using the HIGHZ instruction