| 数据搜索系统,热门电子元器件搜索 |
|
AD7262BSTZ 数据表(PDF) 24 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7262BSTZ 数据表(HTML) 24 Page - Analog Devices |
|
24 / 32 page ![]() AD7262 Rev. 0 | Page 24 of 32 ON-CHIP REGISTERS The AD7262/AD7262-5 contain a control register, two offset registers for storing the offsets for each ADC, and two external gain registers for storing the gain error. The control register and the offset and gain registers are read and write registers. On power-up, all registers in the AD7262/AD7262-5 are set to 0. Addressing the On-Chip Registers Writing to a Register Data is loaded from the PD0/DIN pin of the AD7262/AD7262-5 on the falling edge of SCLK when CS is in a logic low state. Four address bits and 12 data bits must be clocked into the device. Thus, on the 16th falling SCLK edge, the LSB is clocked into the AD7262/AD7262-5. One more SCLK cycle is then required to write to the internal device registers. In total, 17 SCLK cycles are required to successfully write to the AD7262/AD7262-5. The control and offset registers are 12-bits registers; the gain registers are 7-bit registers. When writing to a register, the user must first write the address bits corresponding to the selected register. Table 11 shows the decoding of the address bits. The four RD bits are written MSB first, that is, RD3 followed by RD2, RD1, and RD0. The AD7262/AD7262-5 decodes these bits to determine which register is being addressed. The subsequent 12 bits of data are written to the addressed register. When writing to the external gain registers, the seven bits of data immediately after the four address bits are written to the register. However, 17 SCLK cycles are still required, and the PD0/DIN pin of the AD7262/AD7262-5 should be tied low for the five additional clock cycles. Table 11. Read and Write Register Addresses RD3 RD2 RD1 RD0 Comment 0 0 0 0 ADC result (default) 0 0 0 1 Control register 0 0 1 0 Offset ADC A internal 0 0 1 1 Offset ADC B internal 0 1 0 0 Gain ADC A external 0 1 0 1 Gain ADC B external Reading from a Register The internal offset of the device, which has been measured by the AD7262/AD7262-5 and stored in the on-chip registers during the calibration, can be read back by the user. The content of the external gain registers can also be read. To read the content of any register, the user must first write to the control register by writing 0001 to the WR3 to WR0 bits via the PD0/DIN pin, as outlined in Table 10. The next four bits in the control register are the RD bits, which are used to select the desired register from which to read. The appropriate 4-bit address for each of the offset and gain registers is outlined in Table 11. The remaining eight SCLK cycles bits are used to set the remaining bits in the control register to the desired state for the next ADC conversion. The 19th SCLK falling edge clocks out the first data bit of the digital code corresponding to the value stored in the selected internal device register on the DOUTA pin. DOUTB outputs the conversion result from ADC B. Once the selected register has been read, the control register must be reset to output the ADC results for future conversions. This is achieved by writing 0001 to the WR3 to WR0 bits, followed by 0000 to the RD bits. The remaining eight bits in the control register should then be set to the required configuration for the next ADC conversion. CS SCLK DOUTA PD0/DIN 10 14 16 THREE-STATE 11 12 13 17 THREE- STATE 15 DB10A DB11A DB0A 18 19 20 30 31 THREE-STATE RD1 RD0 MSB DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 RD2 RD3 t2 t8 t QUIET 9 8 7 6 5 4 3 2 1 t13 t14 Figure 31. Timing Diagram for Writing to a Register CS SCLK DOUTA PD0/DIN 10 14 16 THREE-STATE 11 12 13 17 THREE- STATE 15 DB10A DB11A DB0A 18 20 19 30 31 THREE-STATE 0 1 RD3 RD2 RD1 RD0 0 0 0 0 0 0 0 0 0 0 t2 t13 t14 t8 tQUIET 9 8 7 6 5 4 3 2 1 Figure 32. Timing Diagram for a Read Operation with PD0/DIN as an Input |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |