Other Parts Discussed in Thread: TMDSHSECDOCK, TMDSCNCD263, SYSCONFIG
I ran the example from the SDK 8.06: adc_differential_mode_am263x-cc_r5fss0-0_nortos_ti-arm-clang
I wanted to check ADC0 AIN0 and AIN1. I put a jumper on the TMDSHSECDOCK docking board pins 9 and 11 to ground it out. It should read 2112 for all measurements. This is what I get:
[Cortex_R5_0] ADC Differential Mode Test Started ...
ADC0
SOC0 : SOC1
1984 : 2343
1577 : 2640
1594 : 2627
1594 : 2628
1587 : 2632
1601 : 2666
1603 : 2621
1602 : 2621
1602 : 2621
1588 : 2632
1602 : 2621
ADC Differential Mode Test Passed
All tests have passed!!
I am using the TMDSCNCD263 control card, PCB# PROC110E2. The AM263x Control Card Hardware User's Guide Table 4-18 mentions a MUX Select Signal ADC1_MUX_SEL. Maybe all I need to do is change that, but it doesn't explain how. Is it something with I2C? If so, how do I do it?
I have tested a number of other ADC channels and they work properly (ADC0 AIN2-AIN3, etc.)