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.

J721S2XSOMXEVM: How to use timer of main domain in mcu2_1

Part Number: J721S2XSOMXEVM

Hi,

SDK: 8.6      CORE:MCU2_1

We need to build a timer in MCU2_1 that can be accurate to 50us.

Since the timer resources in the MCU domain are limited, we want to use the timer in the MAIN domain to implement the 50us timer

But I found that TimerP_create function could not select the timer of MAIN domain as timerID. The reason is that MCU2_1 runtime defines BUILD_MCU, when we pass timerID through TimerP_create, In the PDK/packages/ti/osal/soc/j721s2 / TimerP_default c array under gDmTimerPInfoTbl always choose timerID is MCU domain

How can I implement 50us timer in MCU2_1 using MAIN domain timer?

Regards,

bingxian