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?
Solved! Go to Solution.
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
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