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

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

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

921 Views
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.

 

Labels (1)
0 Kudos
Reply
4 Replies

903 Views
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 Kudos
Reply

896 Views
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 Kudos
Reply

874 Views
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 Kudos
Reply

868 Views
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 Kudos
Reply