• AVR Freaks

How to use LAN9353 with PIC32MZ1024EFM144

Author
aatifshaikh66
New Member
  • Total Posts : 27
  • Reward points : 0
  • Joined: 2019/02/20 03:17:39
  • Location: 0
  • Status: offline
2019/04/12 02:39:49 (permalink)
0

How to use LAN9353 with PIC32MZ1024EFM144

Hi all,

I wanted to use the LAN9353 with PIC32MZEFM144, but unfortunately, there are no bare-metal libraries available for LAN9353 ( and MPLAB Harmony doesn't support LAN9353 as well). So, one of the Microchip's Tech-support suggested to me that I can use the libraries of LAN9303 (copper-switch). Moreover, he also mentioned that if I keep the hardware configuration similar to the 'PIC32 Starter Kit + LAN9303 Daughter-Board', I don't even need to change the switch registers value.

At present, I've made my custom board consist of 'LAN9353 + PIC32MZ1024EFM144' and kept the hardware configuration similar to the 'PIC32 Starter Kit + LAN9303 Daughter-Board'. But when I'm trying to run the same code which I made for the Starter kit, in the main loop 'APP_Tasks' the function 'TCPIP_STACK_Status(sysObj.tcpip)' keep giving me 'SYS_STATUS_BUSY' for 898 times, and then finally 'SYS_STATUS_ERROR', which indicate there are some errors In TCP/IP INIT.

Does anyone ever had done this before, or any idea related to the changes that I need to make in driver files?

Thanking with regards,
Aatif Shaikh

 
#1

1 Reply Related Threads

    aatifshaikh66
    New Member
    • Total Posts : 27
    • Reward points : 0
    • Joined: 2019/02/20 03:17:39
    • Location: 0
    • Status: offline
    Re: How to use LAN9353 with PIC32MZ1024EFM144 2019/04/15 00:43:43 (permalink)
    0
    Bingo,
     
    with slight modification in the Adress value (PHY address of Port-0), I'm able to use the LAN9353 by using the driver files of LAN9303.


    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5