| Electronic Components Datasheet Search |
|
ADS9217 Datasheet(PDF) 30 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
ADS9217 Datasheet(HTML) 30 Page - Texas Instruments |
|
30 / 68 page ![]() 7.5 Programming 7.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. Register bank 1 and register bank 2 are selected 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. The register addresses in bank 0 are unique and are not used in register banks 1 and 2. As shown in Figure 7-13, 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 a 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 7-13. Register Write 7.5.2 Register Read Select the desired register bank by writing to register address 0x03 in register bank 0. Set SPI_RD_EN = 1b and SPI_MODE = 1b in register bank 0 to enable register read access. As illustrated in Figure 7-14, read registers with two 24-bit SPI frames after setting SPI_RD_EN and SPI_MODE. 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 7-14, 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 reads and re-enable register writes. 5. Repeat steps 1 through 4 to read registers in a different bank. ADS9117, ADS9118, ADS9119 SLVSIN3 – MAY 2025 www.ti.com 30 Submit Document Feedback Copyright © 2025 Texas Instruments Incorporated Product Folder Links: ADS9117 ADS9118 ADS9119 |
|
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 |