AnsweredAssumed Answered

MPC5748G Watchdog

Question asked by tongyue huang on May 14, 2017
Latest reply on May 15, 2017 by Peter Vlna

Hi, I am using MPC5748G watchdog module.And how to config system clock:   MC_ME.GS.B.S_SIRCON=1?

Here is my code,and the project  can not work OK.

void  SWT_enable(void)

{

      SWT_0.SR.R=0xc520;

      SWT_0.SR.R=0xd928;

      SWT_0.TO.R=2560000;   //10s

      SWT_0.CR.R=0x8000010B;

}

 

void  SWT_service(void)

{

      SWT_0.SR.B.WSC=0xA602;

      SWT_0.SR.B.WSC=0xB480;

}

 

 

 

Outcomes