s32k312 + fs26 control problem

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

s32k312 + fs26 control problem

ソリューションへジャンプ
10,633件の閲覧回数
NewbieNerd
Contributor IV

Hello S32K3 team!
I am currently attempting to control FS26 on the S32K312EVB.

  1. Whenever I query 'FS_STATE', 'REG_CORRUPT' is always in a high state. The calculations for all init_register and init_not_register values are consistent. Please inform me how to reset this state.

  2. Even after successfully attempting 'WD_Refresh', it does not switch to 'Normal state' and remains in 'Safety Outputs not released' status. Is this related to issue number 1?

  3. The system resets when I input the debug_mode_exit value. What could be the issue?

Regard

0 件の賞賛
返信
1 解決策
10,554件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

If the FLT_ERR_CNT is 0,you can  release FS0B no problem then enter into normal mode.

元の投稿で解決策を見る

0 件の賞賛
返信
24 返答(返信)
9,190件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

guoweisun_0-1705901926057.png

Does the RSTB released? what about the ABIST/LBIST states?OK or not?

0 件の賞賛
返信
9,185件の閲覧回数
NewbieNerd
Contributor IV

Hello! guoweisun

When I read fs_diag_safety1 Address:

fs_states = 0xA

and

abist1_pass = 0x1,
abist2_done = 0x1,
abist2_pass = 0x0,
lbist_Status = 0x3

The behavior is the same whether lauch_abist2 is 0 or 1.

0 件の賞賛
返信
9,180件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

guoweisun_0-1705978895459.png

I think you need release FS0B next,but before do that you need  refresh WD till fault error counter decrease to '0'.

after release FS0B you will enter into Normal mode.

0 件の賞賛
返信
9,176件の閲覧回数
NewbieNerd
Contributor IV

Hi

After the FS State changed to the FS0B_ASSERT state, it was confirmed that the value of the Fault Error Count was 0. Then, when attempting to release FS0B and FS1B, the FS State immediately changes to FS_Init and then resets.

NewbieNerd_0-1705988453393.png(Rel_State is the state after attempting to release FSxB)

 

Regard

0 件の賞賛
返信
9,173件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Please try to disable FCCU function and DISABLE the WD.

And also need confirm there is no any error for UV/OV monitor error,if have please clear these error.

0 件の賞賛
返信
9,169件の閲覧回数
NewbieNerd
Contributor IV

 

1. Does disabling the FCCU function mean changing the value of FCCU monitoring to No Monitoring? If so, we are currently in continuous testing.

2. Does disabling the WD mean changing the FS_State to FS_Init and then applying a WD_Period value of 0?

 

0 件の賞賛
返信
9,164件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Both of your questions,the answer are YES.

0 件の賞賛
返信
9,160件の閲覧回数
NewbieNerd
Contributor IV

Hi guoweisun

NewbieNerd_0-1705992868377.png

 

I read the values of the registers that were set during the process. Even without making any separate changes, the value of FS_State changes to Invalid after attempting to Release FSXB.

 

Regard

0 件の賞賛
返信
9,157件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Seems some monitor UV/OV error happened,you can read it out.

0 件の賞賛
返信
9,155件の閲覧回数
NewbieNerd
Contributor IV

Hi guoweisun

NewbieNerd_0-1705994669664.png

 

The FS_STATE still hasn't changed to Normal... The last two lines are the values after attempting to release FSXB. '1' is the value of the UV/OV State, and '2' is the value of FS_STATE.

Thanks to your help
Regard

0 件の賞賛
返信
9,151件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

What's the fault error counter value?

0 件の賞賛
返信
9,149件の閲覧回数
NewbieNerd
Contributor IV

This is 'FS_I_FSSM' Register - [3:0]
It mesns 'FLT_ERR_CNT'

0 件の賞賛
返信
9,146件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

The value of FLT_ERR_CNT should be decrease into 0.

0 件の賞賛
返信
10,555件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

If the FLT_ERR_CNT is 0,you can  release FS0B no problem then enter into normal mode.

0 件の賞賛
返信
9,102件の閲覧回数
NewbieNerd
Contributor IV

doesn't enter normal.

what should I check another register?

0 件の賞賛
返信
9,144件の閲覧回数
NewbieNerd
Contributor IV

The current value is 0. Should I manually induce a fault and then decrease it back to 0?

0 件の賞賛
返信
8,730件の閲覧回数
Akhil1
Contributor I

Hello @NewbieNerd ,

Can you provide the project zip, I am working on the SBC FS26 with s32k312 watchdog refresh.

It could me help for me.

 

0 件の賞賛
返信
8,717件の閲覧回数
NewbieNerd
Contributor IV

Hi Akhil1!

Thank you for your interest. However, due to company policy, we are unable to upload data.
and I Sovled this problem!
I think It is WD Refresh Data and timing problem.
first I tried 0xA43D, 0x4A9A, 0x9535 ~ WD refresh at Release FSxB before, and After acquiring the WD Token and applying the challenger formula, continuing the WD refresh did not result in any issues.

regard

0 件の賞賛
返信
8,713件の閲覧回数
Akhil1
Contributor I

Hello @NewbieNerd ,

I am yet to start SBC FS26 with S32K312 with RTD 2.0.3 version, I want to do the watchdog refresh for every 50 ms, how can I do it.

when I stop watchdog refresh...MCU should reset

How can I do it? could you please help me with this.

 

0 件の賞賛
返信
8,708件の閲覧回数
NewbieNerd
Contributor IV

Hi Akhil1

First, I executed the code referencing the script below, and confirmed that the FS State has changed to Normal.

NewbieNerd_0-1707112723608.png

 

Then, I used GPT to continuously call the WD_Refresh function within 255ms.

If the GPT stops, the MCU will be reset.

Regard

 

0 件の賞賛
返信