2366220_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2366220_en-US

2366220_en-US

-Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module

Recently, I have been learning about the Ethernet aspect of the S32K344 development board. The compiler version I am using is s32ds3.4, the SDK version is PlatformSDK_S32K3_2022_03_S32K344_M7, and the FreeRTOS version is SW32K3_FreeRTOS_10_4_6_UOS_2_0_1_HF01_DS_updatesite_D2308. The Ethernet used is TJA1103 + RMII. The problem I am currently encountering is that the IP address in the program is 192.168.0.200. I set the IP address of my computer to 192.168.0.1. When I burn the program into the S32K344 development board, the program will get stuck at this point.But in the most recent test, the program was able to run normally.1111.png 

When I pinged 192.168.0.200, the following error message appeared:
C:\Users\17554>ping 192.168.0.20
Pinging 192.168.0.200 with 32-byte data:
Reply from 192.168.0.5: Request timed out.
Request timed out.
Request timed out.2222.png

Below is the hardware wiring diagram.

333.png

Finally, this is the connection diagram of my development board and the computer.

444.png

Hope to receive your reply.

回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet moduleSorry, it was my mistake. I only realized later that I used TJA1101 instead of TJA1103.回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module

Due to the excessive amount of input content, I still need to add some details.

Firstly, regarding the selection of the PHY in device.c, in my understanding, I used JTA1103. Therefore, I changed PHY_ID1 and PHY_ID2 to the following two.

ssslz_0-1778848881582.png

Then, it comes to the selection of the clocks. I set all three clocks of the emac to 50 MHz, and the clock source was set to emac_mii_rmii_tx.

ssslz_1-1778849010629.png

The only additions I made are these two points. I hope someone can help me answer my questions.

Best regards.

ssslz



回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module

Below is my program.

タグ(1)
評価なし
バージョン履歴
最終更新日:
2 週間前
更新者: