Hi NXP,
What is the function of S32K312 SWT Master access protection and how to use it?
Hi @li3,
The Master Access Protection (MAP) either enables or disables the lowest 8 bits of the register Control(CR) for the corresponding Master DID:
You can find the XRDC DIDs for the specific derivative from Chapter 19 (XRDC
Best regards,
Julián
Hi NXP,
Thank you for your reply. Please tell me the impact of turning on or off Master Access Protection (MAP) on the system. Will my use of the watchdog feature be affected?
Best regards,
Li 3.
Hi @li3,
Yes, MAP=0 disables access to whole SWTn register field(CR, IR, TO, WN, SR, CO, SK and RRR) for the access from corresponding DID master. Since the bit 0 of the register is Watchdog Enable:
Enables or disables SWT. The reset value is 0. Therefore, after reset, you must enable SWT to start the countdown timer.
If Master Access is not enabled, these actions are not available for the corresponding Master DID.
Best regards,
Julián