where can i find Ethernet and Flexray module of simulink?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

where can i find Ethernet and Flexray module of simulink?

788 次查看
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 回复数

702 次查看
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 项奖励

702 次查看
tommy_liu1
Contributor I

Dear Marius-lucian Andrei

    Many thanks your guide. I will study your article!