two TJA1101B Ethernet Adapter board LINK UP with S32K148

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

two TJA1101B Ethernet Adapter board LINK UP with S32K148

301 Views
linlin1225
Contributor I

Hi all, 

Had anyone tried to built link between two TJA1101 automotive Ethernet adapter with S32K148EVB?

I used the phy_tja1101 example project to do init for ENET and PHY, after that I did this for master 

PHY_Write(0, 17U, 0x9804);

PHY_Write(0, 18U, 0x8001);

this for slave

PHY_Write(0, 17U, 0x9804);

PHY_Write(0, 18U, 0x0001);

after two boards are configured, I connect the bus (TRX_P & TRX_M) of two boards.

The register 23 is monitor with PHY_Read(0, 23U, &value_check_23), however, I can see the readout is back and forth with 0x4004 and 0x6004 which is SEND_Z and SEND_I but I expect SEND_N when I hook them up also LINK_UP bit should be toggled.

 

I assume that the link will automatically build that I don't even need to send any command on the bus. Does anyone have experience on this?

0 Kudos
Reply
1 Reply

286 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

could below presentation be helpful?
https://community.nxp.com/t5/Connects-Training-Material/Body-Comfort-Hands-On-Workshop-S32K148-Using...
It describes demo to establish communication between 2 boards.

BR, Petr

0 Kudos
Reply