在配置以太网PHY RMII模式时,需要确保PHY芯片的寄存器配置正确,包括速度、双工模式等参数 ...
连接网线下载程序后,打开DEBUG发现程序一直卡在 reval_state = enet_software_reset();...
operations,theLKbitinFMC_CTL0registerisresetto0byhardware.Thesoftwarecanlock theFMC_CTLagainbysettingtheLKbitinFMC_CTL0registerto1.Anywrongoperations totheFMC_KEY0,settheLKbitto1,andlockFMC_CTL0register,andleadtoabuserror. TheOBPGbitandOBERbitinFMC_CTL0arestillprotectedeventheFMC_CTL0is unlocked....
if GetDepend(['BSP_USING_ETH']): src += ['GD32F4xx_standard_peripheral/Source/gd32f4xx_enet.c'] if GetDepend(['RT_USING_ADC']): src += ['GD32F4xx_standard_peripheral/Source/gd32f4xx_adc.c'] if GetDepend(['RT_USING_DAC']): src += ['GD32F4xx_standard_peripheral/Source/g...
表3-203.函数enet_software_reset204 表3-204.函数enet_rxframe_size_get204 表3-205.函数enet_descriptors_chain_init205 表3-206.函数enet_descriptors_ring_init206 表3-207.函数enet_frame_receive206 表3-208.函数enet_frame_transmit207 表3-209.函数enet_transmit_checksum_config208 ...
['GD32F4xx_standard_peripheral/Source/gd32f4xx_enet.c']ifGetDepend(['RT_USING_ADC']):src+=['GD32F4xx_standard_peripheral/Source/gd32f4xx_adc.c']ifGetDepend(['RT_USING_DAC']):src+=['GD32F4xx_standard_peripheral/Source/gd32f4xx_dac.c']ifGetDepend(['RT_USING_RTC']):src+=['...
笔者使用的开发板是兆易创新设计的GD32407V-START开发板。其主控芯片为GD32F407VKT6,主频168MHz,内部3072K Flash,192KB SRAM,资源相当丰富。 1 BSP框架制作 在具体移植GD32407V-START的BSP之前,先做好GD32的BSP架构。BSP框架结构如下图所示: GD32的BSP架构主要分为三个部分:libraries、tools和具体的Boards,其...
['GD32F10x_standard_peripheral/Source/gd32f10x_can.c']2829ifGetDepend(['BSP_USING_ETH']):30src+=['GD32F10x_standard_peripheral/Source/gd32f10x_enet.c']3132ifGetDepend(['RT_USING_ADC']):33src+=['GD32F10x_standard_peripheral/Source/gd32f10x_adc.c']3435ifGetDepend(['RT_USING_...
src += ['GD32F4xx_standard_peripheral/Source/gd32f4xx_enet.c'] if GetDepend(['RT_USING_ADC']): src += ['GD32F4xx_standard_peripheral/Source/gd32f4xx_adc.c'] if GetDepend(['RT_USING_DAC']): src += ['GD32F4xx_standard_peripheral/Source/gd32f4xx_dac.c'] ...
['GD32F10x_standard_peripheral/Source/gd32f10x_can.c']2829ifGetDepend(['BSP_USING_ETH']):30src += ['GD32F10x_standard_peripheral/Source/gd32f10x_enet.c']3132ifGetDepend(['RT_USING_ADC']):33src += ['GD32F10x_standard_peripheral/Source/gd32f10x_adc.c']3435ifGetDepend(['RT_...