How to set LPC5516 CANFD sample point to more than 70% when baudrate more than 4M?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set LPC5516 CANFD sample point to more than 70% when baudrate more than 4M?

1,862件の閲覧回数
wangyanjun
Contributor II

When set sample point more than 70%, there will be a Protocol error in data phase and an error frame will be transmitted. No such problem when data baudrate less than 4M.Sample point less than 70% works well.

MCU: LPC5516

CANFD transmitter: TJA1042/3

CANFD module clock: 80MHz

Comm interface: Kvaser Hybrid

BTW: LPC54616 with same configuration works well.

 

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,844件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

For your application, you set the CAN baud rate as 4M, I suppose that it is a bit high.

For the CAN bit sampling point, it is complicated to select the sampling point,.

I attach the an1798.pdf, hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信

1,837件の閲覧回数
wangyanjun
Contributor II

I use CAN FD, and data phase baudrate set to 4M, nominal baudrate set to 1M.

As SAE J2284-5, CAN FD baudrate can be set to 500K/5M.

In my application, when set to 500K/5M, sample point more than 75%, it can transmit and receive messages, but there are some error frames generated. 

I want to confirm:

Is the LPC5516 support sample point >= 75%?

0 件の賞賛
返信

1,815件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, the sampling point of CAN receiver is dependent on the the cable length, the signal quality..., I suppose it is okay to set the sampling point more than 75%.

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信

1,809件の閲覧回数
frank_m
Senior Contributor III

> Regarding your question, the sampling point of CAN receiver is dependent on the the cable length, the signal quality...,

And proper termination.
The higher the baudrate, the more critical it becomes.
The bandwidth requirements are at least an order of magnitude higher than the nominal baudrate.

0 件の賞賛
返信