2107389_en-US

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

2107389_en-US

2107389_en-US

S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hello,

Example project works fine with ETH0 Port.

When I change to ETH1 Port it does not work. I modified the following:

Pins (Added pins)

Port (Added ports for the pins)

Clocks (Set ETH1 Clocks for 125MHz)

Switch (Changed to Port 1 from Port 0)

I am sure I missed something, but I have no idea what....

Attached is the workspace. Customer is waiting for a solution and I am a bit stuck....

Thanks

Priority: MEDIUMS32_CONFIG_TOOLTCPIP_STACKRe: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMUYes, thanks. I had a pin defined incorrectly. Was not clear from the RM.....Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hello @scottobrien ,

Did you manage to check the solution Alasdair suggested?
Is this still an issue on your side?
If not can you accept his response as solution?

Thank you,
Marius

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hi,

I was just going to get back to this later in the week. 

I had a suspicion about that pin, because the description was not clear.

Looks like I had the rest of the stuff correct, which is surprising!

Thanks for checking!

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hi Scott

 

Looks like one of the pins is set up for RMII rather than RGMII.

Try change the signal on pin 47 (E8) from 'eth_1_rmii_txen' to 'eth_1_rgmii_txctl'.

 

I was able to ping the board on 192.168.0.200 through the switch after changing this.

 

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Yes that is of no value. Port 0 works fine to the outside world. I still don't know if my project is incorrect or the SJA is not passing the signals through. I see the S32E EVB has both ports so I think I need to try it on this first without the SJA switch, if I have an E board.

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hello,
I was also wondering this since SJA is the bridge used on NETC1 as per GreenBox 3 Real-Time Development Platform Block Diagram:

MariusC_0-1748870864651.png

Unfortunately at the moment I don't have other updates.
I noticed that there is an example in RTD that does a loopback between ports 0 and 2.

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hello,

After discussing this with the apps team, it is not clear if the SJA is programmed correctly to allow S32E Port 1 to work. I think I need to get Port 1 to work on the EVB first and then port it to the GB3, unless someone has some words of wisdom on why this is not working.....

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

OK,

I checked the TCPIP Configuration and I don't see anything related to the ENET Port, so I must have something configured incorrectly. I do wonder if I have all the ENET1 pins configured correctly....

Thanks

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hi,

It is the Green Box 3 and ETH1 is going through the SJA.

I thought that I changed the existing NETCIF to use ETH1. My guess is I missed something, so adding another one would likely be the same story.... Can I not just change the existing project to use ETH1? Maybe I missed something in the TCPIP Configuration? I will check again.


Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hi @BogdanB this topic is about TCP/IP example on top of FreeRTOS. And the issue is not related to FreeRTOS. It is about the Ethernet port. Liviu should help about this topic due to the tag "TCPIP_STACK"

Re: S32E TCPIP Example Project - lwip_S32E27X_FreeRTOS_SMU

Hello Scot,
What board are you using? Is the ETH1 also connected to the PHY?
What you can do is add another netif in TCP/IP stack so when TCPIP routes the packets it goes to ETH1 (see picture)image.png

--Marius


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 06:41 PM
更新者: