MCU+ SDK: EPWM_tbTimebaseClkCfg does not choose the optimal pre-scaler combination

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Not Prioritized
    • SITSW-6568
    • 10.00.00
    • Hide
      am243x-evm
      am243x-lp
      am64xx-evm
      Show
      am243x-evm am243x-lp am64xx-evm

      EPW's examples from MCU+SDK does't work well for all the spectrum of frequencies. Pre-scalers need to be manually adjusted specially for low frequencies. E2E for reference below.

      Proposed:

      A better logic to select optimal hspClkDiv and lspClkDiv
      Or, if not possible, then a better way to expose how to change those values. Could be via SysConfig as it is done in ASM AM263x 

       

      E2E examples:

      AM620-Q1: how to add/configure EHRPWM_SOCA and EHRPWRM_SOCB in SYSFONCIFG tool. - Processors - INTERNAL forum - Processors - INTERNAL - TI E2E support forums

      MCU-PLUS-SDK-AM243X: ePWM inaccuracy at low frequency? - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

       

      AM263x Sysconfig snapshot (attached)

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-5295 - MCU+ SDK: EPWM_tbTimebaseClkCfg doe...
                SYNCHRONIZED
                • Last Sync Date: