Watchdog driver KSDK2.0

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

Watchdog driver KSDK2.0

527 Views
manfredschnell
Contributor IV

Hi,

 

we use KSDK2.0 with K64.

 

In "Kinetis SDK v.2.0 API Reference Manual"  Document Number: KSDK20APIRM, Rev. 0.

I found COP_Init(), and COP_xxxx () functions to use the internal Watchdog unit.

 

In KSDK2.0 source "fsl_wdog.c" I found:

WDOG_Init(), and WDOG_xxx () functions, that seems to use the internal Watchdog unit of my K64.

 

Am I wrong? Is there a difference?

I think there is a naming discrepancy from source to Reference Manual.

 

Best regards

Manfred

Labels (1)
0 Kudos
1 Reply

326 Views
DavidS
NXP Employee
NXP Employee

Hi Manfred,

Short answer they are different.

Longer answer.  The COP is a module for the Kinetis L MCU's and WDOG is module for the Kinetis K MCU's.  I think the Reference Manuals (I looked at K64 and KL25 as examples) indicate this best but could use a little cleanup.  The KSDK_v2.0 API Reference Manual needs additional verbage to indicate if the API applies to the specific MCU or not or the API should only have the API's that apply to the specific MCU.

I'll forward to our KSDK team.

Regards,

David

0 Kudos