The sleep of LIN bus

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,539件の閲覧回数
guofeng
Contributor II

Hi,

   After the master node send the frame (ID=0x3C: 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF),  the slave node should go to sleep. But, I don't know the LIN bus got the frame (ID=0x3C: 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF).

   Is there interface in the LIN Stack?  I am using the FSL_LIN_2.x_STACK_Package_4.5.9,  MCU is S12VR64.

Best regards.

ラベル(1)
タグ(1)
1 解決策
1,130件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

Currently with FSL_LIN_2.x_STACK_Package_4.5.9 we don’t have interface to catch go_to_sleep frame, but you can use lin_lld_get_state() function to get state of LinStack node in state go_to_sleep or not.
For example:
if (lin_lld_get_state(LI0) == SLEEP_MODE) or
if (lin_lld_get_state() == SLEEP_MODE)

Best regards,

Diana

元の投稿で解決策を見る

1 返信
1,131件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

Currently with FSL_LIN_2.x_STACK_Package_4.5.9 we don’t have interface to catch go_to_sleep frame, but you can use lin_lld_get_state() function to get state of LinStack node in state go_to_sleep or not.
For example:
if (lin_lld_get_state(LI0) == SLEEP_MODE) or
if (lin_lld_get_state() == SLEEP_MODE)

Best regards,

Diana