Also i have tried the code below in secure project
//configure secure systick
SysTick_Config(MSEC_TO_COUNT(1000U, DEMO_SYSTICK_CLK_FREQ));
//configure non-secure systick
SysTick_NS->LOAD = (uint32_t)(MSEC_TO_COUNT(2000U, DEMO_SYSTICK_CLK_FREQ) - 1UL);
SysTick_NS->VAL = 0UL;
SysTick_NS->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_TICKINT_Msk |SysTick_CTRL_ENABLE_Msk;
The code seems working(non-secure systick working, but frequency is not same as value i set).
However secure systick is working after configuring non-secure one. How can i configure these 2 system tick timers separately to make them working in different worlds.