Example MPC5746R FlexCAN_with_interrupts S32DS_1.1

File uploaded by Martin Kovar Employee on Jun 7, 2017Last modified by Martin Kovar Employee on Apr 9, 2019
Version 2Show Document
  • View in full screen mode

* Detailed Description:
* Application performs basic initialization, setup PLL to maximum allowed freq.,
* setup clock for peripherals,
* Initializes the MCU including the FlexCAN peripherals.
* Configures the FlexCAN to transmit and receive a CAN message.
* In this config, CAN_0 transmits a message. CAN_2 receives the message.
* CAN_0 MB0 is configured to send data.
* CAN_2 MB0 is configured to receive a message, interrupt is used.
* ------------------------------------------------------------------------------
* Test HW:         MPC5746R-176LQFP, MPC57xx Motherboard
* MCU:             PPC5743R 1N83M
* Fsys:            PLL0 200MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          internal_FLASH (debug mode, debug_ram mode)
* EVB connection:
* Jumpers j37 and j38 on motherboard must be in position 2-3
* Connect CAN P5.2 to CAN2 P4.2 on motherboard
* Connect CAN P5.1 to CAN2 P4.1 on motherboard
Revision History:
Version  Date         Author              Description of Changes
1.0      Jun-07-2017  Martin Kovar      Initial version