How to use TJA1103A in S32K358 with RGMII

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

How to use TJA1103A in S32K358 with RGMII

363 Views
jack_qi
Contributor I

Problem description:

  1. The TJA1103 RXC has a normal output 25MHz clock to the S32K358 MAC. After initialize and enable the GMAC module, the program enters Eth_TInitPhy() smoothly, but the Search for the PHY ID fails. PHY ADDRESS not found Theoretically PHYID=27 is read. Both phy_reg_val0 and phy_reg_val1 are read as invalid values [0]65535.
  2. We tried to modify the value of modeleClk in the program from 45M to 80Mhz,125hz,160Mhz. The MDC frequencies captured by the oscilloscope all correspond to 6Mhz,5M,2.5M, 1.5M, which should be less than 2M according to the manual description. But nothing seems to have worked
  3. The GAMC failed to read the PHY ID, and GMAC sent to the PHY to capture the TXC clock

 

MCU :

 S32K358(16Mhz external crystal)

PHY:

  • TJA1103A Ethernet PHY(25MHz crystal)

RTD:

 SW32K3_TCPIP_1_0_3_D2306_updatesite.zip

TJA1103 pin strapping CONFIG0-CONFIG6 all open, by zhe way,TXC has no clk out but RXC has clk in .

0 Kudos
1 Reply

275 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

seems the same is discussed at https://community.nxp.com/t5/S32K/TJA1103A-with-S32K358/td-p/1785771

BR, Petr

0 Kudos