Other Parts Discussed in Thread: TMDSCNCD263
Hi,
I am using TMDSCNCD263 eval board and trying to read ADC0 AIN0 but it is not working. I have checked the voltage at the pin, it about 10mv but the digital reading is always above 2400, what is wring.
ADC settings are:
.base = CSL_CONTROLSS_ADC0_U_BASE,
.clkPrescale = ADC_CLK_DIV_4_0,
.resolution = ADC_RESOLUTION_12BIT,
.signalMode = ADC_MODE_SINGLE_ENDED,
.priMode = ADC_PRI_ALL_ROUND_ROBIN,
.burstTrigger = ADC_TRIGGER_SW_ONLY,
.burstSize = 1,
.socNumber = ADC_SOC_NUMBER0,
.trigger = ADC_TRIGGER_EPWM0_SOCA,
.channel = ADC_CH_ADCIN0,
.sampleWindow = 15,
.socTrigger = ADC_INT_SOC_TRIGGER_NONE,
I am able to read ADC0 AIN2, AIN4 perfectly
Thanks
Baljeet