FlexCAN Polling

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

FlexCAN Polling

跳至解决方案
1,779 次查看
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 解答
1,764 次查看
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 回复
1,765 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1902313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFlexCAN%E8%BD%AE%E8%AF%A2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1902313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%98%AF%E5%90%A6%E6%9C%89%E4%BD%BF%E7%94%A8%20FlexCAN%20API%20%E8%BF%9B%E8%A1%8C%E8%BD%AE%E8%AF%A2%E7%9A%84%E7%A4%BA%E4%BE%8B%EF%BC%9F%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%20API%EF%BC%9A%3C%2FP%3E%3CP%3E-FlexCAN_Ip_MainFunctionWrite%3C%2FP%3E%3CP%3E-FlexCAN_Ip_MainFunctionRead%3C%2FP%3E%3CP%3E-FlexCAN_IP_%E5%8F%91%E9%80%81%3C%2FP%3E%3CP%3E-FlexCAN_IP_%E6%8E%A5%E6%94%B6%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%82%A8%E8%83%BD%E5%90%A6%E6%8F%90%E4%BE%9B%E4%B8%80%E4%B8%AA%E4%BD%BF%E7%94%A8%20API%20%E7%9A%84%E7%A4%BA%E4%BE%8B%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%E8%BD%AE%E8%AF%A2%E6%96%B9%E6%B3%95%E4%B8%BA%20CAN%20FD%20%E8%AE%BE%E7%BD%AE%E9%85%8D%E7%BD%AE%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E