S32k148 and tlk110

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

S32k148 and tlk110

Jump to solution
2,287 Views
JackChen2022
Contributor I

I want to know whether the s32k148 chip can realize the function of Ethernet through tlk110. and whether there is a routine file

0 Kudos
1 Solution
2,178 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it depends if default configuration fits your needs or not. The table mentioned above describes default state of those pins/features. If you need different configuration, it's necessary to use pull resistors.

You can take a look at lwip example in the SDK:

c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\examples\S32K148\demo_apps\lwip\

Are the pins configured in the same way in your project?

lukaszadrapa_0-1655996914808.png

Regards,

Lukas

View solution in original post

0 Kudos
7 Replies
2,276 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

Both devices have MII/RMII interface, so I can see no problem here. TLK110 is 3.3V part, so S32K148 needs to be also supplied by 3.3V, not by 5V.

If you use SDK 4.0.2:

lukaszadrapa_0-1655454326715.png

Regards,

Lukas

0 Kudos
2,263 Views
JackChen2022
Contributor I

Hi, thanks for your reply.At present, it is hoped that s32k148 + TLK110 can realize Ethernet function. The driver code is automatically generated through the component (tcpip) of the S32DS platform. In the initialization network interface function enetif_init(), the busy state will always be returned, resulting in unsuccessful initialization. The process is start_example()->test_init(NULL)->enetif_low_level_output()->ENET_DRV_GetTransmitStatus(). I have communicated with TI's technical support, and they said to check the initialization settings, such as the integrity of data packets sent and received, so the self-test circuit is busy.

0 Kudos
2,229 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

are these settings aligned?

 

lukaszadrapa_7-1655721353997.png

lukaszadrapa_4-1655721283863.png

Regards,

Lukas

0 Kudos
2,213 Views
JackChen2022
Contributor I

Thank you very much for your reply. As shown in the picture, I have set the relevant parameters of Data Link (MII mode\MII speed\ARP table size). But I didn't understand TLK110->Bootstrap Configuration. Do I need to configure the pull-up or pull-down resistor of PHYAD? Do other pins need to be configured? The COL pin is automatically set according to the component ENET of (pin_mux:PinSettings). Does it also need to be reset separately? Could you please explain m in detail,thank you.

0 Kudos
2,179 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it depends if default configuration fits your needs or not. The table mentioned above describes default state of those pins/features. If you need different configuration, it's necessary to use pull resistors.

You can take a look at lwip example in the SDK:

c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\examples\S32K148\demo_apps\lwip\

Are the pins configured in the same way in your project?

lukaszadrapa_0-1655996914808.png

Regards,

Lukas

0 Kudos
2,165 Views
JackChen2022
Contributor I

 

As shown in the picture, the pin configuration is the same, except for PTC3, which is connected to the INT/PWDN of the TLK110.In the attachment is the schematic diagram of the ENET part, the R727, 728, 729, 730 pull-up resistors have been removed.The sample program has been looping endlessly in the ENET_DRV_GetTransmitStatus() function.

tcpip.png

微信截图_20220624120412.png

 

JackChen2022_0-1656047406027.png

 

JackChen2022_1-1656047656520.png

 

 

0 Kudos
2,132 Views
JackChen2022
Contributor I

The problem has been solved, it is a hardware problem of tlk110

0 Kudos