SLUUDD1 August   2025

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1 Introduction
  5. 2 FT4222_Python_Controller.py
    1. 2.1 I2C Commands
    2. 2.2 SPI Commands
  6. 3 AFE20408_Page_Global_Def.py
  7. 4 AFE20408_Page_0_Def.py
  8. 5 AFE20408_Page_1_Def.py
  9. 6 AFE20408_Page_2_Def.py
  10. 7 AFE20408_Page_3_Def.py
  11. 8 AFE20408_Page_4_Def.py
  12. 9 AFE20408_Page_6_Def.py
  13. 10Main.py
  14. 11Common Sequences
    1. 11.1 Reset Sequence
    2. 11.2 ADC Configuration
    3. 11.3 DAC Configuration
  15. 12Common Issues
  16. 13Summary

AFE20408_Page_Global_Def.py

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:

Table 3-1 Global Page 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)