mpc5848G-Flexcan driver Tx/RX

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

mpc5848G-Flexcan driver Tx/RX

719 Views
SKC123
Contributor I

Hi,

I am using Flexcan driver for MPC5748G. I want to Tx and RX the different CANID. In demo project are provided the hardcoded (TX_MsgID)  CANID there is any way to provide the different CANID. Guide me 

Thanks regards,

SKC123

0 Kudos
3 Replies

699 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

which driver do you mean, SDK driver? If yes then for RX operation using FLEXCAN_DRV_ConfigRxMb you prepare MB for reception of given ID and with FLEXCAN_DRV_Receive you start reception into this MB. For sending message you can simply use FLEXCAN_DRV_Send with defined ID to be send.

BR, Petr

0 Kudos

693 Views
SKC123
Contributor I

Hi,

Thanks, there is sample code. can u please share it 

Thanks and regard

SKC123

0 Kudos

685 Views
PetrS
NXP TechSupport
NXP TechSupport

Within S32 DEsign Studio you can find either non-SDK or SDK projects

PetrS_0-1631532356445.png

BR, Petr

0 Kudos