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.