Analog Devices EE-315 Changing the PHY in the Ethernet Driver for Blackfin Processors

This EE-Note describes how to achieve networking functionality with ADSP- BF536/ADSP-BF537 Blackfin® processors together with MII-compatible Ethernet Physical Layer Transceivers (PHYs) other than the SMSC LAN83C185, which is populated on the ADSP- BF537 EZ-KIT Lite® evaluation system.


Analog Devices EE-315 Changing the PHY in the Ethernet Driver for Blackfin Processors - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
132 KB
Published
03 August, 2012
Updated
30 September, 2023
MD5 checksum
360A80EAAF3035EAB98C50F7ED6D9280

About this manual

This Engineer-to-Engineer Note describes the procedure for achieving networking functionality with ADSP-BF536/ADSP-BF537 Blackfin processors using MII-compatible Ethernet Physical Layer Transceivers (PHYs) other than the SMSC LAN83C185. The guide is based on the VisualDSP++ 4.5 development tool suite and its Ethernet MAC driver.

The document details the specific modifications required in the ADI_ETHER_BF537.c source code to accommodate different PHYs. Key changes involve updating the PHY address, clock settings, duplex capabilities, and auto-negotiation parameters. It also covers modifying the PHY ID check logic and interrupt handling routines to ensure compatibility with alternative devices like the SMSC LAN8187 or National Semiconductor DP83848.

What's inside

  • Introduction
  • Overview
  • Modifying the MAC Driver Code
  • Required changes to the source code
  • PHY address and clock settings
  • SetPhy function modifications
  • Check PHY ID
  • Enable PHY interrupt
  • EtherInterruptHandler function
  • PHY interrupt service routine

Frequently asked questions

Which PHYs are supported besides the default SMSC LAN83C185?

The work was verified on an SMSC LAN8187 and on a National Semiconductor DP83848.

What development tool is required for this modification?

The procedure is based on the VisualDSP++ 4.5 development tool suite and its Ethernet MAC driver.

Where is the modified source code file located?

A modified version of ADI_ETHER_BF537.c is included in the .ZIP file associated with this EE-Note.

Download PDF (132 KB)

More Analog Devices Manuals


View all Analog Devices manuals →