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.
Solved! Go to Solution.
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
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