S32K344 sbc FS26 example

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

S32K344 sbc FS26 example

ソリューションへジャンプ
1,812件の閲覧回数
Djuric
Contributor III

Hello,

After running the Sbc_fs26_example_IP_S32K344, I found that the result of the function Sbc_fs26_InitDevice() is  eReturnValue = 1 '\001',   which further fulfills the condition in line 98, and that causes /* Error during initialization. */.


2025-01-01_16h12_20.png

The signal that I get when I run the code, however, seems OK

2025-01-01_16h03_02.png

My question is, why doesn't the function Sbc_fs26_InitDevice()  return a value equal to E_OK?

What I noticed when initially loading the example was that the S32DS 3.6 reported a problem, which I successfully solved by adding the suggested files.
2025-01-01_15h49_04.png

2025-01-01_15h49_36.png

Could this be related to an initialization error?

0 件の賞賛
返信
1 解決策
1,735件の閲覧回数
quangvuanh
NXP Employee
NXP Employee

Here are signals on my analyzer 

quangvuanh_1-1735898508305.png

And this is the settings for analyzer

quangvuanh_0-1735898436724.png

The board we use for example is S32K3X4EVB-T172 with schematic S32K3X4EVB-T172_PackRevB_Schematic. Jumpers are in their default position

quangvuanh_2-1735898607732.png

 

 

元の投稿で解決策を見る

4 返答(返信)
1,757件の閲覧回数
quangvuanh
NXP Employee
NXP Employee

Hi, from what I see on your logic analyzer, there is no data out from MOSI pin, it seems that MOSI bus is pulled up all the time, can you please check again your hardware setup?

 I have no problem with the example on my side

quangvuanh_0-1735878902139.png

 

0 件の賞賛
返信
1,743件の閲覧回数
Djuric
Contributor III

Thanks for your reply.

Can you upload a screenshot with signals from your logic analyzer ?

Also, what development board are you using?

Could you show in the datasheet of that development board, which jumper arrangement (operating mode) you set for FS26 ?

Thank you!

 

0 件の賞賛
返信
1,736件の閲覧回数
quangvuanh
NXP Employee
NXP Employee

Here are signals on my analyzer 

quangvuanh_1-1735898508305.png

And this is the settings for analyzer

quangvuanh_0-1735898436724.png

The board we use for example is S32K3X4EVB-T172 with schematic S32K3X4EVB-T172_PackRevB_Schematic. Jumpers are in their default position

quangvuanh_2-1735898607732.png

 

 

1,774件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Quang (@quangvuanh),

Could you please help with this question from Beam Global?

Thanks & BRs, Tomas

0 件の賞賛
返信