the FlexCAN example is part of S32DS installation. On the main menu bar click on File -> New -> New S32DS Project from Example...
In newly opened window select flexcan_mpc5748g project and press finish.
In newly opened project in the processor expert area double click on canCom1:flexcan. In configuration window enable FD and select Payload size to requested value.
When you are done - generate processor expert code by pressing icon in the processor expert area and rebuild your project.
Thank you for your help! But i can't find the flexcan_mpc5748g project,wihle there is a flexcan_recive project and a flexcan_transmit project,are they helpful?
And i couldn't find the configuration window to enable FD and select Payload size to requested value.
if i have wrote code to enable FD and select Payload size in the project,i still need to find the configuration window to enable FD and select Payload size to requested value?
I assume you are using S32DS for Power v1.2.
There are multiple example groups for MPC5748G - one for examples based on SDKs (there multiple version of SDKs) and other non-SDK examples.
If you cannot see the latest SDK v0.8.1 example Projects folder you need to install S32DS for Power Update:
Hope it helps.