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

Document created by Petr Stancik Employee on Mar 26, 2019Last modified by Petr Stancik Employee on Mar 27, 2019
Version 2Show Document
  • View in full screen mode

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.


Maskset: 0N78S
Target : FLASH
Fsys: 160 MHz PLL