Request S32K3 MCAL FlexCAN Example

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

Request S32K3 MCAL FlexCAN Example

1,621 Views
dnewbe
Contributor III

Do you have a FlexCAN example made by MCAL driver on S32K344-EVB ?

 

I'm developing a FlexCAN example on S32K3X4EVB-Q257 board. The example code is made by MCAL driver. But that example (CAN_example_CT.mex) is work on Loopback mode and Polling operation. I did modify that example to not Loopback using CAN0 pins. 

So I verified basic operation using CAN API (Can_MainFunction_Write, Can_MainFunction_Read).

But the configuration of FlexCAN is works on one kind of Message ID. When config is Standard Message ID the Extended ID can't works. When config is Extended ID the Standard ID can't works.

I confuse relation between Message ID and Message Buffer (MailBox). For more Message ID and StandardFifo, LegacyFifo and ExtendedFio.

Could you tell me how to works Standard ID and Extended ID ?

 

My development is base on following.

- S32DS 3.4

- SDK is PlatformSDK_S32K3_2022_07

 

Thanks.

0 Kudos
Reply
3 Replies

1,580 Views
dnewbe
Contributor III

Thanks PetrS

 

But I need MCAL driver because I did make other driver is make with MCAL driver like as LIN and PIT etc.

 

Thanks

0 Kudos
Reply

1,575 Views
PetrS
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,607 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

could below example be helpful?
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...
But it is using FlexCAN IP driver.

BR, Petr

0 Kudos
Reply