where can i find Ethernet and Flexray module of simulink?

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

where can i find Ethernet and Flexray module of simulink?

1,066 Views
Tommy_Liu
Contributor II

Dears,

    as i know, SPC57 series products had Ethernet and Flexray modules on chip. but i can't find these modules in Simulink library. 

     could you help me check the reason. many thanks. 无标题.png

2 Replies

980 Views
mariuslucianand
NXP Employee
NXP Employee

Hello Tommy.Liu‌,

Unfortunately, for now, we do not provide Simulink blocks for the Ethernet and Flexray.

If you need this functionality, you can achieve it by inserting custom code that covers the mentioned peripherals. You can start from an Ethernet SDK example because all the generated code is based on the S32 SDK for Power Architecture so you can use the API provided there. The S32SDK also contains examples using the lwIP stack so you can achieve TCP/UPD communication starting from their examples.

On how to insert custom code you can follow the tutorial here https://community.nxp.com/docs/DOC-345880 .

Hope this helps,

Marius

0 Kudos
Reply

980 Views
tommy_liu1
Contributor I

Dear Marius-lucian Andrei

    Many thanks your guide. I will study your article!