Hi
In SDK_2.10_RT1060, lwip_tcpecho_bm.c, I can see below 4 GPIO_PinInits at line 137
GPIO_PinInit(GPIO1, 9, &gpio_config);
GPIO_PinInit(GPIO1, 10, &gpio_config);
/* pull up the ENET_INT before RESET. */
GPIO_WritePinOutput(GPIO1, 10, 1);
GPIO_WritePinOutput(GPIO1, 9, 0);
delay();
GPIO_WritePinOutput(GPIO1, 9, 1);
Could somebody let me know the meaning?
Thank you very much.
Hi @davidzhu ,
Please check the MIMXRT1060-EVK schematic:
So, the code function is also in the comment:
/* pull up the ENET_INT before RESET. */
GPIO_WritePinOutput(GPIO1, 10, 1);
GPIO_WritePinOutput(GPIO1, 9, 0);
delay();
GPIO_WritePinOutput(GPIO1, 9, 1);
It is used to configure the external PHY.
Wish it helps you!
Best Regards,
Kerry