Motorola's EMU(Enhanced Mini USB)

Quoted from “http://wiki.openezx.org/EMU


The A780 has a mini USB connector that motorola calls "Enhanced Mini USB" or in short "EMU". The Enhancement consists of several different modes that the port can be be switched into. The different modes are implemented by several analog CMOS switches and MOSFETs, which are controlled by the PCAP chip. Pin4 of the mini USB port is connected to a ADC inside the PCAP so that the voltage level on this pin can be measured by the BP, in order to identify a connected peripherial by simple resistor voltage dividers.

  • Ordinary USB client, (i.e. the phone can emulate usb storage, usb modem etc, and charge the battery from the 5 volt USB supply)
  • Charger., In this mode, the phone draws more current (up to 1,25A instead of the 500ma limit of USB host ports).
  • Car Charger,
  • Headset Interface (stereo audio out, mono mic in)
  • A Async Serial Port (3volt / 0 volt logic level)
  • A Factory Test and Flash Interface

The A780 has a mini USB connector that has some alternate pinout / functions. There is code in the kernel sources /drivers/misc/ezx-emu.c.

From my limited research on this, the A1200 seems to implement EMU via the new EOC (EMU One Chip), just to mention the translation of the EOC acronym here...

Charging modes

There are at least two different charging modes.

  • Mode 1: The battery is not completely discharged. The CPU is running and can decide which kind of USB cable is attached. Power only or also data connection. In this mode you can use charging with USB data cable and USB power supply.
  • Mode 2: The battery is completely discharged. The CPU is not running and so it could be not decided which kind of USB cable is attached. In this mode you can only use charging with USB power supply.


Normal USB device/accessory mode

Pinout :

  • 1 +5 volts input used to charge the phones battery at max 500mA.
  • 2 Data-
  • 3 Data+
  • 4 (NC/left open) voltage at adc approx 2,4-2,8 volt (there seems to be an internal pullup resistor of unknown value)
  • 5 GND

In this mode, the Data- and Data+ lines will be routed to a USB transceiver located in PCAP chip, which is connected to the AP (PXA270) via the USB2 single ended interface (GPIO pins 34,35,36,39, 40, and 53). There is a 1,5kOhm pullup resistor between the D+ as required by the USB standard to signal a high speed device (12mbits). This resistor is switchable by the PCAP bit BUSCTRL_USB_PU (+3,3volt or high Z). There is a second switchable pullup resistor on the d+ line which is used for charger detection. This resistor seems to be switched off (high Z) when setting the PCAP bit BUSCTRL_VUSB_MSTR_EN. However this does not happen instantly but with some delay (about 5-10 sec). It doesn't happen every time I tried. About 1 in 10 times it didn't work. It appears as if the firmware of the Baseband Processor is scanning from time to time the PCAP bits and then switches the resistor accordingly. I speculate therefore this resistor is connected to a GPIO on the Baseband processor and thats why there is no code in Motorolas kernel.

UART mode

Pinout :

  • 1 NC
  • 2 TXD
  • 3 RXD
  • 4 ???
  • 5 GND

The routing of the analog switches is exactly the same as in USB client mode, but inside the PCAP chip, the USB transceiver is bypassed. TXD is bypassed to GPIO 39 of the AP (which is then TXD of FFUART) and RXD is bypassed to GPIO 53 (which is then RXD of FFUART). See drivers/misc/ezx-emu.c of the original kernel for code.

Fast Charger

Pinout :

  • 1 5 volts @ 1,250 ma
  • 2 Short to pin 3
  • 3 short to pin 2
  • 4 440kohm pulldown
  • 5 GND

Just Power on the phone

Pinout :

  • 1 5 volts
  • 2 NC
  • 3 NC
  • 4 440kohm pulldown
  • 5 GND

Headset Mode

Pinout :

  • 1 The phone suppiles a voltage to the headset through this pin
  • 2 Left Out for Stereo Playback or Mono Out for handsfree
  • 3 Right Out for Stereo Playback or Mono In (mix for handsfree)
  • 4 102Kohm pulldown
  • 5 GND

Depending on what you do (play mp3 / calling) the phone will either switch to stereo mode or handsfree mode. The pins are either routed to the Stereo DAC of PCAP or to a Mono DAC and a Mono ACD in PCAP.

Factory Test

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章