Part Number: J784S4XEVM
Pin AB34 is used as PWM input pin, AB34 belongs to MAIN domain. MCU R5 needs to be able to access TIMER04 registers and receive routed interrupt from TIMER04. How to configure and achieve this
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.
Part Number: J784S4XEVM
Pin AB34 is used as PWM input pin, AB34 belongs to MAIN domain. MCU R5 needs to be able to access TIMER04 registers and receive routed interrupt from TIMER04. How to configure and achieve this
Hello,
You can refer the sample examples regarding PWM and inside these examples we have done similar routing in PwmApp_InterruptConfig
/mcusw/mcal_drv/mcal/examples/Pwm/PwmApp_Gpt/soc/j784s4/mcu1_0/PwmApp_Startup.c and
/mcusw/mcal_drv/mcal/examples/Pwm/PwmApp_Epwm/soc/j784s4/mcu1_0/PwmApp_Startup.c
Regards
Tarun Mukesh
In the above example, is the app access main domain timer registers from mcu domain ? not just interrupt, we need read tcar registers
I need use RAT mechanism to access timer registers on MAIN domain ? direct access to main domain timer registers from mcu domain do not make sense for me. The PWM App example provide the direct access example from mcu domain for me ?
Hello,
We can access Main domain PWM timers without RAT as shown in example .These are peripheral registers and 32 bit addressed so no issue in accessing.
Please raise another E2E query if you want to know more on RAT as the issue description says about interrupt route
Regards
Tarun Mukesh