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.

TMS320F28379D: Limitation of HRPWM with CPU2

Part Number: TMS320F28379D


Hello,
customer wants to use HRPWM with CPU2. What are the limitation here?

What register are only accessable by CPU1? Configuration register: HRCNFG, HRCNFG2, HRPWR, HRMSTEP, ...? This is not documented in the TRM (or I can't find it).

And which are accessble for CPU2? Run time register: TPBRDHR, HRPCTL, ... ?

Can the Scale-Factor-Optimizer only run on CPU1?

Is the following procedure correct?
- CPU1 configures HRPWM clock
- the CPU1 writes HRCNFG and HRMSTEP
- change ownership of ePWM to CPU2
- then CPU can configure ePWM (TB, CMP, AQ, DB…)
- after that CPU2 can change TBPRDHR in run time

So it is correct first to configure the HRPWM before changing the ownership?

Customer sees the values of HRCNFG, HRMSTEP in the debugger toggling after he changes the ownership to CPU2. Is this correct and the values of HRCNFG, HRMSTEP didn't changed?

I found in following thread that we don't recommend to use HRPWM for CPU2:
https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/685683/tms320f28377d-whether-cpu2-can-be-assigned-to-access-hrpwm?tisearch=e2e-sitesearch&keymatch=hrpwm%25252520cpu2#
Please comment that. I didn't find any notice in the TRM.

Regards, Holger