S32K312 HSE install issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K312 HSE install issue

3,214 Views
Idealfulture
Contributor I

hellow NXP Teach

I can run my project normaly ,but  for the same  project it will trigger Hardfault after  installed HSE Famewire, the project don't include anny HSE oporation ,what caused this different situation

 

 

0 Kudos
Reply
10 Replies

3,183 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Do you have compatible version of HSE FW and SBAF? Also don't forget HSE FW installations changes memory layout.

0 Kudos
Reply

3,121 Views
Idealfulture
Contributor I

Hellow davidtosenovjan

I have found the exact site of the problem , but i don't know how to solve it,Can you give me some advice.

0 Kudos
Reply

3,100 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

“The host must wait for HSE_STATUS_INIT_OK before changing the device clock configurations like enabling PLL.” - it is common source of issues.

0 Kudos
Reply

3,085 Views
Idealfulture
Contributor I

Hellow davidtosenovjan

This is my HSE FW Install project and test project,Can you help me to test it.

0 Kudos
Reply

3,097 Views
Idealfulture
Contributor I

I have add the code wait HSE Init OK in my test project,  But it still Triger HardFault_Hander in the Clock_Ip_Init() Process

0 Kudos
Reply

3,083 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

davidtosenovjan_0-1755771232048.png

I would recommend to run HSE_CLK at 60MHz.

 

0 Kudos
Reply

2,840 Views
Idealfulture
Contributor I

Hellow NXP Tech

I Still haven't find anway to solve this problem.

0 Kudos
Reply

3,081 Views
Idealfulture
Contributor I

I have temp to fix the HSE_CLK to 60Mhz,but it  not  work.

0 Kudos
Reply

3,130 Views
Idealfulture
Contributor I

hellow davidtosenovjan

After i Installed HSE FW for my S32K312 bord ,my project trigered Hardfault in the Mcu_InitClock();this picture show my Clock configration,Does it have anny problem? 

0 Kudos
Reply

3,145 Views
Idealfulture
Contributor I

I used the SHE_install_FW Project to install the hse fw,I checked the memory and the FW version it was installed sucseefully, My project used standered RTD link file and start file, it will go to hardfault when run the Mcu_InitClock(McuClockSettingConfig_0);what should i do to deal with this issue

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2154316%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154316%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehellow%20NXP%20Teach%3C%2FP%3E%3CP%3EI%20can%20run%20my%20project%20normaly%20%2Cbut%26nbsp%3B%20for%20the%20same%26nbsp%3B%20project%20it%20will%20trigger%20Hardfault%26nbsp%3Bafter%26nbsp%3B%20installed%20HSE%20Famewire%2C%20the%20project%20don't%20include%20anny%20HSE%20oporation%20%2Cwhat%20caused%20this%20different%20situation%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159852%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159852%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHellow%20NXP%20Tech%3C%2FP%3E%3CP%3EI%20Still%20haven't%20find%20anway%20to%20solve%20this%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2156000%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156000%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20temp%20to%20fix%20the%20HSE_CLK%20to%2060Mhz%2Cbut%20it%26nbsp%3B%20not%26nbsp%3B%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155994%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155994%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22davidtosenovjan_0-1755771232048.png%22%20style%3D%22width%3A%20626px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22davidtosenovjan_0-1755771232048.png%22%20style%3D%22width%3A%20626px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353504iAFBA1BC35F180370%2Fimage-dimensions%2F626x338%3Fv%3Dv2%22%20width%3D%22626%22%20height%3D%22338%22%20role%3D%22button%22%20title%3D%22davidtosenovjan_0-1755771232048.png%22%20alt%3D%22davidtosenovjan_0-1755771232048.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20would%20recommend%20to%20run%20HSE_CLK%20at%2060MHz.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155984%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155984%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHellow%20davidtosenovjan%3C%2FP%3E%3CP%3EThis%20is%20my%20HSE%20FW%20Install%20project%20and%20test%20project%2CCan%20you%20help%20me%20to%20test%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20add%20the%20code%20wait%20HSE%20Init%20OK%20in%20my%20test%20project%2C%26nbsp%3B%20But%20it%20still%20Triger%20HardFault_Hander%20in%20the%20Clock_Ip_Init()%20Process%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E2%80%9CThe%20host%20must%20wait%20for%20HSE_STATUS_INIT_OK%20before%20changing%20the%20device%20clock%20configurations%20like%20enabling%20PLL.%E2%80%9D%20-%20it%20is%20common%20source%20of%20issues.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155632%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155632%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHellow%20davidtosenovjan%3C%2FP%3E%3CP%3EI%20have%20found%20the%20exact%20site%20of%20the%20problem%20%2C%20but%20i%20don't%20know%20how%20to%20solve%20it%2CCan%20you%20give%20me%20some%20advice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2155586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehellow%26nbsp%3Bdavidtosenovjan%3C%2FP%3E%3CP%3EAfter%20i%20Installed%20HSE%20FW%20for%20my%20S32K312%20bord%20%2Cmy%20project%20trigered%20Hardfault%20in%20the%20Mcu_InitClock()%3Bthis%20picture%20show%20my%20Clock%20configration%2CDoes%20it%20have%20anny%20problem%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154764%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154764%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20used%20the%20SHE_install_FW%20Project%20to%20install%20the%20hse%20fw%2CI%20checked%20the%20memory%20and%20the%20FW%20version%20it%20was%20installed%20sucseefully%2C%20My%20project%20used%20standered%20RTD%20link%20file%20and%20start%20file%2C%20it%20will%20go%20to%20hardfault%20when%20run%20the%20Mcu_InitClock(McuClockSettingConfig_0)%3Bwhat%20should%20i%20do%20to%20deal%20with%20this%20issue%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154447%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K312%20HSE%20install%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154447%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDo%20you%20have%20compatible%20version%20of%20HSE%20FW%20and%20SBAF%3F%20Also%20don't%20forget%20HSE%20FW%20installations%20changes%20memory%20layout.%3C%2FP%3E%3C%2FLINGO-BODY%3E