SLUUDD1 August 2025
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:
| 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