| Electronic Components Datasheet Search |
|
ADS9813 Datasheet(PDF) 28 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
ADS9813 Datasheet(HTML) 28 Page - Texas Instruments |
|
28 / 57 page ![]() 6.5 Programming 6.5.1 Register Write Register write access is enabled by setting SPI_RD_EN = 0b. The 16-bit configuration registers are grouped in three register banks and are addressable with an 8-bit register address. Select register bank 1 and register bank 2 for read or write operation by configuring the PAGE_SEL0 and PAGE_SEL1 bits, respectively. Registers in bank 0 are always accessible, irrespective of the PAGE_SELx bits. These register addresses are unique and are therefore not used in register banks 1 and 2. As shown in Figure 6-9, steps to write to a register are: 1. Frame 1: Write to register address 0x03 in register bank 0 to select either register bank 1 or bank 2 for a subsequent register write. This frame has no effect when writing to registers in bank 0. 2. Frame 2: Write to the register in the bank selected in frame 1. Repeat this step for writing to multiple registers in the same register bank. 24-bits CS SCLK { addr[23:16] = 0x03, data[15:0] = 0x0002 or 0x0010 } Register Write for Bank Selection (ADDR = 0x03) Not Required for Register Bank 0 Register Write { addr[23:16] = REG_ADDR, data[15:0] = DATA } SDI Logic 0 (when SPI_MODE = 0b) and Hi-Z (when SPI_MODE = 1b) SDO Frame 1 Frame 2 Figure 6-9. Register Write 6.5.2 Register Read Select the desired register bank by writing to register address 0x03 in register bank 0. Register read access is enabled by setting SPI_RD_EN = 1b and SPI_MODE = 1b in register bank 0. As illustrated in Figure 6-10, read registers by using two 24-bit SPI frames after the SPI_RD_EN and SPI_MODE bits are set. The first SPI frame selects the register bank. The ADC returns the 16-bit register value in the second SPI frame corresponding to the 8-bit register address. As illustrated in Figure 6-10, the steps to read a register are: 1. Frame 1: With SPI_RD_EN = 0b, write to register address 0x03 in register bank 0 to select the desired register bank 0 for reading. 2. Frame 2: Set SPI_RD_EN = 1b and SPI_MODE = 1b in register address 0x00 in register bank 0. 3. Frame 3: Read any register in the selected bank using a 24-bit SPI frame containing the desired register address. Repeat this step with the address of any register in the selected bank to read the corresponding register. 4. Frame 4: Set SPI_RD_EN = 0 to disable register read and re-enable register writes. 5. Repeat steps 1 through 4 to read registers in a different bank. ADS9813 SBASAQ6 – APRIL 2024 www.ti.com 28 Submit Document Feedback Copyright © 2024 Texas Instruments Incorporated Product Folder Links: ADS9813 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |