S32K344 + FS26: Keeps reseting power output in normal mode

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

S32K344 + FS26: Keeps reseting power output in normal mode

943件の閲覧回数
anertorre
Contributor II

Hi @guoweisun I am having difficulties setting up the S32K344 + FS26 (MFS2613AMDA2AD) combination. The HW design is EVB based, so I can discard issues with the HW setup. 

My problem is that I managed to implement the driver in the S32 DS, by adding the Sbc_fs26_ip driver into my MEX file, just following the SBC_fs26_IP example project. The code (left below) is apparently properly initializing the FS26 and properly refreshing the WD, in Debug mode.

 

eReturnValue = Sbc_fs26_Init(&Sbc_fs26_xConfig);
eReturnValue |= Sbc_fs26_InitDevice();
if(eReturnValue != E_OK)
{
    bPass = FALSE; /* Error during initialization. */
}

while (true) {
    eReturnValue = Sbc_fs26_WdRefresh();
    delay_ms(6);
}

 

However, when I exit the debug mode, the FS26 seems to keep resetting its output power sources to the S32K344, at a rate that gets slower with the time. Also, it is confusing that I left the FS0B only in all reactions in the Sbc_fs26_ip driver in the S32 DS. This also happens if I disable the Watchdog timer.  Do you have any ideas where I can start looking for?

I leave here additional info about the current register values (in Debug mode, since I cannot attach debugger in normal mode due to the device being reset)

 

FS_SAFE_IOS_1: 0x7000

FS_SAFE_IOS_2: 0xB

FS_DIAG_SAFETY1: 0x103

FS_DIAG_SAFETY2: 0x8

Screenshot 2025-05-08 124611.pngScreenshot 2025-05-08 124431.pngScreenshot 2025-05-08 124758.png

タグ(4)
0 件の賞賛
返信
5 返答(返信)

915件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

You can try to disable WD to test again and let me know whether issue still has or not.

guoweisun_0-1746759018428.png

 

890件の閲覧回数
anertorre
Contributor II

Hi @guoweisun . Thanks for your reply. I can confirm that setting Watchdog period field to 'Disabled' in FS_WDW_DURATION register, stops the FS26 from resetting the S32K3

 

Also, I noticed that when setting this field to e.g. 6 ms or 8 ms (with the rest of the configuration as in the screenshots) causes the Sbc_fs26_InitDevice() function to return E_NOT_OK (in the Sbc_fs26_WaitInitFSClosed() function) 

0 件の賞賛
返信

883件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi anertorre

Which software drive did you refer in your project?

Can you confirm whether software have feed Watchdog operation after SBC enter into normal mode?

0 件の賞賛
返信

876件の閲覧回数
anertorre
Contributor II

Hi @guoweisun 

I am using the Sbc_fs26_Ip (non-AUTOSAR configuration) software driver, and can't actually check for feed watchdog activity, since when watchdog is enabled, the Sbc_fs26_InitDevice() does not succeed

0 件の賞賛
返信

851件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi anertorre

I am not software engineer but still checked the Sbc_fs26_Ip software and didn't find the feed WD code inside of Sbc_fs26_Ip.

Sbc_fs26_Ip can initialize SBC and enter into normal mode, in the INIT phase the WD should be disabled in case of enter into normal mode need feed WD.

I think you should refer to below software.

guoweisun_0-1747097064041.png

 

0 件の賞賛
返信