How to use FlexCAN1 to communicate with FreeMaster

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

How to use FlexCAN1 to communicate with FreeMaster

990件の閲覧回数
ChenBowen
Contributor II

Dear Expert:

    MPC5744P,now I need to use CAN1 to connect with FreeMaster,because the CAN0 is being used by app.

   The Freemaster SDK only uses CAN0,is it possible to use CAN1 ?

0 件の賞賛
返信
1 返信

984件の閲覧回数
iulian_stan
NXP Employee
NXP Employee

Hi @ChenBowen,

You can configure FreeMASTER Driver to use CAN1 by updating its corresponding base address in freemaster_cfg.h:

/*****************************************************************************
* Select communication interface (SCI/FlexCAN base address)
******************************************************************************/

#define FMSTR_SCI_BASE         0xFBE84000UL /* LINFlex0 base on MPC574xP */
#define FMSTR_CAN_BASE         0xFFEC0000UL /* FlexCAN0 base on MPC574xP */

Note: FreeMASTER Driver does not configure the CAN interface, the setup is expected to be done in your application code.

 

0 件の賞賛
返信