EWM and WDOG's refresh sequence

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

EWM and WDOG's refresh sequence

1,821件の閲覧回数
GoldenStateWarriorCurry
Contributor I

Hello,

Christmas is coming soon, congratulations to everyone in advance .

I am using EWM and WDOG module in S32K146,and have some questions about EWM and WDOG's application habits:

WDOG supports one 32-bit (0xB480_A602) if WDOG_CS[CMD32EN] is 1, however, EWM must two 8bit writes(one sequence). Why I can‘t write one value like WDOG without one sequence  .

What accidents can be prevented by this sequence ?If you guys have any advices for sequence , please help. 

Thanks!

0 件の賞賛
返信
2 返答(返信)

1,809件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@GoldenStateWarriorCurry

Please refer to S32K-RM for details.

20.4 Memory Map/Register Definition
This section contains the module memory map and registers.

NOTE:

EWM only supports 8-bit register access. 16-bit and 32-bit access are not possible.

BR!

     Jim,

1,802件の閲覧回数
GoldenStateWarriorCurry
Contributor I

Hi@Senlent

Thank you for your reply!

I have read 20.4 Memory Map/Register Definition  from S32K-RM.

I just don't understand why I can't write values of 0xB4 to refresh EWM counter instead of writing values of 0xB4 and  0x2C to refresh EWM counter.

As a user, I feel that it is troublesome to write the refresh register twice. What accidents can be prevented by writing the refresh register twice.

If you are worried about safety issues, can we write 32-bit values once instead of writing values of 0xB4 and  0x2C to refresh EWM counter,which likes WDOG refresh mechanism.

I hope NXP company can adopt my suggestion to optimize user usage .=^-^= 

BR!

    Anthony,

 

0 件の賞賛
返信