Example MPC5777C FlexCAN simpleTXRX SW poll GHS616

File uploaded by Petr Stancik Employee on Jul 22, 2016
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 disabled.

*

* 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.

*

* 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)

*

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

Outcomes