[FAQ] MCU-PLUS-SDK-AM261X: All ADC2 outputs are '0' on AM261x devices

Part Number: MCU-PLUS-SDK-AM261X
Other Parts Discussed in Thread: LP-AM261, SYSCONFIG

Tool/software:

Hi TI experts,

All ADC2 values output as '0' on AM261x.

Example output on is adc_multiple_soc_epwm_am261x-lp_r5fss0-0_nortos_ti-arm-clang and on LP-AM261:

ADC2 SOC0 : SOC1 : SOC2 : ADC1 SOC0 : SOC1: SOC2 Result register value :

0 : 0 : 0 : 4095 : 4095 : 4095

0 : 0 : 0 : 2795 : 2443 : 2475

0 : 0 : 0 : 1814 : 1962 : 1981

0 : 0 : 0 : 1432 : 1838 : 1847

0 : 0 : 0 : 1184 : 1810 : 1815

0 : 0 : 0 : 1117 : 1799 : 1805

0 : 0 : 0 : 1097 : 1794 : 1800

0 : 0 : 0 : 1091 : 1791 : 1797

0 : 0 : 0 : 1091 : 1792 : 1798

0 : 0 : 0 : 1095 : 1798 : 1802

0 : 0 : 0 : 1094 : 1796 : 1801

ADC EPWM Triggered Conversion Test Passed

  • Hi

    To fix this issue:

    1. Go to file "C:\ti\mcu_plus_sdk_am261x_10_00_01_03\source\sysconfig\drivers\.meta\adc\soc\adc_am261x.syscfg.js"
    2. Navigate to line #387 and modify like below:
    3. Rebuild the application
    4. You should now be able to see the correct output when running the example

    Regards,
    Akshit