I want to know whether the s32k148 chip can realize the function of Ethernet through tlk110. and whether there is a routine file
Solved! Go to Solution.
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?
Regards,
Lukas
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:
Regards,
Lukas
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.
Hi,
are these settings aligned?
Regards,
Lukas
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.
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?
Regards,
Lukas
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.
The problem has been solved, it is a hardware problem of tlk110