Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218128

Forum Post: AM2634: Multiple ADC Issue in SDK10.0.0.35

$
0
0
Part Number: AM2634 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. e2e.ti.com/.../qspi_5F00_flash_5F00_transfer_5F00_am263x_2D00_cc_5F00_r5fss0_2D00_0_5F00_freertos_5F00_ti_2D00_arm_2D00_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 trace by CCS Debugger. The program always get stuck after it tenable Internal REFBuff2 for ADC3/4 SOC_enableAdcInternalReference(1, TRUE); Question 1: Even I did not enable REF BUFFER2 in syscfg, the code auto generated by syscfg will still enable it. Why? 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 modify syscfg as The program can run successfully. I also I tried to use noRTOS demo with Internal Verf and External Vref. The results of both using internal and external Vref are good. The test code as below. e2e.ti.com/.../qspi_5F00_flash_5F00_transfer_5F00_am263x_2D00_cc_5F00_r5fss0_2D00_0_5F00_nortos_5F00_ti_2D00_arm_2D00_clang.zip The issue should not be caused by REFBUFF setting nor Vref source. I have no idea why FreeRTOS with Internal Vref combination make issue with SDK10.0.0.35. As I remember. the default ADC Verf setting is using external Verf in SDK9.2. The APIs to initialize ADC module change from SDK 9.2 to SD10.0. Can you please check this problem? Regards Andre

Viewing all articles
Browse latest Browse all 218128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>