Example MPC5777C FlexCAN simple TXRX ECC enabled GHS616

Document created by Petr Stancik Employee on Jun 6, 2017
Version 1Show Document
  • View in full screen mode

********************************************************************************
* Detailed Description:
*
* Configures the FlexCAN to transmit and receive a CAN message.
* ECC reporting in the FlexCAN module is enabled.
*
* In this config, CAN_A transmits a message. CAN_B receives the message.
* CAN_A MB8 is configured to send data. CAN_A sends message each 1sec.
* This interval is generated by PIT.
* CAN_B MB9 is configured to receive a message, SW polling is used.
*
* Install jumpers J37 1-2 and J38 1-2
*
* Connect CAN0-CANH on P15-1 to CAN1-CANH on P14-1
* Connect CAN0-CANL on P15-2 to CAN1-CANL on P14-2
*
* ------------------------------------------------------------------------------
* Test HW:         MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C
* MCU:             PPC5777CMM03 2N45H CTZZS1521A
* Fsys:            PLL1 = core_clk = 264MHz, PLL0 = 192MHz
* Debugger:        Lauterbach Trace32
* Target:          internal_FLASH
* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A
*           use USB connector (J21) on minimodule
*
* EVB connection:  ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1)
*                  ETPUA31 (PortP P23-14) --> USER_LED_2 (P7-2)
*
*
********************************************************************************

1 person found this helpful

Outcomes