S32K146 CAN-FD

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

S32K146 CAN-FD

1,264件の閲覧回数
gravity_one
Contributor III

Hello, Guys

 

Q1: CAN-FD ABR=500k, DBR=4M

I want to set ABR=500k & DBR=4M, but 

1.jpg2.jpg

Data phase ---> Bitrate is disable, cannot set.

 

Q2 : CAN-FD: cannot send out data return BUSY while not connect CAN analizer first.

if (state->mbs[mb_idx].state != FLEXCAN_MB_IDLE)

{ return STATUS_BUSY; }

 

Thanks,

Gravity

0 件の賞賛
返信
3 返答(返信)

1,249件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

A1) you have to enable FD within component to be able to set rate for data phase too

PetrS_0-1620935020375.png

 

A2) not sure which function do you use and how. If device is disconnected from the bus, sent message is not ACKed thus it is not transmitted successfully. Thus e.g. repetitive calling of non-blocking function should return STATUS_BUSY.

BR, Petr

0 件の賞賛
返信

1,239件の閲覧回数
gravity_one
Contributor III

Q1: data phase only set max 1000kbit/s

 

Q2: When can-fd is initialized, can bus is not connected. When can bus is connected after initialization, sending data will reply busy;
If the CAN bus is connected when the machine is started, the transceiver is normal;

0 件の賞賛
返信

1,193件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) what is PE clock frequency? If you use crystal oscillator clock with 8MHz then max bitrate can be about 1.6Mbps. Try to select sys_clk as PE clock in flexcan component.

2) there should not be problem with hot-plug. If the MB cannot still be used for transmission, try to first AbortTransfer and then send message normally.

BR, Petr

0 件の賞賛
返信