iMX RT1064 EVK - ETH Chip ID Fails

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

iMX RT1064 EVK - ETH Chip ID Fails

Jump to solution
495 Views
GanesanGuru
Contributor IV

Hi fellas, 

I'v created a new cpp based project in for iMX RT1064 for lwip+freeRTOS. For comparision, I've used tcp_echo project, which is based on c.

I've succedded till "Initializing PHY" . After that the chip ID for PHYKSZ8081(32/0x22) is not able to read by PHY_KSZ8081_READ @ fsl_phyksz8081.c file.

I hope the main issues lies in ENET_ReadSMIData @ fsl_enet.c file, as previous funtion's return is SUCEESS ony (i.e.).ENET_MDIOWaitTransferOver

Let me come whre the actual problem might me...

 

I've configured the pins & clocks as per the c project in mu cpp. Is there anything else should be modified w.r.t cpp  or specificlly for ETHERNET configurations? 

PS : Exmaple, FreeRTOSConfig.h file's max priority has been set to 5 --> while, lwip_rx has priority has 8. One changed, it worked. Similarly, any config files that I should check w.r.t ETH

0 Kudos
1 Solution
471 Views
GanesanGuru
Contributor IV

Hi all,

Issues has been resolved. Reason is I've created a multiple threads - in which ETH_RST & ETH_INT has been used for onboard led. 
They were toggling - which interrupted the whole process.

View solution in original post

0 Kudos
1 Reply
472 Views
GanesanGuru
Contributor IV

Hi all,

Issues has been resolved. Reason is I've created a multiple threads - in which ETH_RST & ETH_INT has been used for onboard led. 
They were toggling - which interrupted the whole process.

0 Kudos