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

Page 2 of the AFE20408 contains ADC Custom Channel Sequencing registers. The file contains variables for the registers and specific data combinations. You are required to write 0x0002 to the PAGE register before writing or reading from any register on this page.

This page contains the following registers:

Table 6-1 Page 2 Registers
Register Description
ADC_CCS_IDS_n

Total of 63 CCS registers.

Each register contains 2 indexes, for a total of 126 individual channels.

Options for each channel include:

GND

SENSE0

SENSE1

ADC0

ADC1

TMP

ADC_CCS_CFG_0 Contains the Start and Stop index for the Sequencer

Example:

    #Example: Configure CCS. This will have the ADC iterate through only SENSE0 and ADC1.
    ftdiObject.spiWrite(PAGE_ADDRESS, PAGE_ADC_CCS_CONFIG)  #Set ADC CCS page

    #Set the following parameters:
       #Index 0 = SENSE0
       #Index 1 = ADC1
    ftdiObject.spiWrite(ADC_CCS_IDS_0_ADDRESS, ADC_CCS_IDS_0_CCS_ID_0_SENSE0 + ADC_CCS_IDS_0_CCS_ID_1_ADC1)
    ftdiObject.spiWrite(ADC_CCS_CFG_0_ADDRESS, 0x0001) #Start at index 0, end at index 1