Is there any sample codes about Flexray and Ethernet for Calypso family?
Please share with me if you have.
unfortunately we do not have any Flexray example, but there are two possibilities. First one is AUTOSAR OS and Flexray MCAL driver.
AUTOSAR Software Solutions|NXP
Second one is driver from Vector.
Solutions for FlexRay Networking
But both drivers are under license.
About Ethernet I can provide you ENET driver for MPC5775K, which is usable, but it is necessary to edit GPIO and some register names, because of different header files.
Also you can look at this thread, where ENET driver for MPC5748G is handled.
Retrieving data ...