How to confirm that the SJA1105 MAC receiver is working properly?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to confirm that the SJA1105 MAC receiver is working properly?

812 次查看
__shiyi
Contributor I

After applying the above configuration, with the MCU side configured to RGMII, I sent FF:FF:FF:FF:FF:FF broadcast packets from the MCU to Switch Port 4. Unfortunately, the SJA1105 does not appear to be receiving the MAC data frames. How should I troubleshoot this data link issue from both software and hardware perspectives? For example:

  1. How can I read specific registers to verify the SJA1105’s operational status and confirm whether the MAC is receiving data normally?
  2. How can I adjust the TDL (Transmit Delay) settings to ensure proper MAC communication timing?
  3. Are there registers that indicate abnormal MAC reception status, such as error counters or flag bits, which I can monitor to diagnose potential issues?
标签 (2)
0 项奖励
回复
1 回复

753 次查看
PavelL
NXP Employee
NXP Employee

Hello @__shiyi ,

There are zeros on rows 98 and 99  in your file. I would expect this: 

"MAC_FLT[0]": 0xFFFFFF0000FF,
"MAC_FLT[1]": 0xFFFFFF0000FF,

ad 1.  Please check Initial device configuration flag register (address 01h) if your configuration has been accepted by the switch. Reading of register value follows UM11040 chapter 3 SPI Interface.

ad 2. TDL can be set up by registers CFG_PAD_MIIx_ID.

ad 3. You may check high level diagnostic registers described in UM11040, chapter 6.1.1.8 Ethernet port status.

BTW, check your ACU and CGU settings - AH1704 chapter 6. Interface Configuration.

Please refer to UM11040 Software user manual for SJA1105P, SJA1105Q, SJA1105R, SJA1105S and AH1704 SJA1105PQRS Application Hints for detailed description of registers and for application examples. Both documents are available in Documentation section on the page SJA1105PQRS | Automotive Ethernet Switches | NXP Semiconductors and requires log in. Updated AH1704 rev 1.4 requires access to Secure Files.

Best regards,

Pavel

0 项奖励
回复