stc3800 Connor-Winfield VCXOs, stc3800 Datasheet - Page 36

no-image

stc3800

Manufacturer Part Number
stc3800
Description
Integrated - Stratum 3e Timing Source
Manufacturer
Connor-Winfield VCXOs
Datasheet
Application Notes continued
Figure 11 shows the basic EEPROM access architecture:
Data in the EEPROM is organized as 232 pages of 32 bytes each. A 32 byte FIFO provides the data read/write
buffering path for EEPROM accesses, and page numbers are provided by the EE_Page_Num register. For writes, the
application loads the page number and 32 bytes of data into the FIFO. A write command then initiates the write
sequence, which is completed automatically by the device. For a read, the application writes the page number, followed
by a read command. The device reads the data into the FIFO, and the application retrieves the data with successive
reads of the EE_FIFO_Port register.
Specifically, the sequence of operations to perform a write are as follows:
This sequence is repeated for each page of data desired to be written. Writing of any particular byte of data requires
writing the full page. For multiple page writes, the write enable/disable operation may encapsulate the entire write
sequence, i.e. it does not need to be repeated per page. Writing may be disabled immediately after the write command.
Read operations are performed as follows:
This sequence is repeated for each page of data desired to be read. Reading of any particular byte of data requires reading
the full page.
Aborted read or write sequences which do not complete the full 32 read or write cycles for a given page are
automatically cleared by the device at the beginning of the next read or write operation.
1) Enable writing by setting the write enable bit (write 0x01 to the EE_Wrt_Mode register)
2) Poll the Ready bit (bit 7 of the EE_Cmd register, ready = 1) until ready
3) Write the page number (0 - 231, 0x00 - 0xe7) to the EE_Page_Num register
4) Reset the FIFO by clearing bits 0 and 1 in the EE_Cmd register (write 0x00 to the EE_Cmd register)
5) Perform 32 successive writes to the EE_FIFO_Port register with the desired data for that page number
6) Issue a write command by setting the write bit (write 0x01 to the EE_Cmd register)
7) Poll the Ready bit (bit 7 of the EE_Cmd register, ready = 1) until ready
8) Disable writing by clearing the write enable bit (write 0x00 to the EE_Wrt_Mode register)
9) After a power-up reset, if the EEPROM loaded correctly, the Chksum bit in register 33 should read 1.
1) Poll the Ready bit (bit 7 of the EE_Cmd register, ready = 1) until ready
2) Write the page number (0 - 231, 0x00 - 0xe7) to the EE_Page_Num register
3) Set the read bit (write 0x02 to the EE_Cmd register)
4) Poll the Ready bit (bit 7 of the EE_Cmd register, ready = 1) until ready
5) Do 32 successive reads of the EE_FIFO_Port register to retrieve the data
Control
Data
EE_Page_Num
EE_Wrt_Mode
© Copyright 2001 The Connor-Winfield Corp. All Rights Reserved
Registers
EE_Cmd
Register
Preliminary Data Sheet #: TM061
EEPROM Access Architecture
EE_FIFO_Port
Register
Figure 11
Read/Write
Control
STC3800
32 Byte
Address/Control
FIFO
Data
Page 36 of 48
Specifications subject to change without notice
EEPROM
32 Bytes
32 Bytes
32 Bytes
. .
.
Rev: P06
Page 0
Page 1
Page 231
Date: 11/22/04

Related parts for stc3800