How do I determine whether last-Mile is enabled on the S32K344?

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I determine whether last-Mile is enabled on the S32K344?

116 Views
YU_LIN
Contributor I

I enabled automatic Last-mile in initialization, but I don't know how to check if the device is in last-Mile. 

static const Power_Ip_PMC_ConfigType Power_Ip_PMC_ConfigPB =
{
/* PMC Configuration Register (CONFIG). */
(
((uint32)0x00000000U) | PMC_CONFIG_LMBCTLEN_MASK| PMC_CONFIG_LMAUTOEN_MASK
)
};

0 Kudos
1 Reply

88 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @YU_LIN,

You have to read the LMSTAT bit:

danielmartynek_0-1655722274578.png

 

BR, Daniel

 

0 Kudos