FlexCAN Polling

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

FlexCAN Polling

跳至解决方案
580 次查看
Samuel_DCosta
Contributor III

Hi,

Is there an example of using the FlexCAN APIs for polling?

How do I use the following APIs:

- FlexCAN_Ip_MainFunctionWrite

- FlexCAN_Ip_MainFunctionRead

- FlexCAN_Ip_Send

- FlexCAN_Ip_Receive

Could you provide an example using the APIs, with the configuration set for CAN FD by using the polling method?

0 项奖励
回复
1 解答
565 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Samuel_DCosta,

You can find a reference example for normal/user mode in polling mode for the S32K312 derivative: Example S32K312 CAN Transmit & Receive Using Polling mode DS3.5 RTD300 - NXP Community.

The FlexCAN_Ip_Example from the RTD package uses the APIs as well (FlexCAN_Ip_Init will configure for loopback the FlexCAN0 and then application will send through ISR and receive as polling.).

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
1 回复
566 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Samuel_DCosta,

You can find a reference example for normal/user mode in polling mode for the S32K312 derivative: Example S32K312 CAN Transmit & Receive Using Polling mode DS3.5 RTD300 - NXP Community.

The FlexCAN_Ip_Example from the RTD package uses the APIs as well (FlexCAN_Ip_Init will configure for loopback the FlexCAN0 and then application will send through ISR and receive as polling.).

Best regards,
Julián

0 项奖励
回复