Motorola's EMU(Enhanced Mini USB)
来源:互联网 发布:淘宝订单体检 编辑:程序博客网 时间:2024/05/16 09:16
Quoted from “http://wiki.openezx.org/EMU”
The A780 has a mini USB connector that motorola calls "Enhanced MiniUSB" or in short "EMU". The Enhancement consists of several differentmodes that the port can be be switched into. The different modes areimplemented by several analog CMOS switches and MOSFETs, which arecontrolled by the PCAP chip. Pin4 of the mini USB port is connected toa ADC inside the PCAP so that the voltage level on this pin can bemeasured by the BP, in order to identify a connected peripherial bysimple 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 implementEMU via the new EOC (EMU One Chip), just to mention the translation ofthe EOC acronym here...
Charging modes
There are at least two different charging modes.
- Mode 1: The battery is not completely discharged. TheCPU is running and can decide which kind of USB cable is attached.Power only or also data connection. In this mode you can use chargingwith USB data cable and USB power supply.
- Mode 2: The battery is completely discharged. The CPU is notrunning and so it could be not decided which kind of USB cable isattached. 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 USBtransceiver located in PCAP chip, which is connected to the AP (PXA270)via the USB2 single ended interface (GPIO pins 34,35,36,39, 40, and53). There is a 1,5kOhm pullup resistor between the D+ as required bythe USB standard to signal a high speed device (12mbits). This resistoris 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 isused for charger detection. This resistor seems to be switched off(high Z) when setting the PCAP bit BUSCTRL_VUSB_MSTR_EN. However thisdoes 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'twork. It appears as if the firmware of the Baseband Processor isscanning from time to time the PCAP bits and then switches the resistoraccordingly. I speculate therefore this resistor is connected to a GPIOon the Baseband processor and thats why there is no code in Motorolaskernel.
UART mode
Pinout :
- 1 NC
- 2 TXD
- 3 RXD
- 4 ???
- 5 GND
The routing of the analog switches is exactly the same as in USBclient 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) andRXD is bypassed to GPIO 53 (which is then RXD of FFUART). Seedrivers/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
- Motorola's EMU(Enhanced Mini USB)
- Mini USB
- micro usb mini usb
- MOTOROLA S-RECORD文件格式
- MOTOROLA S-RECORD文件格式
- MOTOROLA S-RECORD文件格式 .
- USB Host mode on Motorola Droid
- Motorola USB Driver v5.9.0 for Windows
- 标准USB,Mini-USB接口定义
- 标准USB,Mini-USB接口定义
- 标准USB/Mini-USB接口,及OTG
- 标准USB,Mini-USB接口定义
- 标准USB/Mini-USB接口,及OTG
- Motorola S-records .ptp文件详解
- Motorola S-records(S19)文件格式详解
- USB、Mini-USB、Micro-USB接口的引脚定义
- USB、Mini-USB、Micro-USB接口的引脚定义
- USB、Mini-USB、Micro-USB接口的引脚定义
- nothing to write home about 无足挂齿
- Spring
- Flash游戏学习笔记:矩形检测碰撞
- Windows_ROUTE命令详解
- 用Windows Live Writer写CSDN博客的步骤
- Motorola's EMU(Enhanced Mini USB)
- 测试
- C++库大全
- extbuilder ---ext gui designer for eclipse
- 想写写
- ASP中使用APPLICATION对象存储数据的缓存类
- 中国的开源
- 超囧论坛回复
- sdfsdfd