Hi Mahd,
Sorry for delay. I've checked the code you have sent me.
The main difference between you generated code and mine is in the flexcan_init_fnc() function:

Please install HotFix_6 patch in order to fix it: https://community.nxp.com/thread/451804#comment-954427
This is a cumulative patch that fix the issue.
Please confirm you have it working. FYI, these are the HW settings i've tested with:
- 12V external power supply
- 120ohm termination resistor

Hope this helps!
Daniel