AM2612: EPWM periperals

Part Number: AM2612

Tool/software:

Team,

Can you please confirm the following on AM261x device? We are trying to run 2x BLDC motor which needs 12 ePWM's

  1. 15 dedicated (and independent) PWM outputs are possible (non-multiplexed) What does eGPIO outputs connected to PRU do? Can they be configured as ePWM's?
  2. 14 dedicated (and independent) ADC inputs are possible (non-multiplexed)
  3. need to use USB interface for the following purpose:
    1. Firmware Load
    2. Firmware upgrade
    3. Debug
    4. Data extraction from on-board memory to an external pen-drive memory
  4. Is it possible to use the single USB interface to perform all the above functions?
  5. Does the MCU perform as a Trusted Platform Module (TPM)?

Best Regards,

Madhurya

  • Hi Madhurya,

    We are glad to help you here.

    1) AM261x supports 10x EPWM peripherals which each support 2 channels (A/B) so a total availalble 20 dedicated pwm channels is possible.

    1a) The PRU-ICSS does contain a PWM peripheral for creating additional PWM signals through the eGPIO interface. The eGPIOs are tied to the dedicated PRU mux mode available for a given pin. PWM signals could also be recognized with determinitistic toggling of the eGPIO pins.

    2) AM261x supports 3x ADC Modules with up to 7 input channels per module for a total of 21 input channels. This can also be extended through the use of an external analog mux and the ADC_EXTCH mux control signals.

    3) The USB controller modules present in this device are DRD (Dual-Role Devices), they can support operation as either a USB Host or a USB Device and can support the purposes listed. What is meant by "Debug" in this context? There is a dedicated JTAG interface that is commonly used to enable SoC debug functionality.

    4) I will loop in our USB expert here to provide feedback on performing all of the mentioned functions on the single USB interface, but I believe this should be possible

    5) I am not sure what the criteria are to be considered a Trusted Platform Module. The device does support secure boot as described in this page: AM261x MCU+ SDK: Enabling Secure Boot. The Device adheres to the TIFS MCU standard. TIFS stands for Texas Instruments Foundational Security for AM26xx SoCs. It provides device root of trust and foundational security services. Please refer to the app note below for additional information on the Security Goals of AM26x Devices.

    https://www.ti.com/lit/po/sprt788/sprt788.pdf

    Best Regards,

    Zackary Fleenor

  • I apologize for the lack of follow-up here, 

    Yes, it should be possible to do all of what you requested using a single USB interface. Our SDK and software uses TinyUSB as the interface for user applications. It supports the following features:

    • USB device
    • USB CDC class
    • USB DFU class

    If you find that the SDK and software provided by TI using TinyUSB does not work for your intended use case, the USB device driver has additional functionality.

    For more information on the USB peipheral, I would start with the USB section of the AM261x MCU+ SDK.

    Regards,

    Susan