FlexCAN Polling

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,249件の閲覧回数
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,234件の閲覧回数
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,235件の閲覧回数
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%E3%83%9D%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1902313%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%83%9D%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0%E3%81%ABFlexCAN%20API%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E4%BE%8B%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AC%A1%E3%81%AEAPI%E3%81%AE%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95%3A%3C%2FP%3E%3CP%3E-%E3%83%95%E3%83%AC%E3%83%83%E3%82%AF%E3%82%B9%E3%82%AD%E3%83%A3%E3%83%B3_IP_%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%95%E3%82%A1%E3%83%B3%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%2F%E3%83%A9%E3%82%A4%E3%83%88%3C%2FP%3E%3CP%3E-%E3%83%95%E3%83%AC%E3%83%83%E3%82%AF%E3%82%B9%E3%82%AD%E3%83%A3%E3%83%B3_IP_%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%95%E3%82%A1%E3%83%B3%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%2F%E8%AA%AD%E3%81%BF%E5%8F%96%E3%82%8A%3C%2FP%3E%3CP%3E-%20FlexCAN_Ip_Send%3C%2FP%3E%3CP%3E-%20FlexCAN_Ip_Receive%3CBR%20%2F%3E%3CBR%20%2F%3EAPI%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E4%BE%8B%E3%81%A8%E3%80%81polling%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6CAN%20FD%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E4%BE%8B%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E