FS26 with 2 dfferent values of programmed whatchdog

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

FS26 with 2 dfferent values of programmed whatchdog

Jump to solution
1,186 Views
FabioG
Contributor III

Hi There,

In Our application is present an FS26 for off-chip safety.

The application is divided in Bootloader and application code .

The FS26 watchdog is programmed by  application to 120ms, but this is  too small for bootloader.(downloading code) : we need to program watchdog ad least 300ms (or more for further applications).

Is it  possible to program FS26 with a W1 whatchdog value  for the bootload (downloading code) and a smaller W2  value at the start  of application (without resetting s32k344?)

If it is possible, how to use FS26RTD3.0.0 Drivers for this purpose ?

Best Regards

Fabio  

0 Kudos
Reply
1 Solution
1,163 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

On the fly to change the WD, you have to change it by below WDW_PERIOD[3:0]bits in the FS_WDW_DURATION register, you can try it.

The duration of the watchdog window is configurable from 1.0 ms to 1024 ms with the WDW_PERIOD[3:0] SPI bits.

The new watchdog window is effective after the next watchdog refresh.

guoweisun_0-1710491295607.png

 

View solution in original post

0 Kudos
Reply
3 Replies
1,165 Views
FabioG
Contributor III

Hi

I mean if it is possible to change FS26 Whatchdog value "On the Fly".

For example WD = 512ms (Bootloader run) then  then switch to WD = 120ms (when switch to application).

This should be happen without the need of resettting s32k344  (SW FUNC reset or others). 

If  it is  possible, I would know how to deploy it by using FS26 RDT 3.0.0 (sw functions needed, scheduling points...)

Best Regards

Fabio 

0 Kudos
Reply
1,164 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

On the fly to change the WD, you have to change it by below WDW_PERIOD[3:0]bits in the FS_WDW_DURATION register, you can try it.

The duration of the watchdog window is configurable from 1.0 ms to 1024 ms with the WDW_PERIOD[3:0] SPI bits.

The new watchdog window is effective after the next watchdog refresh.

guoweisun_0-1710491295607.png

 

0 Kudos
Reply
1,171 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

Here I only support FS26 and don't know too much about bootloader.

Do you mean to change the WD duration into longer time as below showed?

guoweisun_0-1710467825613.png

 

0 Kudos
Reply