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.
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
Dear Marius-lucian Andrei
Many thanks your guide. I will study your article!