Other Parts Discussed in Thread: SYSCONFIG
I am using AM263X-LP.
Is it possible to generate interrupt using rti timer at 3MHz or above??
If possible, pls tell how to do it.
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.
Hello Tej,
It would be possible and you'd do it through SysConfig largely, that said I need to defer to one of our SW experts for further guidance on exact steps needed for configuration.
Best Regards,
Ralph Jacobi
Hi Tej,
Apologies, I was out-of-office yesterday and could not respond.
You can refer the RTI LED Blink example in the SDK: examples/drivers/rti/rti_led_blink. This example will toggle the LED to on and off every second and thus the syscfg is configured for the same operation.
You can directly go to the syscfg and modify the compare and counter blocks to configure the interrupts to run at 3MHz or more. You can go to the Counter block in Syscfg and enter the desired output frequency. I tried with 5 MHz
Configure the tick period accordingly (In the compare event).
Regards,
Shaunak
Hi Tej,
I could not find any document to show the calculations, I can explain my approach: Please correct me if it defers from your requirements.
1. I pass the input clock as SYSCLK with freq of 200Mhz -> 1 clock cycle is 5ns
2. You need RTI at 5MHz which means an interrupt every 200 ns or 40 clock cycles
3. You can open syscfg, set the input clock as 200MHz SYS_CLK, then in desired output frequency in counter block 0, enter 5MHz
4. In compare event 0, set the tick period to 0.2us (200ns)
Then rebuild your application and try to profile it. Can you please try this configuration on your end and let me know if it works for you?
Regards,
Shaunak
Hi Tej,
You can override that by entering 0.2. I am using the 09.02 MCU_PLUS_SDK
Regards,
Shaunak