Hi
1. Please tell me the RTD version and HSE version and sBAF version (0x4039C020). We recommend updating to the latest versions: HSE_FW_S32K312_0_2_55_0_D2502.exe and SBAF_S32K312_0_0_15_0.exe.
2. This is a known behavior of the HSE, typically caused by an incorrect clock configuration. Please refer to the following community post: S32K312 HSE_SWT_RST issue. It contains helpful information that should assist in solving your issue.
3. Please check the HSE_STATUS_INIT_OK status before MCU_Init/Mcu_InitClock. Otherwise, it may trigger issue.
#define HSE_STATUS_INIT_OK_BIT (1U << 24U)
while ( FALSE == HSE_CheckStatus(HSE_STATUS_INIT_OK) )
or baremetal codes:
while ( FALSE == ((*(uint32_t *)(0x4038C104)) & HSE_STATUS_INIT_OK_BIT) )
{
;
}
/* MU0 Base address:0x4038C000, FSR offset address: 0x104,
Bit24 in FSR:HSE_STATUS_INIT_OK */
4. Please check if the clock configuration matches Table 158. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz) of S32K3XXRM(Rev11).
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------