We are facing issue with RZV2L. At M33 we have configured GTM1 for periodic interrupt of 1 sec, which works fine after loading CM33. But as we boot A55 GTM1 interrupt hits after about 42 secs. Is it due to change in clock settings by Linux Kernel? Where to check that?
Hi Anuradha,
OSTM1 is enabled in Linux and it is used as schedule clock and it will affect the RTOS operation.
So, please disable it and use only OSTM2 in Linux.
rz_linux-cip/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi at rz-5.10-cip54 · renesas-rz/rz_linux-cip
Change status property from "okay" to "disabled".
Thanks Heinhuynh, but this modification doesn't resolve the issue.
For your information, we are using rzv2l_cm33_rpmsg_linux-rtos_demo package.
In addition, after this change interrupt is not hitting at all after A55 booting
Hi Anuradha,You can try to prevent OSTM1 from entering standby mode by adding this line in https://github.com/renesas-rz/rz_linux-cip/blob/8172c716f3bbd5431ca5983d63e9ae86152db40c/drivers/clk/renesas/r9a07g044-cpg.c#L492MOD_CLK_BASE + R9A07G044_OSTM1_PCLKPlease have a look on RZ/V2L Quick Start Guide for RZ/V Multi-OS Package v3.1.1 Section 3.3 Note for integration for more.Kind regards.