I am trying to evaluate a potential design for a product, and we wish to use a chip like the following:
LAN9354 (http://ww1.microchip.com/downloads/en/DeviceDoc/00001926B.pdf) in conjunction with a K64 to network multiple boards together. Each would have a LAN chip and its own K64.
I saw in our current stuff we use the KSZ8081RNACA, and include fsl_phy for the PHY driver code in conjunction with lwip. My question is this: does KSDK include any other PHY drivers we can leverage to make the new chip work, or would we be stuck writing our own? If we have to write our own and want to integrate with lwip, would it be as simple as just writing a new PHY driver?
Hi, Derek,
I think all the Kinetis boards use the same PHY KSZ8081RNACA, we only have the driver based on KSZ8081RNACA. If you use LAN9354 as PHY, it is okay, but you have to write the driver yourself.
The LWIP ethernet stack uses clear layered software architecture, you only need rewrite the fsl_phy.c and fsl_phy.h.
Hope it can help you.
BR
XiangJun Rong