I am running some test code on S32Z270 RTU0 core 0 (R52) with RTU0_CORE_CLK set to 1GHz where the execution time seems to too long. In comparison I am running the same code on SS32K388 core 0 (CM7) with core clock set 320MHz. Given the clock frequency increase I would have expected some faster execution but instead the execution time is longer.
Build/compilation flags are held identical for both binaries (see attached txt file buildinfo.h)
(1) Since the clock configuration in the S32 Configuration Tool is kind of sophisticated for the S32Z how can I make sure the RTU0 core 0 clock frequency is 1GHz as intended?
I have routed out the RTU0_CORE_DIV2_CLK via MC_CGM_3_MUX4_CSC (e.g., SEL_CTL = 0x3D) to CLKOUT_4 (PAD_040 of BGA594) including a divider of 10 in MC_CGM_3_MUX4_DC_0 (e.g., DIV = 0x9). See also attached register readings. If I measure 50MHz at CLKOUT_4, can I presume that (a) RTU0_CORE_DIV2_CLK is 500MHz and (b) RTU0_CORE_CLK is 1GHz?


(2) I have measured the execution time of pin writes to GPIO using S32Z RTD2.0.1 and measuring high/low times of scope channel CH5 - TESTFLAG which is roughly 3.4us. Is there the possibility that you could confirm whether they seem to be alright or too slow?



(3) I am not sure what I am missing.