S32K1_How can i change Break Delimiter of LIN Bus

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

S32K1_How can i change Break Delimiter of LIN Bus

跳至解决方案
537 次查看
wuxianlong
Contributor III

Hi,all


About LIN Buss ,a  Break Field consists of Break and Break Delimiter , the Break Delimiter is 1 bit for S32K1_lin_demo .
if i want to change the Break Delimiter , can you get we some help? i try to  adding some delays before i send Fync Field(0x55), But it can not work .

lin bus.pngtest.png

BRs,

xianlong

0 项奖励
1 解答
526 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

There is no support in HW to extend break delimiter.
And the SDK/RTD drivers do not do it either.

Similar has been discussed with the SDK team before.
This was their answer:

PetrS_1-1676278414911.png

So adding a delay loop as above is the only option.
This way you can't adjust the exact time of Break delimiter length. It is necessary to set the number of loops considering CPU Clock and UART Baudrate, and deviation may occur depending on CPU conditions.

BR, Petr

在原帖中查看解决方案

0 项奖励
2 回复数
527 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

There is no support in HW to extend break delimiter.
And the SDK/RTD drivers do not do it either.

Similar has been discussed with the SDK team before.
This was their answer:

PetrS_1-1676278414911.png

So adding a delay loop as above is the only option.
This way you can't adjust the exact time of Break delimiter length. It is necessary to set the number of loops considering CPU Clock and UART Baudrate, and deviation may occur depending on CPU conditions.

BR, Petr

0 项奖励
521 次查看
wuxianlong
Contributor III

Oh,thank you, I find that my delay loop is too short.

0 项奖励