SPI initialization hard faults

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI initialization hard faults

ソリューションへジャンプ
3,291件の閲覧回数
Pod_GaetanoG
Contributor I

Hi, I am trying to configure my RTD of s32k344 microcontroller and I have a problem with SPI Init process. When I choose LPSPI from 0 to 2, they work well, but from 3 to 5 it goes in hard fault. I also tried to change project, workspace and even board, but it always happens in the same manner.

In attachments you can find the screenshot of the problem above.

Thank you in advance.

0 件の賞賛
返信
1 解決策
3,286件の閲覧回数
sobo
Contributor III

Hello,

Have you check if the clock for the LPUART you want to use are enabled ?

MCUModeSettingConf => MCUPeripheral => clock enable

 

Sophie

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
3,263件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Pod_GaetanoG,

Since the CM7 core has very similar fault handling as the CM4, you can refer to this document/example:

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

and identify the type of the fault, find the PC address of the fault, or the bus address in case of a bus fault exception.

 

Thank you,

BR, Daniel

 

0 件の賞賛
返信
3,287件の閲覧回数
sobo
Contributor III

Hello,

Have you check if the clock for the LPUART you want to use are enabled ?

MCUModeSettingConf => MCUPeripheral => clock enable

 

Sophie

0 件の賞賛
返信