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.
Tool/software:
Not Able to Generate Capture Interrupt using MCU_Timer_IO1, although all the timer configuring registers are updated accordingly as you can see ..
But interrupt is not being generated even though pulse that is being passed is correctly reflecting (checked via gpio read), Also overflow interrupt is generating according to overflow but capture isn't.
Hi Sai,
Thanks for your query.
Can you please tell us which version of MCU+SDK are you using?
Is the interrupt registered properly? Can you please share the code with us?
Regards,
Tushar
mcu_plus_sdk_am62x_09_02_01_06
Yes Interrupt has been registered properly followed the steps from TRM
You can see in the screenshot in 32-uint) that TCLR 0x38 has value 0100 0011 0000 0011 set according to above configuration
and 0x2C has 6 110 both overflow and capture are set even though overflow interrupt was triggering capture event was not getting triggered .
Hi Sai,
I have tried to configure the MCU_Timer0 and I am able to generate the interrupt successfully.
Please refer the below code for reference.
Project - timer_am62x_m4fss0-0_nortos_ti-arm-clang.zip
Please let us know if the above works.
Regards,
Tushar
I meant in interrupt we have several modes overflow mode,capture mode and compare mode I was able to generate the overflow interrupt but not the capture interrupt where when a pulse is connected it triggers interrupt on edges based on above configuration provided in TRM.
Hi Sai,
Can you please provide sample code to replicate the issue?
Regards,
Tushar
Hi Sai,
The question was answered by Vaibhav, and I can see you have deleted those responses.
I am closing this thread as there are no open question.
Regards,
Tushar