SLUUDD1 August 2025
The Global page of the AFE20408 is always accessible – the PAGE register does not need to be changed to access any of the global registers. This file contains the global register addresses in a variable format. The file also contains variables for specific data combinations.
This page contains the following registers:
| Register | Description |
|---|---|
| NOP | Software reset = 0x00AD |
| PAGE |
PAGE 0 = GEN CONFIG PAGE 1 = ADC CONFIG PAGE 2 = ADC CCS CONFIG PAGE 3 = DAC CONFIG PAGE 4 = DAC BUFFER PAGE 6 = DAC ACTIVE |
| GEN_STATUS | Read only |
| ALARM_STATUS_0 | Read only |
| ALARM_STATUS_1 | Read only |
| PWR_STATUS_0 | Read only |
| PWR_STATUS_1 | Read only |
| PWR_EN | DAC Enable configurations |
| TRIGGER | ADC and DAC triggers |
| GPIO | |
| DRVEN_SW_EN | Enables Software DRVEN |
| DRVEN | Software DRVEN configurations |
| DAC_BCAST | DAC Broadcast data |
| GLOBAL_CFG | |
| ADC_SENSE0 | SENSE0 readback |
| ADC_SENSE1 | SENSE1 readback |
| ADC_ADC0 | ADC0 readback |
| ADC_ADC1 | ADC1 readback |
| ADC_TMP | Local temperature readback |
Example:
# Write to the DAC Power Enable address, enable all of the DACs
# Example 1: Use the address variable, use raw data.
ftdiObject.spiWrite(PWR_EN_ADDRESS, 0x01FF)
# Example 2: Use the variables to set the data.
ftdiObject.spiWrite(PWR_EN_ADDRESS, PWR_EN_PAON_En + PWR_EN_PDACB3_En + PWR_EN_PDACB2_En + PWR_EN_PDACB1_En + PWR_EN_PDACB0_En + PWR_EN_PDACA3_En + PWR_EN_PDACA2_En + PWR_EN_PDACA1_En + PWR_EN_PDACA0_En)