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; } ...
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_...
基于STM32单片机智能手环计步器体温显示设计(源码+全部数据)使用STM32CubeMX生成的基础代码,在主函数中完成必要的初始化工作,如I2C初始化、GPIO初始化、RTC初始化等。 c 深色版本 int main(void) { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_I2C1_Init(); MX_RTC_Init(); // 其他初始化代...
#ifdef CONFIG_FEC_MXCstatic iomux_v3_cfg_t const fec1_pads[] = { MX6_PAD_GPIO1_IO06__ENET1_MDIO | MUX_PAD_CTRL(MDIO_PAD_CTRL), MX6_PAD_GPIO1_IO07__ENET1_MDC | MUX_PAD_CTRL(ENET_PAD_CTRL), MX6_PAD_ENET1_TX_DATA0__ENET1_TDATA00 | MUX_PAD_CTRL(ENET_...
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...
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....
Now I can generate the 125M clock at the GPIO_16. Thank you very much 0 Kudos Reply 04-11-2016 12:55 AM 9,887 Views fei_liu NXP Employee ENET_REF_CLK is the input pin for RGMII reference clock, so if you want to use GPIO_16 to provide the 125M clock, you should con...
ENET_REF_CLK is the input pin for RGMII reference clock, so if you want to use GPIO_16 to provide the 125M clock, you should connect GPIO_16 to ENENT_REF_CLK, and be careful, the voltage level might be different, you might need an level shift. 0 项奖励 回复 04-11...