Example MPC5777M MCAN simple TX/RX GHS614

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Example MPC5777M MCAN simple TX/RX GHS614

Example MPC5777M MCAN simple TX/RX GHS614

********************************************************************************
* Detailed Description:
*
* Configures the MCANs to transmit and receive a CAN message.
*
* In this config, MCAN_1 transmits a message. MCAN_2 receives the message.
*
* MCAN_1 sends message each 1sec. This interval is generated by PIT.
* Single TX buffer is used to send n bytes. The message ID is changed for each
* transmission. Two standard and 2 extended IDs are sent.
*
* MCAN_2 is configured to receive a message, SW polling is used.
* There are 2 standard and 2 extended ID filter tables defined. Classic filter
* configuration is set, means filter ID & mask.
* Messages with matched standard ID are received into RXFIFO_0, messages with matched
* extended ID then stored in RXFIFO_1.
*  
* EVB connection:
*
* J37 and J38 to position 1-2 to connect MCAN1 TX/RX to transceiver
*
* CAN0-CANH on P15-1 to CAN1-CANH on P14-1
* CAN0-CANL on P15-2 to CAN1-CANL on P14-2
*
* ------------------------------------------------------------------------------
* Test HW:  MPC5777M, MPC57xx Motherboard + MPC5777M_512DS minimodule
* Maskset:  0N78H
* Target :  internal_FLASH
* Fsys:     600 MHz PLL1 with 40 MHz crystal reference,
*        core2 at 200MHz generated from PPL1
* Terminal: None
********************************************************************************
Revision History:
1.0     Jan-5-2017     PetrS    Initial Version of MCAN example
*******************************************************************************/

添付
%3CLINGO-SUB%20id%3D%22lingo-sub-1125575%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5777M%20MCAN%20simple%20TX%2FRX%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1125575%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%20MCANs%20to%20transmit%20and%20receive%20a%20CAN%20message.%3CBR%20%2F%3E*%20%3CBR%20%2F%3E*%20In%20this%20config%2C%20MCAN_1%20transmits%20a%20message.%20MCAN_2%20receives%20the%20message.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20MCAN_1%20sends%20message%20each%201sec.%20This%20interval%20is%20generated%20by%20PIT.%3CBR%20%2F%3E*%20Single%20TX%20buffer%20is%20used%20to%20send%20n%20bytes.%20The%20message%20ID%20is%20changed%20for%20each%3CBR%20%2F%3E*%20transmission.%20Two%20standard%20and%202%20extended%20IDs%20are%20sent.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20MCAN_2%20is%20configured%20to%20receive%20a%20message%2C%20SW%20polling%20is%20used.%3CBR%20%2F%3E*%20There%20are%202%20standard%20and%202%20extended%20ID%20filter%20tables%20defined.%20Classic%20filter%3CBR%20%2F%3E*%20configuration%20is%20set%2C%20means%20filter%20ID%20%26amp%3B%20mask.%3CBR%20%2F%3E*%20Messages%20with%20matched%20standard%20ID%20are%20received%20into%20RXFIFO_0%2C%20messages%20with%20matched%3CBR%20%2F%3E*%20extended%20ID%20then%20stored%20in%20RXFIFO_1.%3CBR%20%2F%3E*%20%26nbsp%3B%3CBR%20%2F%3E*%20EVB%20connection%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20J37%20and%20J38%20to%20position%201-2%20to%20connect%20MCAN1%20TX%2FRX%20to%20transceiver%3CBR%20%2F%3E*%20%3CBR%20%2F%3E*%20CAN0-CANH%20on%20P15-1%20to%20CAN1-CANH%20on%20P14-1%3CBR%20%2F%3E*%20CAN0-CANL%20on%20P15-2%20to%20CAN1-CANL%20on%20P14-2%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%20MPC5777M%2C%20MPC57xx%20Motherboard%20%2B%20MPC5777M_512DS%20minimodule%3CBR%20%2F%3E*%20Maskset%3A%26nbsp%3B%200N78H%3CBR%20%2F%3E*%20Target%20%3A%26nbsp%3B%20internal_FLASH%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20600%20MHz%20PLL1%20with%2040%20MHz%20crystal%20reference%2C%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20core2%20at%20200MHz%20generated%20from%20PPL1%3CBR%20%2F%3E*%20Terminal%3A%20None%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3ERevision%20History%3A%3CBR%20%2F%3E1.0%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Jan-5-2017%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PetrS%26nbsp%3B%26nbsp%3B%20%26nbsp%3BInitial%20Version%20of%20MCAN%20example%3CBR%20%2F%3E*******************************************************************************%2F%3C%2FP%3E%3C%2FLINGO-BODY%3E
評価なし
バージョン履歴
最終更新日:
‎09-07-2021 03:15 AM
更新者: