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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

366 次查看
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 项奖励
1 回复

338 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @YU_LIN,

You have to read the LMSTAT bit:

danielmartynek_0-1655722274578.png

 

BR, Daniel

 

0 项奖励