SLUUDD1 August 2025
Page 6 of the AFE20408 contains the Active DAC registers. The file contains variables for the registers. You are required to write 0x0006 to the PAGE register before reading from any register on this page. These registers are Read Only. The registers contain the actual DAC value seen on the DAC output.
This page contains the following registers:
| Registers |
|---|
| DACA0_ACTIVE |
| DACA1_ACTIVE |
| DACA2_ACTIVE |
| DACA3_ACTIVE |
| DACB0_ACTIVE |
| DACB1_ACTIVE |
| DACB2_ACTIVE |
| DACB3_ACTIVE |
Example:
#Example: Read DAC Data
ftdiObject.spiWrite(PAGE_ADDRESS, PAGE_DAC_ACTIVE) #Set DAC Buffer page
#Read the DACA0 data
print(ftdiObject.spiRead(DACA0_ACTIVE_ADDRESS))