Hello juliana.rojas3062@ctag.com ,
You can find an example here How to use your own C code in our Toolbox (Battery Management System example) .
To get inspiration of what code you need to add for the FCAN, you can use the fcan_s32k_send.tlc file (assuming you are using an S32K1xx board) - here you can see what code does the FCAN_SEND block generate. You can find that file in the following location:
{TOOLBOX_ROOT}\mbdtbx_s32k\blocks\lpspi
Kind regards,
Razvan.