LIN协议栈

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LIN协议栈

920 Views
DarrenZhang1
Contributor III

Hello

 我正在使用S32DS3.4使用中间件做的协议栈,其中LIN协议栈有一个4~10秒得自动休眠时间,这个时间目前是4S,程序中是否有接口可以修改这个时长参数?希望得到帮助,

0 Kudos
Reply
3 Replies

899 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is set in linstack component

PetrS_0-1698836483706.png

BR, Petr

0 Kudos
Reply

895 Views
DarrenZhang1
Contributor III
有可以在软件程序中修改得接口吗 ?
0 Kudos
Reply

885 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

based on Time out unit (us) and Idle Timeout (s) options in the linstack component the max_idle_timeout_cnt parametre is calculated in lin_protocol_user_cfg_array within generated lin_crg.c.
This is used within stack init and timeout count is checked in lin_lld_timeout_service called each Time out unit.

BR, Petr

0 Kudos
Reply