s32k312 flexcan

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

s32k312 flexcan

735件の閲覧回数
fengba_360
Contributor III

Dear NXP engineers, I am encountering an issue when using FlexCAN to periodically send CAN messages. For instance, when I attempt to send over 10 CAN frames within a 50ms period, I notice significant deviations in the reception times of these CAN data, with some deviations even reaching around 4ms. Specifically, I am sending CAN messages in the following manner within my task period:

FlexCAN_Ip_Send(CAN_NODE_0, mb9, &CAN_NODE_0_TX_STD_Config, 0x01, mb_data);
FlexCAN_Ip_Send(CAN_NODE_0, mb10, &CAN_NODE_0_TX_STD_Config, 0x02, mb_data);
FlexCAN_Ip_Send(CAN_NODE_0, mb11 &CAN_NODE_0_TX_STD_Config, 0x03, mb_data);
.....
FlexCAN_Ip_Send(CAN_NODE_0, mb18 &CAN_NODE_0_TX_STD_Config, 0x10, mb_data);

Could you please provide some insights on this matter?

0 件の賞賛
返信
1 返信

710件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

possible root cause could be interrupt processing, which could delay MB preparation for transmission. Can be other modules interrupts or also FlexCAN ISR itself. After successful transmission MB interrupt is called, assuming polling mode is not used.

BR, Petr

0 件の賞賛
返信