This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Multiple ADC Issue in SDK10.0.0.35

Part Number: AM2634
Other Parts Discussed in Thread: CCSTUDIO, SYSCONFIG

Tool/software:

Hi expert,

    Customer reports they meet issue to enable 2 ADC converter with SDK10.0. This issue did not happen with SDK9.2.

I tried and I found I got the same issue as customer report with SDK10.0.

Please refer to the test program which modify according to QSPI Flash Transfer. ADC setting is based on demo project adc_software_soc but add one more ADC converter.

qspi_flash_transfer_am263x-cc_r5fss0-0_freertos_ti-arm-clang.zip

I use  ADC0 and ADC1 with internal Vref.

  I aways get fail during System_init(). To be more specific, you can see the traces by CCStudio, the program always get stuck after it enable internal reference buffer for ADC3/4  SOC_enableAdcInternalReference(1, TRUE);

Question 1:

    Even I did not enable REF BUFFER1 in syscfg, the code auto generated by syscfg will still enable it if you have two more ADC converters. Why? The logic of template of  syscfg has issue. Reference Buffer 1 should only be enabled as ADC3 and ADC4 need it.  Please refer to block diagram captured from TRM.

Can I disable this buffer to save power If I don't want to use ADC3 or ADC4?  Did the template of syscfg has problem? 

2. I did some more tests.  I use external Vref with above project by modifying syscfg as 

The program can run successfully.

I also I tried to use noRTOS demo with both Internal Verf  and External Vref. 

The results of both using internal and external Vref are good.  The test code as below.

qspi_flash_transfer_am263x-cc_r5fss0-0_nortos_ti-arm-clang.zip 

The issue should not be caused by REFBUFF setting nor Vref source. I have no idea why 2 more ADCs using Internal Vref and FreeRTOS such combination makes issue in SDK10.0.0.35. 

Can you please check this problem?

Regards

Andre