2022-12-01 01:36 AM
Hi,
I'm playing with Nucleo-u575zi and GPIO_IOToggle_TrustZone example.
Everything is working as expected.
I want to be sure that systick of secure zone is never blocked by nonsecure zone (e.g. setting PRIMASK_NS =1). In secure mode, at startup, I then set AIRCR.PRIS=1 (SYSTICK_S priority is set to '1').
I would expect that setting PRIMASK_NS to one boosts the current execution priority to 0x80, but it's also masking SYSTICK_S irq (it stops to be triggered, so non secure world is "killing" secure world).
Am I missing something?
Solved! Go to Solution.
2022-12-01 02:39 AM
Nevermind, it's working as expected, my bad.
2022-12-01 02:39 AM
Nevermind, it's working as expected, my bad.