gd32f450以太网配置
时间: 2023-09-14 10:02:40 浏览: 191
GD32F450系列控制器集成了一个以太网外设,支持10Mbps或100Mbps的数据传输速率,并通过DMA控制器进行介质访问控制(MAC)。该以太网外设可以按照IEEE 802.3-2002和IEEE 1588-2008标准发送和接收MAC数据包。要配置GD32F450的以太网,可以通过配置BCR寄存器和BSR寄存器实现。具体地说,通过调用ST官方的以太网库的HAL_ETH_ReadPHYRegister()和HAL_ETH_WritePHYRegister()函数来完成对PHY芯片寄存器的读写操作。在LAN8720初始化过程中,调用HAL_ETH_Init()函数后,会根据输入的参数配置LAN8720的相应寄存器,从而完成GD32F450的以太网配置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [GD32F450以太网(1):ETH 外设接口简介](https://blog.csdn.net/Zhichao_Zhang/article/details/125691477)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [GD32F450以太网(2-1):PHY芯片LAN8720A介绍](https://blog.csdn.net/Zhichao_Zhang/article/details/125691715)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文