Part Number: AM4379
Hi,
I have used the AM437x TI processor with TI-RTOS "pdk_am437x_1_0_15" PDK version. Integrated the "ti/pdk_am437x_1_0_15/packages/ti/starterware/examples/adc/volt_measure" ADC example in RTOS application and it works fine after ported it to TI-RTOS environment.
In the "ti/pdk_am437x_1_0_15/packages/ti/starterware/examples/adc/volt_measure" ADC example i can get only 2x channels ADC values only. So I have added the some patches into the "ti/pdk_am437x_1_0_15/packages/ti/starterware/examples/adc/volt_measure" ADC example based on the "ti/pdk_am437x_1_0_15/packages/ti/csl/example/adc/adc_singleshot_test_app" example to get remaining ADC channel values.
In that case, I have successfully get the configured STEP ID from FIFO but i can't get the each STEP ID's (channel number) valid sampled ADC values. Here i have attached the modified source code files and log file for your reference.
Source Code Files:Modified_ADC0_Source_Files.zip
Log:
StarterWare Boot Loader
BOARDInit status [0x0]
Platform : 2
SoC : [AM43XX]
Core : [A9]
Platform : 2
Board Detected : [IDKEVM]
Base Board Revision : [UNKNOWN]
Daughter Card Revision: [UNKNOWN]
Platform : 2
Copying application image from MMC/SD card to RAM
Jumping to StarterWare Application...
<<<<Start BIOS>>>>
ADC Test Start...
StarterWare ADC voltage measure application!!
ADC Step configuration. Done!!
ISR :[0]
ISR RISED.... Success
Number of samples in FIFO: 5
FIFO Data:
Step ID: 1 Voltage Level: 2091mV
Step ID: 2 Voltage Level: 2102mV
Step ID: 3 Voltage Level: 1467mV
Step ID: 4 Voltage Level: 0mV
Step ID: 5 Voltage Level: 1408mV
Stop ADC
Power Down ADC
ADC Exit..!!
ADC Test End...
Kindly help me to resolve this issue.
Thanks & Regards,
Suresh