| поискавой системы для электроныых деталей |
|
AD9520-1/PCBZ датащи(PDF) 59 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD9520-1/PCBZ датащи(HTML) 59 Page - Analog Devices |
|
59 / 80 page ![]() Data Sheet AD9520-1 Rev. B | Page 59 of 80 PROGRAMMING THE EEPROM BUFFER SEGMENT The EEPROM buffer segment is a register space on the AD9520-1. The user can specify which groups of registers are stored to the EEPROM during EEPROM programming. Note that programming this register space is optional. The default power-up values for the EEPROM buffer segment allow storage of all the AD9520-1 register values from Register 0x000 to Register 0x231 to the EEPROM. As an example, a user might want to load only the output driver settings from the EEPROM without disturbing the PLL register settings currently stored in the AD9520-1. The user can alter the EEPROM buffer segment to include only the registers that apply to the output drivers and exclude the registers that apply to the PLL configuration. There are two parts to the EEPROM buffer segment: register section definition groups and operational codes. Table 48 shows an example of the EEPROM buffer segment. Register Section Definition Group Note that the AD9520-1 register map is noncontiguous, and the EEPROM is only 512 bytes long. The register section definition group tells the EEPROM controller how the AD9520-1 register map is segmented. Each register section definition group contains the starting address and number of bytes to be written to EEPROM. The register section definition group defines a continuous register section for the EEPROM profile. It consists of three bytes. The first byte defines how many continuous register bytes are in this group. If the user writes 0x000 to the first byte, it means that there is only one byte in this group. If the user writes 0x001, it means that there are two bytes in this group. The maximum number of registers in one group is 128. The next two bytes are the low byte and high byte, respectively, of the 16-bit memory address of the first register in this group. Operational Codes There are three operational codes: IO_UPDATE, end-of-data, and pseudo-end-of-data. It is important that the EEPROM buffer segment always have either an end-of-data or a pseudo-end-of-data operational code and that an IO_UPDATE operational code appear at least once before the end-of-data operational code. IO_UPDATE (Operational Code 0x80) The EEPROM controller uses this operational code to generate an IO_UPDATE signal to update the active control register bank from the buffer register bank during the download process. At a minimum, there should be at least one IO_UPDATE operational code after the end of the final register section definition group. This code is needed so that at least one IO_UPDATE occurs after all of the AD9520-1 registers are loaded when the EEPROM is read. If this operational code is absent during a write to the EEPROM, the register values loaded from the EEPROM are not transferred to the active register space, and these values do not take effect after they are loaded from the EEPROM to the AD9520-1. End-of-Data (Operational Code 0xFF) The EEPROM controller uses this operational code to terminate the data transfer process between EEPROM and the control register during the upload and download process. The last item appearing in the EEPROM buffer segment should be either this operational code or the pseudo-end-of-data operational code. Pseudo-End-of-Data (Operational Code 0xFE) The AD9520 EEPROM buffer segment has 23 bytes that can contain up to seven register section definition groups. If the user wants to define more than seven register section definition groups, the pseudo-end-of-data operational code can be used. During the upload process, when the EEPROM controller receives the pseudo-end-of-data operational code, it halts the data transfer process, clears the REG2EEPROM bit, and enables the AD9520-1 serial port. The user can then program the EEPROM buffer segment again and reinitiate the data transfer process by setting the REG2EEPROM bit (Register 0xB03[0]) to 1b and the IO_UPDATE bit (Register 0x232[0]) to 1b. The internal I²C master then begins writing to the EEPROM starting from the EEPROM address held from the last writing. This sequence provides the user with more discrete instructions that can be written to the EEPROM than would otherwise be possible due to the limited size of the EEPROM buffer segment. It also allows for the same register to be written multiple times with a different value each time. Table 48. Example of the EEPROM Buffer Segment Reg Addr (Hex) Bit 7 (MSB) Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 (LSB) Start EEPROM Buffer Segment 0xA00 0 Number of bytes [6:0] of the first group of registers 0xA01 Address [15:8] of the first group of registers 0xA02 Address [7:0] of the first group of registers 0xA03 0 Number of bytes [6:0] of the second group of registers 0xA04 Address [15:8] of the second group of registers 0xA05 Address [7:0] of the second group of registers 0xA06 0 Number of bytes [6:0] of the third group of registers 0xA07 Address [15:8] of the third group of registers 0xA08 Address [7:0] of the third group of registers 0xA09 IO_UPDATE operational code (0x80) 0xA0A End-of-data operational code (0xFF) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |