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