Example MPC5777C FlexCAN simple TXRX ECC enabled GHS616

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5777C FlexCAN simple TXRX ECC enabled GHS616

Example MPC5777C FlexCAN simple TXRX ECC enabled GHS616

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1127106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5777C%20FlexCAN%20simple%20TXRX%20ECC%20enabled%20GHS616%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1127106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Configures%20the%20FlexCAN%20to%20transmit%20and%20receive%20a%20CAN%20message.%3CBR%20%2F%3E*%20ECC%20reporting%20in%20the%20FlexCAN%20module%20is%20enabled.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20In%20this%20config%2C%20CAN_A%20transmits%20a%20message.%20CAN_B%20receives%20the%20message.%3CBR%20%2F%3E*%20CAN_A%20MB8%20is%20configured%20to%20send%20data.%20CAN_A%20sends%20message%20each%201sec.%3CBR%20%2F%3E*%20This%20interval%20is%20generated%20by%20PIT.%3CBR%20%2F%3E*%20CAN_B%20MB9%20is%20configured%20to%20receive%20a%20message%2C%20SW%20polling%20is%20used.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Install%20jumpers%20J37%201-2%20and%20J38%201-2%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Connect%20CAN0-CANH%20on%20P15-1%20to%20CAN1-CANH%20on%20P14-1%3CBR%20%2F%3E*%20Connect%20CAN0-CANL%20on%20P15-2%20to%20CAN1-CANL%20on%20P14-2%3CBR%20%2F%3E*%20%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5777C-512DS%20Rev.A%20%2B%20MPC57xx%20MOTHER%20BOARD%20Rev.C%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5777CMM03%202N45H%20CTZZS1521A%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL1%20%3D%20core_clk%20%3D%20264MHz%2C%20PLL0%20%3D%20192MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%3CBR%20%2F%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20use%20USB%20connector%20(J21)%20on%20minimodule%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20ETPUA30%20(PortP%20P23-15)%20--%26gt%3B%20USER_LED_1%20(P7-1)%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ETPUA31%20(PortP%20P23-14)%20--%26gt%3B%20USER_LED_2%20(P7-2)%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1127106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎06-06-2017 05:39 AM
Updated by: