Difference between revisions of "AVC-LAN"

From eLinux.org
Jump to: navigation, search
(General Purpose)
(29 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
ECU (System Circuits: AVC-LAN Bus, “Prius Wiring Diagram” 80).</pre>
 
ECU (System Circuits: AVC-LAN Bus, “Prius Wiring Diagram” 80).</pre>
 
The system itself can be considered a subset of the IEBus Standard, which was delevoped by NEC
 
The system itself can be considered a subset of the IEBus Standard, which was delevoped by NEC
electronics for automotive use. It is slightly faster than the [BEAN] bus and has more data per
+
electronics for automotive use. It is slightly faster than the [[BEAN Bus]] and has more data per
command, but is still much slower than [CAN Bus], since realtime speeds are not required.
+
command, but is still much slower than [[CAN Bus]], since realtime speeds are not required.
  
 
== Connections ==
 
== Connections ==
Line 23: Line 23:
 
== Protocol ==
 
== Protocol ==
 
[[File:iebus-message.jpg]]
 
[[File:iebus-message.jpg]]
 +
 +
 +
[[File:avc-lan-message.jpg|none|frameless|link=http://www.elinux.org/images/b/b8/Avc-lan-message.jpg|600px]]
 +
This is an AVC-LAN message captured using a logic probe.
  
 
== Hardware ==
 
== Hardware ==
 
=== Specific ===
 
=== Specific ===
* HA12240 Differential Transceiver
+
* Renesas [[media:HA12240.pdf|HA12240]] Differential Transceiver
* NEC [[media:uPD6708.pdf|uPD6708]] IEBus (Inter Equipment Bus) PROTOCOL CONTROL LSI
+
** A2240 Package Marking
 +
** CA0008 Package Marking
 +
** CA0013 Package Marking
 +
* NEC [[media:uPD6708.pdf|uPD6708]] IEBus (Inter Equipment Bus) Protocol Controller
 +
* NEC [[media:uPD72042.pdf|uPD72042]] IEBus (Inter Equipment Bus) Protocol Controller
 +
 
 
=== General Purpose ===
 
=== General Purpose ===
 
* LM239 comparator (can be used for receiver)
 
* LM239 comparator (can be used for receiver)
 
* PCA82C250 [[CAN Bus]] (can be used for driver)
 
* PCA82C250 [[CAN Bus]] (can be used for driver)
 +
* MCP2551 [[CAN Bus]] (can be used for driver)
 
* RS-485 Differential Transceiver ( can be used for both receiver and driver)
 
* RS-485 Differential Transceiver ( can be used for both receiver and driver)
 
** SN65HVD11 +3.3V
 
** SN65HVD11 +3.3V
Line 36: Line 46:
  
 
== Hacks ==
 
== Hacks ==
* [http://www.softservice.com.pl/corolla/avc/ Marcin Slonicki AVC-Lan MP3 player] using:
+
* [http://www.softservice.com.pl/corolla/avc/ Marcin Slonicki's Toyota Corolla AVC-Lan MP3 player] using:
 
** ATmega8 is clocked at 14.7456 MHz with an external crystal
 
** ATmega8 is clocked at 14.7456 MHz with an external crystal
 
** PCA82C250 CAN bus driver is used to drive the IEBus
 
** PCA82C250 CAN bus driver is used to drive the IEBus
 
** LM239 comparator is required on top of the PCA82C250 to read from the IEBus
 
** LM239 comparator is required on top of the PCA82C250 to read from the IEBus
* [http://www.sigmaobjects.com/toyota/ Louis Frigon Toyota Auxiliary Audio Input Enabler] using:
+
* [http://www.sigmaobjects.com/toyota/ Louis Frigon's Toyota Auxiliary Audio Input Enabler] using:
 
** ATmega8 is clocked at 8.00 MHz with the internal RC
 
** ATmega8 is clocked at 8.00 MHz with the internal RC
 
** ATmega8's internal analog comparator handles the receive side
 
** ATmega8's internal analog comparator handles the receive side
Line 46: Line 56:
  
 
== Documentation Credit ==
 
== Documentation Credit ==
* Jeremiah J. Flerchinger Whitepaper [[media:avc-lan.pdf|Source]
+
* Jeremiah J. Flerchinger [[media:avc-lan.pdf|Whitepaper]]
 +
 
 +
[[Category:Automotive]]
 +
[[Category:Networking]]

Revision as of 14:32, 16 July 2016

Introduction

The AVC-LAN is part of the Body Electrical System Control and manages all audio and video related functions. The audio bus is described in Toyota's own words as follows:

AVC-LAN consist of audio visual systems such as the multi-display, navigation ECU, radio and
player, stereo component amplifier and gateway ECU. Gateway ECU has communication
circuit to correspond with different types of communication data. Different types of
communication data can be shared among communication parts after it goes through gateway
ECU (System Circuits: AVC-LAN Bus, “Prius Wiring Diagram” 80).

The system itself can be considered a subset of the IEBus Standard, which was delevoped by NEC electronics for automotive use. It is slightly faster than the BEAN Bus and has more data per command, but is still much slower than CAN Bus, since realtime speeds are not required.

Connections

Iebus-connections.gif

Waveform

Iebus-waveform.jpg

  • Prep 7uS
  • Sync 20uS
  • Data 13uS

Protocol

Iebus-message.jpg


Avc-lan-message.jpg

This is an AVC-LAN message captured using a logic probe.

Hardware

Specific

  • Renesas HA12240 Differential Transceiver
    • A2240 Package Marking
    • CA0008 Package Marking
    • CA0013 Package Marking
  • NEC uPD6708 IEBus (Inter Equipment Bus) Protocol Controller
  • NEC uPD72042 IEBus (Inter Equipment Bus) Protocol Controller

General Purpose

  • LM239 comparator (can be used for receiver)
  • PCA82C250 CAN Bus (can be used for driver)
  • MCP2551 CAN Bus (can be used for driver)
  • RS-485 Differential Transceiver ( can be used for both receiver and driver)
    • SN65HVD11 +3.3V
    • SN75HVD11 +5v

Hacks

Documentation Credit