Has anyone got TJA1101 working with Simulink blocks?

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

Has anyone got TJA1101 working with Simulink blocks?

517 Views
Poley
Contributor V

Hi all,

I want to use a TJA1101 in my project but I have not used NXP Ethernet before.

Has anyone by any chance got Simulink blocks working for this application? I ideally would be looking for the chip to output 100BASE-T 4 wire RJ45 output.

or if there is any way to see code that I can use in simulink to make this work? (the RMII dev board seems to only be 100BASE-T1 2 wire automotive Ethernet so unsure if the example would apply).

would appreciate any help with this, thank you!

0 Kudos
1 Reply

497 Views
mariuslucianand
NXP Employee
NXP Employee

Hi @Poley ,

Unfortunately, we do not provide Ethernet blocks in our toolbox and also we do not have an example for the TJA1101. 

However, since the MBDT for S32K generates code on top of the S32SDK, you can insert a custom code which calls the S32K C drivers to get a communication over Ethernet. I recommend you to have a look at the following User  Guide.https://www.nxp.com/docs/en/user-guide/ADTJA1101-RMIIUG.pdf 

You can start from the S32K SDK examples mentioned in the User Guide. Once you have a working C code that works over Ethernet, you can start to include the custom code in the NXP model by following the article from here: https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-... 

Hope this helps,

Marius

0 Kudos