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.

AWR1642: What are IOMM, PINMMR166, TBCLKSYNC in AWR1642 TRM?

Part Number: AWR1642

Hi,

We're going to use ePWM in AWR1642. From TRM, we see IOMM, PINMMR166 and TBCLKSYNC

I assume they're misplacement here since there're no such items in AWR1642.
BTW, I assume the ePWM clock is from MSS_VCLK and that means the clock for every ePWM module is sync already. Am I correct?

  • Hello James,

    Let me look into this and get back to you. I will provide you an update by Wednesday this week.

    Regards,

    Adrian 

  • Hello,

    Sorry for the late response. The IP for the ePWM is carried over from the Hercules MCU's, so I think that is where some of those names are coming from. Please use the pinmux tool to understand how to enable the ePWM in the pinmux and then from there you will need to use the registers provided in the 'MSS_ETPWM1 Registers' section to configure the pinmux. 

    Unfortunately since the PWM is not directly supported in the SDK we do not have any example drivers to provide you but the Hercules drivers might be a good place to start since it is the same IP. You would just need to update the register base-address and the interrupt lines.

    The SYNC is used to synchronize the PWM to whatever value is stored in the time-base phase register (TBPHS). Please refer to section 21.3.7: Practical Applications Using Phase Control Between PWM Modules for a better understanding of how this is used.

     

    Regards,

    Adrian