Example MPC5748G FlexCAN RXFIFO SDK PA RTM200 S32DS.Power.2017.R1

cancel
Showing results for 
Search instead for 
Did you mean: 

Example MPC5748G FlexCAN RXFIFO SDK PA RTM200 S32DS.Power.2017.R1

Example MPC5748G FlexCAN RXFIFO SDK PA RTM200 S32DS.Power.2017.R1

********************************************************************************
Detailed Description:

Configures the FlexCAN 0 to transmit and receive a CAN message 
Baudrate to is set to 500kbps.

In this config, RXFIFO is used to receive a messages. 16 filter elements

are defined in the RXFIFO table. Both standard and extended IDs are used.

MB10 is moreover used to receive a message with given standard ID.

MB11 is used to transmit a message upon button press.

The callback function is installed as well and is it called each time message is received

in MB10, RXFIFO or message is transmitted.

NOTE! Termination resistor (120Ohm) have to be placed on transceivers output

            12V power supply must be connected.

------------------------------------------------------------------------------
Test HW: DEVKIT-MPC5748G
Maskset: 0N78S
Target : FLASH
Fsys: 160 MHz PLL

********************************************************************************

Labels (1)
Attachments
Version history
Revision #:
1 of 1
Last update:
‎03-26-2019 04:59 AM
Updated by: