Hello,
with S32DS Ver. 3.4, after running pin and clock configuration of S32K312, I tested a simple program and when entering the function:
Clock_Ip_TriggerUpdateCgmXDivTrigCtrlTctlHhenUpdStat (file Clock_Ip_DividerTrigger.c)
the debug session crashed ehwn executing the instruction
DividerStatus = Clock_Ip_apxCgm[Instance][SelectorIndex]->MUX_DIV_UPD_STAT & MC_CGM_MUX_DIV_UPD_STAT_DIV_STAT_MASK;
Instance = 0;
SelectorIndex = 0.
Do you have any idea?
Thank you very much,
Jacopo
Solved! Go to Solution.
Hello Daniel,
thank you very much for your fast feedback. I noticed your suyggestion here;
which demo were you referring to?
Regards,
Jacopo
Hi @jacopo_costella,
Currently, we have some issues with our system, and the demo can't be located at nxp.com.
We are working on it.
All the HSE_FW documentation can be found in the Secure files under an NDA on the S32K3xx webpage though:
I understand the HSE_FW hasn't been installed on the MCU yet.
Can you share the project so that I can test it?
Thank you,
BR, Daniel
Hi Jacopo,
I don't have this old RTD version installed, so I can't modify and recompile the project.
Anyway, the clock configuration is not correct.
Please set all the clock as per the RM, Table 148. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz).
This is just an example from Clocking use case examples (RM, Section 24.7.2).
However, any clock frequency selected must adhere to the same clock divider ratios shown in Clocking use case examples.
Otherwise, we can't guarantee the specified functionality of the MCU.
Regards,
Daniel
All the clocks must be set according to the table (including the PLL clock), or at least the ratios between the clocks must be maintained.
Regards,
Daniel
Hello Daniel,
problem fixed. Thank you very much,
Jacopo
Hello Daniel,
thank you very much for your fast feedback. I noticed your suyggestion here;
which demo were you referring to?
Regards,
Jacopo