找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M252] Emulating MDIO via PSIO

[复制链接]
跳转到指定楼层
楼主
  • Application: This example code uses M252 PSIO to emulate MDIO waveform for controlling Ethernet PHY (IP101GR).
  • BSP Version: M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.02.006
  • Hardware: NuMaker-M252SD V1.2

This example code uses M252 PSIO (Programmable Serial I/O) to emulate serial management interface (MDC/MDIO) waveform for controlling Ethernet PHY. PSIO provides an easy way to receive and transmit various serial transmissions and control the pin output high or low at a specific time and how long the voltage level should be maintained by configuring the time slot, check point and the voltage level.


The MDIO interface is implemented by two signals, including MDC and MDIO. MDIO is the bi-directional data line and MDC is clock line.


Most of the NuMicro Family does not support MDIO master interface for PHY device configuration. This example code provides the solution that can be widely used in the NuMicro Family for accessing Ethernet PHY.


This example code requires additional external hardware modules, including an Ethernet PHY. The part number of Ethernet PHY is IP101GR made by IC PLUS Corporation.


You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC012024100709354694


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU