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.

RTOS/AM4377: Some questions

Part Number: AM4377
Other Parts Discussed in Thread: PROFIBUS

Tool/software: TI-RTOS

Hi, as I mentioned, I have some questions about AM4377.

1. I using AM4377 in XIP. I wanted to apply FoE in my application.

    So I using EtherCAT example, it works well.

    But when I attempt to write something to flash ROM, it fails.

    I used memcpy() directly to address of 0x30020000.

    Just after writing, it seems to be succeeded. But after re-powering, it's gone to somewhere..

    Yes, I got some answers in forum, but it isn't helpful.

    How could I use flash ROM on XIP?

2. I want to ue QEP module for incremental encoder.

    But I couldn't find an example code or reference.

    Please help me to use eQEP on AM4377...

    I want to know procedure of eQEP initializing..(Power setting -> clock setting->QEP setting->...)

    (I wanted QEP settings for QEP_A, QEP_B & INDEX, I couldn't understand TRM of AM4377..)

3. I am using BiSS-C encoder.

    You provided BiSS-C master example, yes, it works fine.

    However I need to modify it, there's no way to fix it with assembly.

    Please let me know whether BiSS-C master code in C..

    (I want to modify recieving bit length for multi-turn data)

  • The RTOS team have been notified. They will respond here. In the future please limit your questions to 1 per post, as they need to be answered by different people.
  • For the XIP booting, the full list of changes required in EtherCAT application to perform XIP boot have been described in section 4 of the application notes here:
    www.ti.com/.../sprac45a.pdf

    Please review the steps and let us know if you have performed the steps described in that app note. Appendix A has the details to flash the QSPI app to the flash memory using utility provided in the SDK.

    Regards,
    Rahul
  • Hi

    2. Regretfully there is not a TI-RTOS example for eQEP in Processor SDK or in the Industrial Protocols Packages at www.ti.com/.../PRU-ICSS-INDUSTRIAL-SWPRU-ICSS-Industrial .  

    The Texas Instruments Industrial Protocol Packages provides a single scalable software platform for Industrial Protocols and Industrial Drives that offers streamlined development across different TI Sitara Processors. The Industrial Protocol packages provide fundamental software (PRU-ICSS firmware to implement Real-Time Ethernet/fieldbus or Industrial interfaces and associated drivers) for development of various Industrial communication protocols like EtherCAT, Profinet, EthernetIP, Profibus etc. The Industrial Drives package provides support for EnDAT and Tamagawa postion feeback, Sigma Delta Decimation and ADC current feedback, and a FOC motor control example. The packages also include sample demo applications which showcase the ability of the software/hardware to implement the protocols .This package is recommended for use as the basis of product development

    TI also offers TI-Designs which highlight device capabilities. Although so f the designs are supported in a standard SDK like the Processor SDK or the PRU-ICSS Industrial Protocols, there are a number of TI designs that are simple standalone examples that demonstrate functionality and are not in a release state and are not maintained in an SDK. Please note View the Important Notice for TI Designs covering authorized use, intellectual property matters and disclaimers.

    The TI designs mentioned below for eQEP and BiSS are stand along examples which illustrate the device features but was not mature tested implementations that are maintained in an SDK.

    There is a Linux eQEP example which may provide some insight.  It is http://www.ti.com/tool/tidep0073. This TI design is provided as a simple stand alone illustration the PRU-ICSS and not is a tested reference eQEP implementation to be used as the basis for product development.

    3. Regretfully the ARM MPU with Integrated BiSS C Master Interface Reference Design is provided only in PRU assembly code. The ARM MPU with Integrated BiSS C Master Interface Reference Design TIDEP0022 is a TI Design which illustrates how the ICSS-PRU can be programmed to support the BiSS C Master protocol. The TI design document, contained on the web page. http://www.ti.com/tool/TIDEP0022, provides a summary of the hardware (an AM437x Industrial Development Kit (IDK)) and software that  used in this example. There is a link to the software that was used at the end of the document. There is also a link to the software on the TI design page. http://www.ti.com/tool/TIDEP0022.  This TI design is provided as a simple stand alone illustration the PRU-ICSS and not is a tested reference BiSS C implementation to be used as the basis for product development.

    David