********************************************************************************
* 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.
*
* Individual RX masking was added to the last version of this example.
* Three messages with different ID's are sent via FlexCAN_0 MB0 MB1 and MB2.
* These messages are received by FlexCAN_1 MB0, MB1 and MB2 according to masking
* register settings.
*
* For MB0 data receive is used interrupt.
*
*
* ------------------------------------------------------------------------------
* Test HW: MPC5775K-356DS, MPC57xx Motherboard
* MCU: PPC5775KMMY3A 0N38M
* Fsys: PLL0 266MHz
* Z4 Core 133MHz
* Debugger: Lauterbach Trace32
* PeMicro USB-ML-PPCNEXUS
* Target: internal_FLASH (debug mode, release mode)
* EVB connection:
*
* It is necessary to remove both J32 jumpers and also both J35 jumpers.
*
* Connect J32.2 to PC9 (CAN_0 TX)
* Connect J32.4 to PC8 (CAN_0 RX)
*
* Connect J35.2 to PE5 (CAN_1 TX)
* Connect J35.4 to PG14 (CAN_1 RX)
*
* Connect CAN P5.2 to CAN2 P4.2 (CAN_0 and CAN_1 CANL)
* Connect CAN P5.1 to CAN2 P4.1 (CAN_0 and CAN_1 CANH)
*
* This connection has to be observed, otherwise correct communication between
* CAN modules is not guaranteed.
*
*
********************************************************************************