Tips, Tools and Applications for the Electronic Industry in Europe

Posted on 2016/03/21 by George

How to read EDID data from DVI monitor EEPROM using Aardvark adapter

Intro

Reading EDID data from DVI monitor EEPROM is a common use case for the Aardvark I2C/SPI Host Adapter and DVI DDC Breakout Cable. Although the following describes DVI monitor, similar steps can be used for other DVI devices. The goal of this article is to demonstrate how to read several bytes from DVI monitor EEPROM. 

Overview

In this article the Aardvark host adapter is the I2C master. The DVI monitor EEPROM and the DVI DDC Breakout Cable are the I2C slave.

The DVI Monitor EEPROM I2C target address is 0x50. The DVI Monitor EEPROM EDID length is 128 byte. In this article Aardvark host adapter reads from DVI Monitor EEPROM EDID data: 128 bytes from memory address 00 I2C target address 0x50. For additional information take a look at the EDID Documentation.

Writing and Reading Guidelines

  1. Download and run the latest version of the Total Phase USB Drivers Installer.
  2. Download and unzip the latest version of Control Center Serial.
  3. Connect the Aardvark adapter to the PC via the USB connector.
  4. Connect the Aardvark adapter to the DVI DDC Breakout Cable (TP240810) I2C connector.
  5. Connect the DVI DDC Breakout Cable DVI connector to the DVI Monitor DVI connector.
  6. Launch Control Center Serial.
  7. Connect Control Ceter Srial to the Aardvark adapter.
    1. Click Configure Adapter.
    2. Select the Aardvark Adapter.
    3. Click OK to connect to the adapter.
  8. Click Adapter, and choose I2C+SPI.
  9. Click Adapter, enable I2C Pulls-Ups, and configure Target Power (pin 4, 6) to 5V.
  10. Configure the adapter as an I2C Master using the I2C Control panel.
    1. Click on the Master tab.
    2. Enter 100 in Bitrate rectangular, and click Set.
    3. Enter 0x50 in Slave Address field.
  11. Read 128 bytes from DVI Monitor I2C register address 00.
    1. Enter 0x00 in Register Address.
    2. Select 1 bytes in Address Width.
    3. Enter 128 in Number of Data Bytes
    4. Click Master Register Read
    5. Verify that the read data is “00 FF FF FF FF FF FF 00 10 AC …”
Figure 1: Aardvark Adapter Reads DVI monitor EDID data

Aardvrak_Control_Center_Cerial.png

Figure 2: DVI System

DVI_System.png

Figure 3: Aardvark Adapter and DVI DDC Breakout Cable

DVI_DDC_Breakout_Cable.png

Aardvark I2C/SPI Host Adapter

 

Related articles

How to program SPI serial flash memories in less than two minutes
How to program an SPI EEPROM using the Promira Serial Platform

This entry was posted in Programmer | Emulators, Analyseurs

by George