FCAN Rx FIFO Example for MPC5777C?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FCAN Rx FIFO Example for MPC5777C?

1,142 Views
ranulf
Contributor IV

Windows 10, R2020a, NXP_MBDToolbox_MPC57xx version 3.2.0, X-RDVCU5775EVM which has the MPC5775B chiip.

I have a setup with a lot of CAN traffic. Up until now I have used the FCAN blocks without Rx FIFO enabled. However, many messages are getting dropped, probably in situations where multiple CAN messages arrive in the same Simulink timestep. This is a situation where FCAN with Rx FIFO is essential.

I can't find any examples that demonstrate the use of FCAN with Rx FIFO and the NXP_MBDToolbox_MPC57xx. Can someone please create one? Thanks.

FCAN_RxFIFO.png

0 Kudos
3 Replies

1,077 Views
Poley
Contributor V

Hi @ranulf 

Did you manage to solve this issue? I am currently trying to do a similar thing and am struggling.

Thanks!

0 Kudos

1,066 Views
ranulf
Contributor IV

@paulvlasewas able to help.

0 Kudos

1,138 Views
ranulf
Contributor IV

For a first try, I created a very simple Simulink model that attempts to utilize FCAN with Rx FIFO on. When I attempted to build an error was raised. 

I have attached the model and the message created during the build attempt. 

0 Kudos