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_6_Def.py

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:

Table 9-1 Page 6 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))