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.

Starterware/AM4379: Undefined analog inputs

Other Parts Discussed in Thread: AM4379, PRU-ICSS-INDUSTRIAL-SW

I am working on Am4379 idk starterware sys/bios_ind sdk 2.1.1.2 and I can not read anolog values with that.All anolog inputs are not defined.

 I checked that ^ No Data in FIFO register when using ADC0 channels ^ link. i could not find where is the problem.I guess Adc pin configuration is not difened. There maybe a problem in files :

adc_app.h

adc_app.c

tsc_adc_ss.h

tsc_adc_ss.c

pinmax.c

am43xx_idkevm_pinmax_data.c

idkevm_config 

I am looking for exact solution. I am looking forward to hearing from you .

  • The RTOS team have been notified. They will respond here.
  • Hello Nazim

    Unfortunately the sys/bios_ind sdk 2.1.1.2 is no longer supported by E2E.

    As noted on the web site for this version  http://www.ti.com/tool/SYSBIOSSDK-IND-SITARA

    TI has moved support of all protocols for AM335x and AM437x to PRU-ICSS-INDUSTRIAL-SW in order to provide a single model for industrial software delivery on current and future devices:

      • A porting guide for migration to PRU-ICSS-INDUSTRIAL-SW is available here
      • TI will no longer provide support for SYSBIOSSDK-IND-AM335x and SYSBIOSSDK-IND-SITARA after 30 June 2017. Please contact your TI representative or indsdksupport@list.ti.com if you are interested in receiving maintenance releases and technical support for either of these SDKs after these dates.

    Regretfully the Processor SDK has only limited support of the AM437x ADC in the example projects. There is however an ADC test example shows the initialization and configuration of the ADC. It is in C:\ti4\pdk_am437x_1_0_9\packages\ti\csl\example\adc\adc_singleshot_test_app

    The AM437x Technical Reference Manual is a good guide to understating the ADC configuration and operation.

    If you plan to use this with an Industrial Communications protocol such as EtherCAT, Profinet , Ethernet/IP  - please note that each Industrial Protocol has specific Processor SDK version requirements. These are described in the User Guide System requirements section.  It typically is best start with the Processor SDK version that is needed for the Industrial SDK protocol that you intend to use.  A link to the previous Processor SDK version is found at the bottom of the Processor SDK download page. http://software-dl.ti.com/processor-sdk-rtos/esd/AM437X/latest/index_FDS.html

    The PRU-ICSS Industrial Protocols are available at  http://www.ti.com/tool/PRU-ICSS-INDUSTRIAL-SW 

    There is also a Sitara FAQ which has some useful information.  http://processors.wiki.ti.com/index.php/FAQ_Sitara_Industrial

    In the PRU-ICSS  Industrial Drives Package - The Motor drive example implements a PRU based ADC control and timing to provide 3 phase current measurements to the FOC.

    David

  • Hi David,

    So you are saying  I should remove '' sys/bios_ind sdk 2.1.1.2'' and   set up  ''ti-processor-sdk-rtos-am437x-evm-04.02.00.09.exe''  aren't you ? Do you think this solution  works ?

  • We will not be able to to provide assistance or recommendations on sys/bios_ind sdk 2.1.1.2 on e2e.

    If you wish to move to one of the supported Processor SDK versions  then 

    Remove the SYS BIOS Industiral SDK 2.1.1.2 .

    Check for and remove the system variable  IA_SDK_HOME in control panel -> System -> Advanced system settings -> Environment Variables in the System Variables .  

    There is not a good example that shows all of the configuration options for the ADC. As a result, it will need to use the AM437x Technical Reference Manual and the AM437x ADC test in the Processor SDK example projects.  This is can be found in the Processor SDK package http://software-dl.ti.com/processor-sdk-rtos/esd/AM437X/latest/index_FDS.html . This example is also in the older versions of the Processor SDK.

    It may also be beneficial to look at the motor control example in the PRU-ICSS Industrial Drives package. However, If you want to build and run the motor control example in the PRU-ICSS Industrial Drives package - please note that this package requires a older version of the Processor SDK -  Processor SDK version 4.0.0 . This is described in the PRU-ICSS Industrial Drives User Guide   http://processors.wiki.ti.com/index.php/PRU_ICSS_Industrial_Drives#System_Requirements

    You can get to the older versions of the Processor SDK by following the pervious release links on the Processor SDK  download pages - OR - by taking this link http://software-dl.ti.com/processor-sdk-rtos/esd/AM437X/04_00_00_04/index_FDS.html Please not each version of the Processor SDK has specific Code Composer Studio requirements. a link to the correct CCS version is just below the link to the Processor SDK down load.

    A word of caution. When starting CCS it will show you the updates that are available. Often one of the updates will be to update CCS to the next version which would be 4.x where X > 0. It is important to not take that update.  This is done by unchecking the box in front of the suggested update.