The strange thing is that the GPIO_16 pin will output 50MHz clock after eth0 up. If use "ifconfig eth0 down" command, the 50MHz clock output will disappear. I use "memtool" tool to check the register(IOMUXC_SW_MUX_CTL_PAD_GPIO16, address 0x020E0214), the values is 0x02,...
reg = *((unsigned int*)(GPIO1_BASE_ADDR + 0x00)); reg &= ~0x2000000; *((unsigned int*)(GPIO1_BASE_ADDR + 0x00)) = reg; while(i--) ; reg = *((unsigned int*)(GPIO1_BASE_ADDR + 0x00)); reg |= ~0x2000000; *((unsigned int*)(GPIO1_BASE_ADDR + 0x00)) = reg; } ...
In RGMII Mode, only the pin "ENET_REF_CLK" could used as 125M reference clock input. The 125M reference clock could be from PHY chip, or external oscillator, and could also be routed from GPIO_16(need software configuration). In RMII Mode, only two pins "GPIO_16" and "RGMII...
In RGMII Mode, only the pin "ENET_REF_CLK" could used as 125M reference clock input. The 125M reference clock could be from PHY chip, or external oscillator, and could also be routed from GPIO_16(need software configuration). In RMII Mode, only two pins "GPIO_16" and ...
clock: GPIO_16 and RGMII_TX_CTL. The GPIO_16 pin is the preferred choice because it has the advantage of being in a high voltage IO domain,which means it can be used at the standard 3.3 V IO voltage levels. http://cache.nxp.com/assets/documents/data/en/user-guides/IMX6DQ6SDLHDG...
215 /*MX8MQ_IOMUXC_ENET_TD2_GPIO1_IO19 0x19 Set as gpio to test hardware!!!*/216 MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x56217 MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x56218 MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x56219 MX8MQ_IOMUXC_ENET_RD0_ENET...
IOMUXC_SetPinConfig(IOMUXC_SPDIF_RX_GPIO5_IO04, 0x19); } int main() { EnableIRQ(ENET1_MAC0_Rx_Tx_Done0_IRQn);EnableIRQ(ENET1_MAC0_Rx_Tx_Done1_IRQn);EnableIRQ(ENET1_IRQn);mdioHandle.resource.csrClock_Hz = EXAMPLE_CLOCK_FREQ;IP4_ADDR(&netif_ipaddr, configIP_ADDR0, configIP_...
You said "The 125M reference clock could be from PHY chip, or external oscillator, and could also be routed from GPIO_16(need software configuration)." I want to ask how to routed from GPIO_16?What is the detail configuration? Now I can generate the 125M clock at the GPIO_16. Thank...