FlexCAN Polling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FlexCAN Polling

Jump to solution
335 Views
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 Kudos
Reply
1 Solution
320 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
321 Views
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 Kudos
Reply