79
Page 1 80-VE263-25 Rev. A March 2007 QUALCOMM Confidential and Proprietary MSM7200A™ Chipset Training MSM7200A Baseband Topics 80-VE263-25 Rev. A QUALCOMM Confidential and Proprietary Restricted Distribution. Not to be distributed to non-employees of QUALCOMM or its subsidiaries without the express approval of QUALCOMM’s Configuration Management. Not to be used, copied, reproduced in whole or in part, nor its contents revealed in any manner to others without the express written permission of QUALCOMM. QUALCOMM is a registered trademark and registered service mark of QUALCOMM Incorporated. Other product and brand names may be trademarks or registered trademarks of their respective owners. CDMA2000 is a registered certification mark of the Telecommunications Industry Association, used under license. ARM is a registered trademark of ARM Limited. QDSP is a registered trademark of QUALCOMM Incorporated in the United States and other countries. Export of this technology may be controlled by the United States Government. Diversion contrary to U.S. law prohibited. QUALCOMM Incorporated 5775 Morehouse Drive San Diego, CA 92121-1714 U.S.A. Copyright © 2007 QUALCOMM Incorporated. All rights reserved. Page 2 80-VE263-25 Rev. A March 2007 QUALCOMM Confidential and Proprietary The following information is licensed and proprietary material. Copyright © 2007 QUALCOMM Incorporated. All rights reserved. Revision Date Description A March 2007 Initial release liu.hongmei2-zte.com.cn 2007.03.26 at 01:23:37 PDT

QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

  • Upload
    buitruc

  • View
    352

  • Download
    18

Embed Size (px)

Citation preview

Page 1: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A™ Chipset TrainingMSM7200A Baseband Topics

80-VE263-25 Rev. A

QUALCOMM Confidential and Proprietary

Restricted Distribution. Not to be distributed to non-employees of QUALCOMM or its subsidiaries without the express approval of QUALCOMM’s Configuration Management.

Not to be used, copied, reproduced in whole or in part, nor its contents revealed in any manner to others without the express written permission of QUALCOMM.

QUALCOMM is a registered trademark and registered service mark of QUALCOMM Incorporated. Other product and brand names may be trademarks or registered trademarks of their respective owners. CDMA2000 is a registered certification mark of the Telecommunications Industry Association, used under license. ARM is a registered trademark of ARM Limited. QDSP is a registered trademark of QUALCOMM Incorporated in the United States and other countries.

Export of this technology may be controlled by the United States Government. Diversion contrary to U.S. law prohibited.

QUALCOMM Incorporated5775 Morehouse Drive

San Diego, CA 92121-1714U.S.A.

Copyright © 2007 QUALCOMM Incorporated. All rights reserved.

Page 280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

The following information is licensed and

proprietary material.

Copyright © 2007 QUALCOMM Incorporated. All rights reserved.

Revision Date Description

A March 2007 Initial release

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 2: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Agenda

• Feature comparison– Chipset comparison for MSM7200

and MSM7200A™ IC

– Sample 1 limitations

• System architecture

• Design considerations– Voltage requirements

– Power

– Clocks

– Boot options/security

– Pin map

– GPIO

• RF analog interface– GRFC– RF dedicated interface– PMIC interface

• MSM7200A device interface– EBI1/SMI– EBI2– MDDI– Parallel camera interface– Transport stream interface/UBM– TV-out– HKADC/touchscreen– USB/USB-UICC/UART/USIM/SDIO– Audio– JTAG/ETM

Page 480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device Overview

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 3: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Chipset Comparison (1 of 2)

ARM11: L4, WinMobARM9: L4

ARM11: L4, WinMobARM9: L4

L4/REXOS

8M pixel support

30 fps VGA

2

3 (1 HS + 2 standard)

Stacked: 256 Mbit DDR-SDRAM@128 MHzExternal: 32-bit DDR-SDRAM

8/16-bit NAND Flash

TSIF (DVB-H, ISDB-T, S-DMB)

Yes (2 hosts + 1 client)

16/18-bpp (EBI2)16/18/24-bpp (MDDI)

Equalizer, Rx diversity, SAIC

GSM, GPRS, EGPRS MSC 12, DTM, WCDMA R5, HSDPA 7.2 Mbps, Concurrency DataCard 3.6 Mbps DL + 1.5 Mbps UL, Concurrency Handset 1.8 Mbps DL + 1.5 Mbps UL

ARM11™ 400 MHz (apps)ARM926EJ-S 256 MHz (modem) QDSP 256 MHz (apps)QDSP 122 MHz (modem)

90 nm CMOS (15 x 15 x 1.4 mm)

MSM7200™ MSM7200AMSM6280™Features

8M pixel support

30 fps WVGA

4M pixel support

30 fps QVGA

Qcamera™Viewfinder frame rate

41SDIO

4 (2 HS + 2 standard) 3 (1 HS + 2 standard) UART

Stacked: 256 Mbit DDR-SDRAM@166 MHzExternal: 32-bit DDR-SDRAM

8/16-bit NAND Flash

External: 32-bit SDRAM8/16-bit NAND Flash

Memory

TSIF (DVB-H, ISDB-T, S-DMB)TSIF (DVB-H, ISDB-T, S-DMB) Broadcast interface

Yes (2 hosts + 1 client)Yes (1 host + 1 client)MDDI support

16/18/24-bpp (EBI2)16/18/24-bpp (MDDI)

16/18-bpp (EBI2)16/18-bpp (MDDI)

LCD support

Equalizer, Rx diversity, SAICEqualizer, Rx diversity, SAICRx enhancements

WCDMA, GSM, GPRS, EDGE, DTM, HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, Concurrency 7.2 Mbps DL + 2 Mbps UL

WCDMA, GSM, GPRS, EDGE, HSDPA 7.2 Mbps, DTM

Modem

ARM11 400/533 MHz (apps)ARM926EJ-S 256 MHz (modem) QDSP 256 MHz (apps)QDSP 122 MHz (modem)

ARM926EJ-S™ 274 MHz (modem) QDSP® 100 MHz

Processor

65 nm CMOS (15 x 15 x 1.4 mm)90 nm CMOS (14 x 14 x 1.4 mm)Process technology

Page 680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Chipset Comparison (2 of 2)

OMA DRM v2.0

Standalone + assisted

USB 2.0 slave and host (OTG) full speed

BT 2.0

96-voice polyphony Wavetable MIDI

Hardware acceleration - 2M-4M triangles/sec- 133M pixels/sec

MP3, AAC, AAC+, EAAC+, ADPCM, MPEG4, Real v8, H263, H264, WMA v9

15 fps QVGA

30 fps VGA streaming 30 fps VGA offline

30 fps VGA

MSM7200

OMA DRM v2.0OMA DRM v2.0Digital Rights Management (DRM)

(New GPS core) standalone + assisted

Standalone + assistedGPS

USB 2.0 slave and host (OTG) full + high speed

USB 2.0 slave and host (OTG) full speed

USB

BT 2.0BT 1.2Bluetooth®

128-voice polyphony Wavetable MIDI

72-voice polyphony Wavetable MIDI

Simultaneous polyphonic tones

Hardware acceleration - 2M-4M triangles/sec- 133M pixels/sec

Hardware acceleration - 225K-540K triangles/sec- 7M-90M pixels/sec

2D/3D graphics acceleration

MP3, AAC, AAC+, EAAC+, ADPCM, MPEG4, Real v8, H263, H264, WMA v9, WB-AMR

MP3, AAC, AAC+, EAAC+, ADPCM, MPEG4, Real v8, H263, H264, WMA v9

Audio/video decoders

15 fps QVGA15 fps QVGAQvideophone™(video telephony)

30 fps VGA streaming 30 fps VGA offline

15 fps QVGA streaming 30 fps QVGA offline

Qtv™ (video decode)

30 fps WVGA15 fps QVGAQcamcorder™(offline video encoding)

MSM7200AMSM6280Features liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 4: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

System Architecture

Page 880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Sample 1 Limitations

• Sample 1 (March 2007)– TBD

Refer to the MSM7200A Mobile Station Modem™ Revision Guide (80-VE263-4) for more information.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 5: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device Design Consideration

Page 1080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Power Supply

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 6: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 1180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Voltage Requirements

VV

1.952.7

1.82.6

1.652.5

Supply voltage for USB (HS) interfaceVDD_USBH1

V1.91.81.7Supply voltage for stacked memory interfaceVDD_SMI

V32.92.8Supply voltage for Qfuse programmingVDD_QFUSE_PROG

V1.951.81.65Supply voltage for MDDI interfaceVDD_MDDI

VV

1.952.7

1.82.6

1.652.5

Supply voltage P4 for camera interfaceVDD_P41

V2.692.62.5Supply voltage P3 for peripheral interfacesVDD_P3

VV

1.952.7

1.82.6

1.652.5

Supply voltage P2 for EBI2 and peripheralinterfaces

VDD_P21

V1.91.81.7Supply voltage P1 for EBI1 and peripheralinterfaces

VDD_P1

V2.72.62.5Supply voltage for internal analog coreVDD_A

V1.41.2TBDSupply voltage for MSM digital core #2 (ARM11)VDD_C2

V1.41.2TBDSupply voltage for MSM digital core #1 (everything but ARM11)

VDD_C1

UnitsMax1TypMin1DescriptionSymbol

Notes:1) This voltage must match the external device voltage. It is a dual-voltage pin, and can be either 1.8 VDC nominal or 2.6 VDC nominal.2) Trace length for VDD_C1 and VDD_C2 should be as short and thick as possible to minimize IR drop between the PM7540™ IC and the

MSM™ device.

Page 1280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A/PM7540 Power Supply Connections

Note:Connect VSS_THERMAL to ground for better thermal flow and to reduce RFI.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 7: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 1380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Power-up/down Sequence

• Power-up sequence (as controlled by the PM7540™ device):

1) VDD_C1: modem subsystem

2) VDD_C2*: application processor

3) VDD_E: pad group EBI1/SMI (EBI2**/MDDI and camera)

4) VDD_P**: pad group GPIO (2.6 V domain/EBI2)

5) VDD_A: pad group analog

• Power-down sequence (as controlled by the PM7540 device):1) VDD_A: analog

2) VDD_P**: pad group GPIO (2.6 V domain/EBI2)

3) VDD_E: pad group EBI1/SMI (EBI2**/MDDI and camera)

4) VDD_C2*: application processor

5) VDD_C1: modem subsystem

* Application processor (VDD_C2) power supply is controlled by the modem master.

** EBI2 can be powered by 1.8 V or 2.6 V power rail.

Page 1480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Power-up States

• Specific power-up sequence is required for the MSM7200A IC.

• If the power-up sequence is not achieved, GPIO pads may come up in undefined states.

• QUALCOMM power management ICs such as the PM7540 IC ensure the proper supply sequence and states.

• The initial GPIO state is maintained until programmed by software.

VD D_C

VD D_P

R ESIN_N

GPIO_ PAD

Treset1

VDD _C Ram p

Undefined Default State SW Programmed

GPIO pin is set to “ input” and in its default “pull state” , w ith proper power sequence requirem ents fulfilled .

SW program m ed GPIOPin State

RESIN_ N deasserted

SW Initialization

VD D_C m ust reach 90 % before VD D_P ram p to guarantee GPIO pin is powered up in a know n state

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 8: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 1580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Power-up Sequencing

• The use of the QUALCOMM PM7540 power management IC ensures the correct power-up sequence.

• When using the MSM7200A IC with the PM7540 IC, it is required that customers configure GPIO[25] as PS_HOLD signal during boot-up.

• After the voltage rails are brought up, PON_RST_N is asserted byPM7540 IC, and then the MSM7200A IC asserts PS_HOLD signal.

– This is done early in the boot process (PBL) to ensure that PMIC does not turn the MSM device off.

Page 1680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

KPDPWR _N (in)

BAT_FET_N (out)

VREG outputs

PON_RST_N (out )

PS_HOLD (in)

Operating state

treg1

tregtreset1

tpshold

Power-on sequence ON Power-off sequence

treset0toff

OFFOFF

must stay low at least until PS _HOLD is driven high by MSM device

tsettle

1 = MSMC12 = MSMC23 = MSME4 = MSME2

1 2 3 4 55 = MSMP6 = MSMA & AUX27 = TCXO all

others

5676 7 4

PS_HOLD Assertion

PS_HOLD (GPIO[25]) is asserted in the PBL

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 9: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 1780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Clock Source Generation

AB4

MSM7200A

U5

AG8

PLL_TEST_SE

TCXO

SLEEP_CLK

VCTCXO

VREG_ TCXO

XTAL_INXTAL_OUT

C C

xtal

SLEEP_ CLK

TCXO_IN TCXO_OUT

PM7540

100 2 k R11TRK_LO_ADJ

TCXO_EN

0. 033 uF

AE1TCXO_EN

0. 01 uF

From an external clock source

TCXO controller and buffer ckts

Crystal oscillator ckts SLEEP clock ckts

100pF

51

Page 1880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Clock

• MSM7200A system uses three clocks:– 19.2 MHz for system clock

– 32.768 kHz» Sleep clock» Refer to PM7540 Power Management IC Device Specification (80-VD691-1) for

complete specifications.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 10: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 1980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Secure Boot

• Secure boot ensures that MSM7200A IC boots from code that cannot be altered or hacked.

• Enables phone manufacturer and QUALCOMM to ensure that their own code is running unchanged on the device.

• Hardware requirements for secure boot:– Boot ROM (primary boot loader)

• Secure boot capability is provided through an on-chip ROM. MSM7200A IC has built-in 64 kb of on-chip BOOT ROM. This ROM contains the primary boot loader (PBL).

• This boot ROM is programmed in silicon – it CANNOT be changed for different configuration or for different uses by customers.

• The PBL is mapped to address 0xFFFF0000.– Internal RAM (IRAM)

• IRAM is a 4 kB memory space that is used to load the basic configuration data.– Secondary boot loader (SBL)

• The SBL is an external flash memory device.• SBL must be implemented as a NAND device on EBI2.• Since SBL is external to the MSM7200A device, SBL contents MUST be

authenticated by PBL before execution.

Page 2080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Configuring MSM7200A Device in Secure Boot

• Two ways to ensure that MSM7200A IC is booting in secure boot:– External mode pin– On-chip Qfuses

• External mode pin (BOOT_SCUR pin)– GPIO[95] is used for this purpose.– If this pin is enabled (high), it forces the secondary boot loader or any

subsequent code to be authenticated for security.– This pin setting is valid only if security-enabled Qfuse is NOT blown.

• On-chip Qfuse– One-time programmable fuse– FORCE_TRUSTED_BOOT Qfuse is used for MSM7200A secure boot

configuration.– If this Qfuse is blown, forces secondary boot loader and any subsequent code to

be authenticated for security.– When the FORCE_TRUSTED_BOOT Qfuse is blown, the BOOT_SCUR pin setting

is meaningless, and BOOT_SCUR pin is available for use as GPIO[95].– It needs to be blown by customer if secure boot is deemed mandatory.– Qfuse is blown through software or JTAG.

• VDD_QFUSE_PROG must be connected to GND if Qfuse programming is not being performed.

• Refer to Application Note: MSM7500™/MSM7200 Qfuses and Security(80-V9038-15) for more information.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 11: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 2180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Secure Boot Process Flow

Secondary boot loader starts executing here

Configure all controllers, peripherals etc

Copy warm boot configuration data intoMemory within “always-on” domain

Copy AMSS code from flash into RAM

SecurityEnabled ?

Authenticate AMSS code for security

Transfer control toThe AMSS code

Transfer control toSecurity fail handler

YES

NOFailed

Passed

Page 2280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Boot Operation

• Cold boot– Happens at initial power-up.– Follows the PBL and SBL boot process flow from previous slide.

• Warm boot– Happens when a device comes out of its shutdown (power-saving)

mode.– PBL executes and determines system is powering up from

power-saving mode and executes warm-boot loader.– System is reconfigured almost the same way as cold boot, but

configuration comes from a small memory on the always-on domain.– Once memory controllers are configured, data in the RAM (SMI) can be

accessed. SBL does not need to be reloaded from the flash.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 12: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 2380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Pinmap

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

A VSSTHERMAL

VSSTHERMAL

GND GND LINE_R_ IP LINE_R_ IN MIC1P LINE_ONEAR1_

OPGND GND GND

EBI1_ DQ_23

EBI1_ DQ_19

GND GND GND GND GND GNDEBI1_ DQS_0

GNDEBI1_ CKE1

GND VDD_P1EBI1_

ADR_27VSS

THERMALVSS

THERMALA

B VSSTHERMAL

VDD_A VDD_C1 HKAIN2 LINE_L_ IP LINE_L_ IN MIC1N LINE_OP EAR1_ ON VDD_C1 VDD_P1 VDD_P1EBI1_ DQ_22

EBI1_ DQS_2

VDD_P1 VDD_C1 VDD_P1 VDD_C1 VDD_P1 VDD_P1EBI1_ CS0_N

VDD_C1EBI1_ DM_0

EBI1_ DCLK

EBI1_ DCLKB

EBI1_ ADR_26

EBI1_ ADR_25

VSSTHERMAL

B Ground

C WIPER GND_A VDD_ SMIC GND C Power

D TS_LR TS_LLGND_ RET_A

VDD_A MIC2P AUXIP GND_A GND_A GNDEBI1_ DQ_29

EBI1_ DM_3

EBI1_ DQ_21

EBI1_ MEM_ CLK

EBI1_ DM_2

EBI1_ DQS_1

EBI1_ WAIT0_N

EBI1_ DQ_8

EBI1_ DQ_5

EBI1_ DQ_2

EBI1_ CS2_N

EBI1_ CS5_N

EBI1_ ADR_24

EBI1_ ADR_22

GND VDD_ SMIP GND D EBI1

E TS_UR TS_UL CCOMP MICBIAS MIC2N AUXIN VDD_A VDD_A VDD_P4EBI1_ DQ_28

EBI1_ DQS_3

EBI1_ DQ_20

EBI1_ DQ_18

EBI1_ DM_1

EBI1_ DQ_10

EBI1_ DQ_9

EBI1_ DQ_7

EBI1_ DQ_3

EBI1_ CS4_N

EBI1_ CS3_N

EBI1_ ADR_20

EBI1_ ADR_23

GNDEBI1_

ADR_18VDD_P1 GND E EBI2

F HKAIN1 HKAIN0 GND_A GND_AEBI1_

ADR_19EBI1_

ADR_12VDD_P1 GND F GPIOs

G Q_IM_ CH0 Q_IP_ CH0 I_IP_ CH0 I_IM_ CH0HPH_ VREF

AUXOUT HPH_REBI1_ DQ_31

EBI1_ DQ_27

EBI1_ DQ_25

EBI1_ DQ_17

EBI1_ DQ_15

EBI1_ DQ_12

EBI1_ DQ_11

EBI1_ DQ_6

EBI1_ DQ_1

EBI1_ RAS_N

EBI1_ ADR_21

EBI1_ ADR_16

GNDEBI1_

ADR_10EBI1_ ADR_8

VDD_ SMIP GND G MDDI

H VDD_A VDD_A Q_IM_ CH1 Q_IP_ CH1 I_IP_ CH1 GND_A HPH_LEBI1_ DQ_30

EBI1_ DQ_26

EBI1_ DQ_24

EBI1_ DQ_16

EBI1_ DQ_14

EBI1_ DQ_13

EBI1_ DQ_4

EBI1_ DQ_0

EBI1_ CKE0

EBI1_ CS1_N

EBI1_ ADR_13

GNDEBI1_ ADR_9

EBI1_ ADR_7

EBI1_ ADR_5

VDD_ SMIP GND H Test Interface

J GND_A VDD_A VDD_A GND_A I_IM_ CH1 GPIO_121EBI1_

ADR_14EBI1_ ADR_1

EBI1_ ADR_3

EBI1_ WE_N

VDD_C1 GND J RF/Analog Interface

K USBH_ CLK

VDD_P8 GPIO_112 GPIO_113 GPIO_114 GPIO_115 11 12 13 14 15 16 17 18 EBI1_ ADR_2

EBI1_ ADR_0

EBI1_ ADR_6

EBI1_ RESOUT_N

VDD_ SMIP GND K Clocks/USB/Mode/Reset

L GND VDD_C1 GPIO_1 GPIO_6 GPIO_4 GPIO_9 L GPIO_116 GPIO_117 GPIO_118EBI1_

ADR_17EBI1_

ADR_15EBI1_

ADR_11GND L

EBI1_ ADR_4

EBI1_ OE_N

EBI2_ DATA_0

EBI2_ DATA_2

VDD_ SMIC GND L No Connect

M GPIO_8 GPIO_0 GPIO_2 GPIO_3 GPIO_10 GPIO_11 M GPIO_14 GPIO_111 GND GND GND GND GND GND MEBI2_

DATA_1EBI2_

DATA_4EBI2_

DATA_3EBI2_

DATA_5VDD_C1 GND M

N GND VDD_P4 I_OUT_P GPIO_95 GPIO_5 GPIO_7 N GPIO_15 GND GND GND GND GND GNDEBI2_

DATA_6N EBI2_

DATA_10EBI2_

DATA_7EBI2_

DATA_8EBI2_

DATA_12VDD_P2 GND N

P Q_OUT_P Q_OUT_N I_OUT_N GPIO_12 TX_ONVDD_

EFUSE_ PROG

P GPIO_13 GND GND GND GND GND GNDEBI2_

DATA_13P EBI2_

DATA_11EBI2_ OE_N

EBI2_ DATA_9

EBI2_ DATA_14

VDD_ SMIP GND P

R GND_A VDD_A DAC_ IREFTX_AGC_A

DJGPIO_94

MPM_ GPIO_2

RTRK_LO_A

DJGND GND GND GND GND GND VDD_ SMIP R

EBI2_ DATA_15

EBI2_ LB_NEBI2_ UB_N

EBI2_ WE_N

VDD_ SMIC GND R

T GND_A VDD_APA_DAC_T

ST

PA_ POWER_

CTL_M

PA_ POWER_

CTL

TVDAC_ R_SET

T GPIO_96 GND GND GND GND GND GNDEBI2_ ADR_5

TEBI2_ ADR_8

EBI2_ ADR_9

EBI2_ ADR_2

EBI2_ ADR_4

EBI2_ ADR_1

EBI2_ ADR_3

T

U GND_A VDD_A TVOUTPLL_

TEST_SEGPIO_119

CLK_ TEST_SE

U MPM_ GPIO_0

GND GND GND GND GND GNDEBI2_

ADR_14U EBI2_

ADR_15EBI2_

ADR_10EBI2_ ADR_7

EBI2_ ADR_6

VDD_P2 GND U

V GND_A VDD_A GND_A VDD_A GPIO_57 GPIO_58 V GPIO_60 GPIO_120 GPIO_53 GPIO_67 GPIO_66 GPIO_92 GPIO_108 GPIO_83 V EBI2_ CS1_N

EBI2_ ADR_17

EBI2_ ADR_11

EBI2_ ADR_13

VDD_ SMIC GND V

W GND_A VDD_A GND_A VDD_A GPIO_59 PA_ON0 11 12 13 14 15 16 17 18EBI2_

ADR_20EBI2_

ADR_19EBI2_

ADR_16EBI2_

ADR_12VDD_SMIP GND W

Y GND VDD_C1 GND_A GND_A GPIO_61PA_

RANGE0EBI2_ CS2_N

GPIO_101EBI2_

ADR_18EBI2_ CS0_N

VDD_C1 GND Y

AA GND VDD_C2 GPIO_69 GPIO_68 MODE_3 GND GPIO_46 GPIO_43 GPIO_51 GPIO_63 GPIO_64MDDI_E_S

TB_PMDDI_E_D

ATA_NGPIO_88 GPIO_16 GPIO_20 GPIO_28 GPIO_32 GPIO_73 EBI2_ CLK

EBI2_ CS3_N

EBI2_ BUSY0_N

VDD_P2 GND AA

AB GND VDD_P3 TCXO TDI GND MODE_2 GPIO_45 NC GPIO_56USB_SE0_

VMGPIO_110

MDDI_E_STB_N

MDDI_E_DATA_P

GPIO_90 GPIO_18 GPIO_25 GPIO_30 GPIO_29 GPIO_40 GPIO_42 GPIO_107 GPIO_109 VDD_ SMIP GND AB

AC GND VDD_C2WDOG_

ENTRST_N GPIO_84 GPIO_86

EBI2_ CS5_N

EBI2_ CS4_N

AC

AD GPIO_70 GPIO_71 TMS GND TCK MODE_1 GPIO_47 GPIO_50 NC GPIO_54USB_

DAT_VPMDDI_P_S

TB_NMDDI_P_D

ATA_NVDD_ MDDI GPIO_93 GPIO_17 GPIO_22 GPIO_26 GPIO_34 GPIO_38 GPIO_75 GPIO_77 GPIO_78 GPIO_87 VDD_ SMIP GND AD

AE MPM_ GPIO_1

VDD_P3 GND RTCK TDO MODE_0 GPIO_49USB_OE_I

NT_NGPIO_55 GPIO_62 GPIO_65

MDDI_P_STB_P

MDDI_P_DATA_P

GND GPIO_91 GPIO_19 GPIO_24 GPIO_27 GPIO_33 GPIO_36 GPIO_39 GPIO_76 GPIO_74 GPIO_79VDD_C1_S

ENSEGPIO_85 AE

AF GNDVDD_C2_S

ENSEVDD_ SMIC GND AF

AG VSSTHERMAL

VDD_C2 VDD_P3 VDD_C2 VDD_C2 GPIO_44 VDD_C2SLEEP_

CLKVDD_P3 VDD_C2 VDD_C2 VDD_C1

MDDI_C_DATA1_N

MDDI_C_DATA0_N

MDDI_C_STB_N

GPIO_89 VDD_C1 GPIO_21 VDD_P3 VDD_C1 VDD_P3 GPIO_35 GPIO_41 VDD_C1 GPIO_81 RESOUT_N RESIN_N VSSTHERMAL

AG

AH VSSTHERMAL

VSSTHERMAL

GND GND GND GPIO_48 GND GPIO_52 GND GND GND GNDMDDI_C_D

ATA1_PMDDI_C_D

ATA0_PMDDI_C_S

TB_PGPIO_97 GND GPIO_23 GND GPIO_31 GND GPIO_37 GPIO_72 GND GPIO_80 GPIO_82 VSS

THERMALVSS

THERMALAH

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

Page 2480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

General Purpose Input/Output (GPIO)

• The MSM7200A IC provides GPIO pins that are software programmable.

• GPIO pads are assigned functions using AMSS software.

• Many pads can be assigned more than one function, depending on the application.

• GPIO pins can be configured as follows:– B: Bidirectional – these can be configured as input, output, or bidirectional– K: Keeper – indicates a weak keeper device (cannot drive external buses)– H: Digital input that allows input voltage up to 3.0 V– W: Input pad that provides a wake-up interrupt during MPM mode– Programmable pull resistor

• Refer to MSM7200A Mobile Station Modem Device Specification(80-VE263-1) for more information regarding GPIO pins and their functions.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 13: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 2580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Pad Structure

• Output configurations– Normal GPIO output signal– Alternate GPIO output signal– Special GPIO signal

• Input configuration– Buffer– Interrupt: the input signal’s (interrupt

source) level or edge, with selectable polarity, is used to generate an interrupt.

• Pull configurations– Keeper– Pull up– Pull down

• Programmable drive strengths– Most of GPIO pin’s output drive strength is

programmable from 2 to 16 mA, in 2 mA increments.

– High voltage (3 V) GPIO pin’s output drive strength is programmable from 2 to 8 mA, in 2 mA increments.

– SDCC CLK GPIO pin’s output drive strength is non-linear 4 to 7 mA. Refer to the MSM7200A Mobile Station Modem Device Specification (80-VE263-1) for more information.

R

D

Q

KEEP

GPIO_PULL = 10

PU

GPIO_PULL = 11

PDGPIO_PULL = 01

Pull up circuit

VDD

Pull down circuit

GND

GPIO_CFG(5:2)

RESOUT

GPIO_CFG_REG

(write)

SPECIAL_CONDITION

SPECIAL_CONDITION_DATA

SPECIAL_CONDITION_OE

GPIO_OE(i)

ALT_FUNCTION_OE

GPIO_OUT(i)

ALT_FUNCTION

Highlighted multiplexers and signals apply to special GPIOs only - GPIO[106:98]

INTERRUPT CIRCUITS

GPIO_INT_POLARITY(i)

GPIO_INT_CTL(i)

INT_CLR(i)

GPIO_INT_EN(i)

GPIO_GROUP_IRQ

GPIO_IN(i)

GPIO PAD

GPIO_INT_STATUS_MASK(i)

Page 2680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Modem Power Manager

• Modem power manager (MPM) is a feature of the MSM7200A IC that will reduce the leakage current in phone designs during sleep mode.

• When the MPM feature is used, only a select number of GPIO pins can turn on the MSM device from sleep.

– 26 GPIO pins are capable of wake-up interrupt.– Other GPIO pins cannot be used as a wakeup-capable interrupt (only applicable if the

MPM feature is enabled).

• During power-saving mode, all pins in the MSM device will be held by the keeper.

• Keepers provide < 30 µA per pad of drive strength capability on all MSM pads.

• It is recommended to avoid using external pulls on the MSM device, which pull to the state opposite to that nominally found on the pin.

– Excessive DC current will be drawn in such a condition.

• The noise coupling should also be kept ≤ 30 µA.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 14: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 2780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MPM GPIO Pins

SDC1_DATA[3]GPIO[51]

UART2_RX_DATAUIM1_PWR_EN

GPIO[49]

SDC2_DATA[3]GPIO[64]

AUX_PCM_SYNCSDAC_L_R_NGRFC[12]SYNC_TIMER1

GPIO[70]

AUX_PCM_CLKSDAC_CLKGRFC[11]PA_ON2

GPIO[71]

JOYSTICK_CPA_ON1

GPIO[83]

UART3_RX_DATAUIM2_PWR_ENTSIF_B_DATAJOYSTICK_E

GPIO[86]

SDC3_DATA[3]GPIO[90]

GPIO[94]

Alt. functionGPIO pin

ASYNC_TIMER2BGP_MNETM_GPIO_IRQTCHSCRN_EXT_DI

GPIO[28]

UART1_RX_DATAUART1DM_RXTSIF_A_DATA

GPIO[45]

KEYPAD[0]ETM_TRACEPKT[0]

GPIO[42]

KEYPAD[1]ETM_TRACEPKT[1]

GPIO[41]

KEYPAD[2]ETM_TRACERKT[2]

GPIO[40]

ETC_TRACERKT[3]GPIO[39]

KEYPAD[4] ETM_TRACEPKT[4]

GPIO[38]

KEYPAD[5]ETM_TRACEPKT[5]

GPIO[37]

KEYPAD[6]ETM_TRACEPKT[6]

GPIO[36]

SYNC_TIMER2TCHSCRN_EXT_DOETM_PIPESTAT[0]

GPIO[29]

Alt. functionGPIO pin Alt. functionGPIO pin

ASYNC_TIMER1AETM_PIPESTATB1

GPIO[17]

ASYNC_TIMER1BETM_PIPESTATB2

GPIO[18]

UART1_RIUART2DM_RFR_NSDC4_DATA[3]SDC3_DATA[7]ETM_TRACEPKT[15]

GPIO[19]

UART1_DTRUART2DM_CTS_NSDC4_DATA[2]SDC3_DATA[6]TCHSCRN_EXT_CSETM_TRACEPKT[14]

GPIO[20]

UART1_DCD UART2DM_RXSDC4_DATA[1]SDC3_DATA[5]ETM_KEYSENSE_IRQ

GPIO[21]

PM_INT_NETM_GPIO2_CS_N

GPIO[24]

ASYNC_TIMER2AGP_CLKTCHSCRN_EXT1_CLKETM_PIPESTAT[1]

GPIO[27]

GPIO pins that can detect interrupt during modem power manager (MPM) shutdown:

Page 2880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Top-level Mode Multiplexer

• The top-level mode multiplexer (TLMM) provides a convenient mechanism for sharing multiple internal functions onto the same set of GPIO pads.

• The mode assignment for each set of GPIOs is specified using a combination of input pin settings and software-programmed register settings.

• Using TLMM allows higher-level instructions, resulting in faster and easier GPIO assignments.

– Without TLMM, each GPIO pad would require individual programming.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 15: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 2980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

TLMM Modes

• TLMM provides three modes of software-controlled MUXing (or DEMUXing) of the MSM7200A I/Os.

– Standard: Most GPIOs fall into this category (106, 105, 97:43, and 15:0). These GPIOs are configured as inputs on power-up, and then set by software to the desired functionality.

– EBI2: Only GPIO[103:98] falls into this category; these GPIO pads are used for EBI2 functions. On power-up, these GPIOs assume default EBI2 functions.

– Special condition: These are primarily GPIOs used in ETM modes (GPIO[42:16]).

Page 3080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

TLMM Architecture

Special condition MUXing (ETM & test functions)

EBI2 GPIO MUX

STD GPIO MUX

GPIO MUXing

GPIO DEMUXing

EBI2 GPIO

DEMUX

STD GPIO

DEMUX

UART/UIM glue logic

GPIO registers

Special condition DEMUXing (ETM & test functions)

Interrupt Controller

Keypad

GPIO1

GPIO2

Control registers

GP

IO1

I/F

&

ctl

ckts

standard functional outputs

GPIO registers

Control registers

GP

IO2

I/F

& c

tl ck

ts

ctls

ctls

standard functional

inputs

interrupts

USB functional

I/Os

ARM & DSP ETM/JTAG

System Peripheral

Bridge (SPB)

UART/UIM functional

I/Os

GPIO pads

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 16: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 3180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Configuration

• The MSM7200A IC GPIO pin functionality is controlled through thefollowing registers:

– GPIO_OUT_x: Contains output values for enabled GPIO pins.– GPIO_OE_x: Output enable for GPIO pins– GPIOx_CFG: Alternate functions, drive strength, pull configuration

» GPIOx_PAGE is used to select the GPIO pin to configure.

– GPIO_IN_x: Contains the GPIO input value.

NOTE: Refer to the MSM7200A Mobile Station Modem Software Interface (80-VE263-2) for more information regarding GPIO registers.

Page 3280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Programming

• GPIO.h: This file lists all the declarations and functions necessary to support interaction will TLMM functions.

• Example codeGPIO_OUT_84 = GPIO_OUT(84,4),

GPIO_IN_84 = GPIO_IN (84,4,GPIO_PULL_DOWN),

UART3_DP_TX_DATA = GPIO_ALT(84,4,1,GPIO_PULL_DOWN),

UIM2_DATA = GPIO_ALT(84,4,2,GPIO_NO_PULL)

• TLMM.h: Configures GPIOs in the TLMM for use in certain modes of operation.

– USIM, I2C, CAM IF, USB, BT

• Example code#elif defined (TLMM_UIM_USB_BT_MODE)

#define TLMM_USES_RUIM2

#define TLMM_USES_BT

#define TLMM_USES_USB

#define TLMM_USES_MMC1

• Function call#if defined( TLMM_USES_RUIM2)

#define GPIO_84_SIGNAL GPIO_IN_84

#elif defined( TLMM_USES_UART2)

#define GPIO_84_SIGNAL UART3_DP_TX_DATA

#else

#define GPIO_84_SIGNAL GPIO_GENERIC_DEFAULT

#endif

GPIO programming is performed by two files:liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 17: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 3380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Table (1 of 4)

SDC3_DATA[0]

BOOT_SCURAUX_I2C_SCL

AUX_I2C_SDA

MDP_VSYNC_PRI_2V6

AUX_TMSEBI2_ADR[18]

AUX_TDIEBI2_ADR[19]

AUX_TDOEBI2_ADR[20]

AUX_RTCK

AUX_TRST_NEBI2_CS2_N

AUX_TCKEBI2_CS3_N

PA_RANGE1MPM_GPIO[0]GP_PDM[0]

TCXO_ENMPM_GPIO[1]

PMIC_SSBIMPM_GPIO[2]

MSM7200A

FUNCTIONS

93

94

95

96

97

98

99

100

101

102

103

MPM_0

MPM_1

MPM_2

GPIO Notes:

Font in RED BOLDindicates pins currently used on FFA.

UART3_RFR_NUIM2_CLKUSB3_DAT_VPTSIF_B_CLKJOYSTICK_N

UART3_CTS_NUIM2_RESETUSB3_SE0_VMTSIF_B_ENJOYSTICK_S

UART3_RX_DATAUIM2_PWR_ENUSB3_OE_INT_NTSIF_B_DATAJOYSTICK_E

UART3_TX_DATAUIM2_DATATSIF_B_SYNCJOYSTICK_WETM_GPIO_SHDW_IRQ

SDC3_CLK

SDC3_CMD

SDC3_DATA[3]

SDC3_DATA[2]

SDC3_DATA[1]

MSM7200A

FUNCTIONS

84

85

86

87

88

89

90

91

92

GPIO

SDC4_CMD107

SDC4_DATA[0]UART2DM_TXSDC3_DATA[4]

SDC4_CLK

PA_ON2

USBH_DATA[0]UART3_TXUSBH_FS_TX_EN

USBH_DATA[1]UART3_RX_DATAUSBH_FS_DATA

USBH_DATA[2]USBH_FS_SE0

USBH_DATA[3]USBH_FS_OE_INT_N

USBH_DATA[4]

USBH_DATA[5]

USBH_DATA[6]

USBH_DATA[7]

USBH_DIR

USBH_NEXT

USBH_STOP

MSM7200A

FUNCTIONS

108

109

110

111

112

113

114

115

116

117

118

119

120

121

GPIO

Page 3480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Table (2 of 4)

GRFC[11] PA_ON2AUX_PCM_SYNCSDAC_L_R_N

GRFC[9] - ANT_SEL3

GRFC[8] - ANT_SEL2

GRFC[7] - ANT_SEL1

GRFC[6] - ANT_SEL0

GRFC[5] SYNC_TIMER1SYNC_TIMER2

GRFC[4] – GSM_SAW_SW_MODEASYNC_TIMER1AASYNC_TIMER2A

GRFC[3]WCDMA_SAW_SW_MODEA

GRFC[2] - GSM_PA_BAND

GRFC[1] – GSM_PA_ENASYNC_TIMER1BASYNC_TIMER2B

GRFC[0]WCDMA_SAW_SW_MODEB

MDP_VSYNC_SA9_ETM_TRACESYNCBDRX_MODE_SELECT_C

JOYSTICK_CPA_ON1BT_WAKEUP

MSM7200A

FUNCTIONS

71

72

73

74

75

76

77

78

79

80

81

82

83

GPIO

SDC1_DATA[0]

SDC1_CMD

SDC1_CLK

SSBI_RTR

I2C_SCL

I2C_SDA

SDC2_CLK

SDC2_CMD

SDC2_DATA[3]

SDC2_DATA[2]

SDC2_DATA[1]

SDC2_DATA[0]

GRFC[14]AUX_PCM_DOUTSDAC_DOUTTSIF_ERROR

GRFC[13]AUX_PCM_DINSDAC_MCLKTSIF_NULL

GRFC[12]AUX_PCM_SYNCSDAC_L_R_NSYNC_TIMER1

MSM7200A

FUNCTIONS

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

GPIO

UART1_RFR_NUART1DM_RFR_NTSIF_A_CLK

UART1_CTS_NUART1DM_CTS_NTSIF_A_EN

UART1_RX_DATAUART1DM_RXTSIF_A_DATA

UART1_TX_DATAUART1DM_TXTSIF_A_SYNC

UART2_RFR_NUIM1_CLKUSB2_DAT_VP

UART2_CTS_NUIM1_RESETUSB2_SE0_VM

UART2_RX_DATAUIM1_PWR_ENUSB2_OE_INT_N

UART2_TX_DATAUIM1_DATA

SDC1_DATA[3]

SDC1_DATA[2]

SDC1_DATA[1]

MSM7200A

FUNCTIONS

43

44

45

46

47

48

49

50

51

52

53

GPIOliu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 18: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 3580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Table (3 of 4)

KEYPAD[11]ETM_TRACESYNC

KEYPAD[10]ETM_TRACEPKT[10]

KEYPAD[9]ETM_TRACEPKT[9]

KEYPAD[8]ETM_TRACEPKT[8]

KEYPAD[7]ETM_TRACEPKT[7]

KEYPAD[6]ETM_TRACEPKT[6]

KEYPAD[5]ETM_TRACEPKT[5]

KEYPAD[4] ETM_TRACEPKT[4]

KEYPAD[3] ETM_TRACEPKT[3]

KEYPAD[2]ETM_TRACEPKT[2]

KEYPAD[1]ETM_TRACEPKT[1]

KEYPAD[0]ETM_TRACEPKT[0]BT_CLKREQ

MSM7200A

FUNCTIONS

31

32

33

34

35

36

37

38

39

40

41

42

GPIO

UART1_DCDUART2DM_RXUSB2_OE_INT_NSDC4_DATA[1]SDC3_DATA[5]ETM_KEYSENSE_IRQ

PA_ON1ETM_TRACEPKT[13]

ETM_TRACEPKT[12]DRX_MODE_SELECT_B

PM_INT_NETM_GPIO2_CS_N

PS_HOLDETM_TRACEPKT[11]

ETM_PIPESTAT[2]WCDMA_TX_1900_SW_SEL

ASYNC_TIMER2AGP_CLKTCHSCRN_EXT1_CLKETM9_PIPESTAT[1]ETM11_TRACECTL

ASYNC_TIMER2BGP_MNETM_GPIO_IRQTCHSCRN_EXT_DI

SYNC_TIMER2TCHSCRN_EXT_DOETM9_PIPESTAT[0]ETM11_TRACEDATA0

SYNC_TIMER1ETM_TRACECLKDRX_MODE_SELECT_A

MSM7200A

FUNCTIONS

21

22

23

24

25

26

27

28

29

30

GPIO

CAMIF_DATA9

CAMIF_DATA10

CAMIF_DATA11

CAMIF_PCLK

CAMIF_HSYNC

CAMIF_VSYNC

CAMIF_MCLK

WDOG_STBMDP_VSYNC_EETM_PIPESTATB0WCDMA_TX_1700_SW_SEL

ASYNC_TIMER1AETM_PIPESTATB1

ASYNC_TIMER1BETM_PIPESTATB2

UART1_RIUART2DM_RFR_NUSB2_DAT_VPSDC4_DATA[3]SDC3_DATA[7]ETM_TRACEPKT[15]

UART1_DTRUART2DM_CTS_NUSB2_SE0_VMSDC4_DATA[2]SDC3_DATA[6]TCHSCRN_EXT_CSETM_TRACEPKT[14]

MSM7200A

FUNCTIONS

9

10

11

12

13

14

15

16

17

18

19

20

GPIO

Page 3680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Table (4 of 4)

CAMIF_DATA0

CAMIF_DATA1

CAMIF_DATA2

CAMIF_DATA3

CAMIF_DATA4

CAMIF_DATA5

CAMIF_DATA6

CAMIF_DATA7

CAMIF_DATA8

MSM7200A

FUNCTIONS

0

1

2

3

4

5

6

7

8

GPIO

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 19: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 3780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

GPIO Design Considerations

• USIM should use GPIO[50:47] as it is the software default.

• PA_ON2 must use GPIO[110]

• Note: TSIF shares its required GPIO with UART3 and its optional GPIO with AUX_PCM.

– Once BT2.0 is enabled, it will require AUX_PCM pins, thus disabling optional TSIF features (TSIF_NULL, TSIF_ERROR).

• I2C must use GPIO[61:60] (2.6 V).– Alternate GPIO[96:95] (1.8 V or 2.6 V) should be used for BOOT_SCUR

during the OEM development phase.

• VDD_QFUSE_PROG must be connected to GND if Qfuse programming is not being performed.

– QCT recommends connecting VDD_QFUSE_PROG to PM7540’s VREG_AUX2.

Page 3880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A RF Analog Interface

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 20: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 3980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

RF-Baseband Interface

match

MSM7200A

Antenna switchplexer

TX1 (GSM_HB_TX)

to Rx SAWs and RTR6285 Rx I/Q inputs

ANT

RTR6285 pin 56 HB_OUT

GSM Quad PA

LB_OUT

39pF

VRAMP

CTLA

CTLB

CTLC

ASW PA

OUT

VMODE1 EN

IN

VMODE2 22pF

PA_ON2 (GPIO110)

BPF

PA_RANGE1

PA_RANGE0

PCS PA

OUT

IN BPF

PA_ON0W8

Cell PA

OUT

VMODE1

IN

VMODE222pF

Tx Switch

RFI RF2

RTR6285 pin 59

CTLA CTLB 100pF

INTER_RX_SW_SEL_2(GPIO78)

attn

BPF RTR6285 pin 57

CPLR

RTR6285

2200 pF

20

15 16

18 17

TX2 (GSM_LB_TX)

TRX1 (WCDMA_AWS_RX/TX)

TRX4(WCDMA1900_RX/TX)

TRX3(WCDMA_LB_RX/TX)

RX4 (GSM850_RX)

RX3 (EGSM900_RX)

RX1 (PCS1900_RX)

CTLD

match

CPLR

CPLR

to RTR6285 pin 52

(PWR_DET)

RTR6285 pin 55attn

AH25

AE25

GSM_BANDGAP_REFT4

PM6658 pin 61 (MPP8)

GSM_PA_EN (GPIO80)

GSM_PA_BAND (GPIO79)

RF3

100pF

INTER_RX_SW_SEL_1(GPIO81)

PA_ON1 (GPIO22)

ANT_SEL3_N (GPIO72)

ANT_SEL2_N (GPIO73)

ANT_SEL1_N (GPIO74)

ANT_SEL0_N (GPIO75)

U11

Y8

AD24

AG25

AB13

AD18

AH23

AA21

AE24

AD22

RF_ON

TX_IN

TX_IP

TX_QN

TX_QP

DAC_IREF

PRX_QN

PRX_QP

PRX_IN

PRX_IP

26

63

64

65

66

67

12

11

13

14

TX_ON

I_OUT_N

I_OUT_P

Q_OUT_N

Q_OUT_P

DAC_IREF

VDD_A

Q_IM_CH0

Q_IP_CH0

I_IM_CH0

I_IP_CH0

68 pF

68 pF

P7

T7

P4

N4

P2

P1

R4

R2

G1

G2

G5

G4

W7

H5

H4

J7

H7

SBDT

DRX_QP

DRX_QN

DRX_IN

DRX_IP

SSBI_RTR(GPIO59)

Q_IP_CH1

Q_IM_CH1

I_IM_CH1

I_IP_CH1

TXEN

BS

LB_IN

VCC

HB_IN

PA_POWER_CTL

WCDMA_TX_1900_SW_SEL(GPIO26)

DRX_MODE_SELECT_C(GPIO82)

GSM_SAW_SW_MODE(GPIO77)

WCDMA_TX_1700_SW_SEL(GPIO16)

DRX_MODE_SELECT_A(GPIO30)DRX_MODE_SELECT_B(GPIO23)

RX2 (DCS1800_RX)

TRXTX1

RX1

CTLA

TX2

RX2

SAWMatch

CTLB

CTLC

RTR6285 pin 41

RTR6285 pin 40

RTR6285 pin 39

DRX_WCDMA_LB

DRX_WCDMA_2100/1700

DRX_WCDMA_HB1ANT

TRX2(WCDMA2100_RX/TX)

SAWMatch

SAWMatch

CPLR

SPSTAntenna switch

22pF 100pF

VMODE1VMODE2

100pF

33pF 33pF 33pF 33pF

IMT PA OUT

VMODE1

IN

VMODE2

100pF

51 ohm51 ohm

33pF

1K ohm

1K ohm

1K ohm

68pF68pF68pF

EN

EN

EN

2.2K ohm

22pF 22pF100pF

100pF

Rx

Tx

Rx

Tx

Rx

Tx

Rx

Tx

attn

1K ohm

1K ohm

A

CMNCH_1

CH_0

BPF

NC

OUTIN

VC

SAWAD23

RTR6285 pin 58

28WB_MX_INP

29WB_MX_INM

CTLA

CTLB

RF3

RF1

RF2

CTLA

CTLB

RF1

RF2

RF3 35WPRXSE1_OUT

WPRXSE2_OUT34

OUT1

OUT2IN

SAW

OUT1

OUT2IN

SAW

INOUT

TCXO2R11TRK_LO_ADJ

0.033uF0.01uF

2K ohm 100 ohm

AB19

AH18

AG26

AD19

AA17

2

2

Page 4080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

RF GPIO/GRFC Configurations (1 of 2)

ANT_SEL2AA21GPIO[73]GRFC(8)

ANT_SEL3AH23GPIO[72]GRFC(9)

TX_ONP7GRFC(10)

AUX_PCM_CLKAD2GPIO[71]GRFC(11)

AUX_PCM_SYNCAD1GPIO[70]GRFC(12)

AUX_PCM_DINAA4GPIO[69]GRFC(13)

AUX_PCM_DOUTAA5GPIO[68]GRFC(14)

SSBDT_RTRW7GPIO[59]

DRX_MODE_SELECT_AAB19GPIO[30]

WCDMA_TX_1900_SW_SELAD19GPIO[26]

DRX_MODE_SELECT_BAH18GPIO[23]

PA_ON1AD18GPIO[22]

WCDMA_TX_1700_SW_SELAA17GPIO[16]

MSM7200APinGPIOGRFC liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 21: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 4180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

RF GPIO/GRFC Configurations (2 of 2)

PA_R0Y8

PA_ON0W8

DRX_MODE_SELECT_CAH26GPIO[82]

PA_R1U11GPIO[104]MPM_GPIO[0]

PA_ON2AB13GPIO[110]

INTER_RX_SW_SEL_1AG25GPIO[81]GRFC(0)

GSM_PA_ENAH25GPIO[80]GRFC(1)

GSM_PA_BANDAE25GPIO[79]GRFC(2)

INTER_RX_SW_SEL_2AD24GPIO[78]GRFC(3)

GSM_SAW_SW_MODEAD23GPIO[77]GRFC(4)

AE23GPIO[76]GRFC(5)

ANT_SEL0AD22GPIO[75]GRFC(6)

ANT_SEL1AE24GPIO[74]GRFC(7)

MSM7200APinGPIOGRFC

Page 4280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Platform F RF-pin Polarity in AMSS 7200A™

WCDMA 2100 TX switch selectTX_WCDMA_1700TX_WCDMA_1900WCDMA_TX_2100_SW_SEL

WCDMA 1900 TX switch selectRF switch

TX_WCDMA_1900TX_WCDMA_1700WCDMA_TX_1900_SW_SEL

WCDMA 2100 Band PA enableWCDMA power amplifierPA ONPA OFFPA_ON3

DRX_WCDMA_1900Diversity OFF

DRX_WCDMA_LBDRX_WCDMA_2100DRX_MODE_SELECT_C

DRX_WCDMA_LB

DRX_WCDMA1900DRX_WCDMA_2100Diversity OFFDRX_MODE_SELECT_B

DRX-RX path selectionWCDMA-TX to GPS-SAW isolation switch

DRX_WCDMA_LBDRX_WCDMA_2100Diversity OFFDRX_WCDMA_1900DRX_MODE_SELECT_A

UMTS1900UMTS1800/AWS/1700INTER_RX_SW_SEL_2Interstage RX switch selectionRF switch

UMTS1800/AWS/1700UMTS1900INTER_RX_SW_SEL_1

GSM SAW filter-band selectionGSM TX switch filterGSM850 TXEGSM TXGSM_SAW_SW_MODE

Quad-band GSM PA-enable signalGSM quad-band power amplifierPA ONPA OFFGSM_PA_EN

Quad-band GSM PA-band selectionGSM quad-band power amplifierDCS1800/PCS1900GSM850/EGSMGSM_PA_BAND

RTR6285 RF-enable signalRTR6285TX_OFFTX_ONTX_ON

ANT_SEL0

ANT_SEL1

ANT_SEL2Antenna selection switch logicAntenna switch module

Refer to Platform F (RFCMOS) RF Reference Schematic(80-V4341-71) for more information.

ANT_SEL3

WCDMA PA's power-mode selectionWCDMA power amplifierLow/medium powerHigh powerPA_R1

WCDMA PA's power-mode selectionWCDMA power amplifierLow powerHigh/medium powerPA_R0

WCDMA 1900 Band PA enableWCDMA power amplifierPA ONPA OFFPA_ON2

WCDMA CELL Band PA enableWCDMA power amplifierPA ONPA OFFPA_ON1

WCDMA AWS Band PA enableWCDMA power amplifierPA ONPA OFFPA_ON0

10 DescriptionDevice connection

Polarity

Signal name liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 22: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 4380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

PM7540-RF Baseband Interface

MSM7200A

Page 4480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesMemory (EBI1, EBI2, and SMI)

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 23: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 4580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Supported Memory Configurations

• Supported memory types– External bus interface 1 (EBI1) supports high-speed, high-performance

memory devices.» 32-bit DDR SDRAM (low-power DDR, targeted @ 166 MHz)

– Stacked memory interface (SMI) » On-chip 256 Mbit, 32-bit DDR SDRAM @ 166 MHz

– External bus interface 2 (EBI2) supports lower-speed devices» 8 or 16-bit NAND (512 and 2048 bytes/page)» 16 or 18 or 24-bit LCD support» 16-bit oneNAND (muxed and de-muxed modes)

• Primary memory configuration– X8 NAND (EBI2) + X32 DDR SDRAM (EBI1) + SMI

– Most testing and verification to date is done on NAND+DDR SDRAM configuration.

Page 4680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Memory Map

EBI2Chip Selects

EBI1Chip Selects

SMI

PBL liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 24: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 4780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI1

• Features– Support for only low-power memories at 1.8 V I/O power supply– Bus frequencies up to 166 MHz (DDR SDRAM mode)– EBI1 connections

» 28-bit address bus» 32-bit bi-directional data bus» Other bus signaling: data strobes, data masks, clocks, chip selects, enables, etc.

MSM7200A

DDRSDRAM

controller

AXI MemCBridge

Read channel

Write channel

Write response

Address channel

Write response ch

AXI

glob

albu

sin

terc

onne

ct

MU

Xlo

gic

ctls

ctls

Peripheral bus

I/O

SDRAM specific I/O-

Page 4880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI1 Pins

MGNDVDD_

C1

EBI2_ DATA

_5

EBI2_ DATA

_3

EBI2_ DATA

_4

EBI2_ DATA

_1MGNDGNDGNDGNDGNDGND

GPIO_111

GPIO_14M

LGNDVDD_ SMIC

EBI2_ DATA

_2

EBI2_ DATA

_0

EBI1_ OE_N

EBI1_ ADR_

4LGND

EBI1_ ADR_

11

EBI1_ ADR_

15

EBI1_ ADR_

17

GPIO_118

GPIO_117

GPIO_116L

KGNDVDD_ SMIP

EBI1_ RESOUT_N

EBI1_ ADR_

6

EBI1_ ADR_

0

EBI1_ ADR_

21817161514131211

JGNDVDD_

C1EBI1_ WE_N

EBI1_ ADR_

3

EBI1_ ADR_

1

EBI1_ ADR_

14

HGNDVDD_ SMIP

EBI1_ ADR_

5

EBI1_ ADR_

7

EBI1_ ADR_

9GND

EBI1_ ADR_

13

EBI1_ CS1_

N

EBI1_ CKE0

EBI1_ DQ_0

EBI1_ DQ_4

EBI1_ DQ_1

3

EBI1_ DQ_1

4

EBI1_ DQ_1

6

EBI1_ DQ_2

4

EBI1_ DQ_2

6

EBI1_ DQ_3

0

HPH_L

GGNDVDD_ SMIP

EBI1_ ADR_

8

EBI1_ ADR_

10GND

EBI1_ ADR_

16

EBI1_ ADR_

21

EBI1_ RAS_

N

EBI1_ DQ_1

EBI1_ DQ_6

EBI1_ DQ_1

1

EBI1_ DQ_1

2

EBI1_ DQ_1

5

EBI1_ DQ_1

7

EBI1_ DQ_2

5

EBI1_ DQ_2

7

EBI1_ DQ_3

1

HPH_R

FGNDVDD_

P1

EBI1_ ADR_

12

EBI1_ ADR_

19

EGNDVDD_

P1

EBI1_ ADR_

18GND

EBI1_ ADR_

23

EBI1_ ADR_

20

EBI1_ CS3_

N

EBI1_ CS4_

N

EBI1_ DQ_3

EBI1_ DQ_7

EBI1_ DQ_9

EBI1_ DQ_1

0

EBI1_ DM_1

EBI1_ DQ_1

8

EBI1_ DQ_2

0

EBI1_ DQS_

3

EBI1_ DQ_2

8

VDD_P4

VDD_A

DGNDVDD_ SMIP

GNDEBI1_ ADR_

22

EBI1_ ADR_

24

EBI1_ CS5_

N

EBI1_ CS2_

N

EBI1_ DQ_2

EBI1_ DQ_5

EBI1_ DQ_8

EBI1_ WAIT0_N

EBI1_ DQS_

1

EBI1_ DM_2

EBI1_ MEM_ CLK

EBI1_ DQ_2

1

EBI1_ DM_3

EBI1_ DQ_2

9GND

GND_A

CGNDVDD_ SMIC

BVSS

THERMAL

EBI1_ ADR_

25

EBI1_ ADR_

26

EBI1_ DCLK

B

EBI1_ DCLK

EBI1_ DM_0

VDD_C1

EBI1_ CS0_

N

VDD_P1

VDD_P1

VDD_C1

VDD_P1

VDD_C1

VDD_P1

EBI1_ DQS_

2

EBI1_ DQ_2

2

VDD_P1

VDD_P1

VDD_C1

EAR1_ ON

AVSS

THERMAL

VSSTHERM

AL

EBI1_ ADR_

27

VDD_P1

GNDEBI1_ CKE1

GNDEBI1_ DQS_

0GNDGNDGNDGNDGNDGND

EBI1_ DQ_1

9

EBI1_ DQ_2

3GNDGNDGND

EAR1_

OP

282726252423222120191817161514131211109

MGNDVDD_

C1

EBI2_ DATA

_5

EBI2_ DATA

_3

EBI2_ DATA

_4

EBI2_ DATA

_1MGNDGNDGNDGNDGNDGND

GPIO_111

GPIO_14M

LGNDVDD_ SMIC

EBI2_ DATA

_2

EBI2_ DATA

_0

EBI1_ OE_N

EBI1_ ADR_

4LGND

EBI1_ ADR_

11

EBI1_ ADR_

15

EBI1_ ADR_

17

GPIO_118

GPIO_117

GPIO_116L

KGNDVDD_ SMIP

EBI1_ RESOUT_N

EBI1_ ADR_

6

EBI1_ ADR_

0

EBI1_ ADR_

21817161514131211

JGNDVDD_

C1EBI1_ WE_N

EBI1_ ADR_

3

EBI1_ ADR_

1

EBI1_ ADR_

14

HGNDVDD_ SMIP

EBI1_ ADR_

5

EBI1_ ADR_

7

EBI1_ ADR_

9GND

EBI1_ ADR_

13

EBI1_ CS1_

N

EBI1_ CKE0

EBI1_ DQ_0

EBI1_ DQ_4

EBI1_ DQ_1

3

EBI1_ DQ_1

4

EBI1_ DQ_1

6

EBI1_ DQ_2

4

EBI1_ DQ_2

6

EBI1_ DQ_3

0

HPH_L

GGNDVDD_ SMIP

EBI1_ ADR_

8

EBI1_ ADR_

10GND

EBI1_ ADR_

16

EBI1_ ADR_

21

EBI1_ RAS_

N

EBI1_ DQ_1

EBI1_ DQ_6

EBI1_ DQ_1

1

EBI1_ DQ_1

2

EBI1_ DQ_1

5

EBI1_ DQ_1

7

EBI1_ DQ_2

5

EBI1_ DQ_2

7

EBI1_ DQ_3

1

HPH_R

FGNDVDD_

P1

EBI1_ ADR_

12

EBI1_ ADR_

19

EGNDVDD_

P1

EBI1_ ADR_

18GND

EBI1_ ADR_

23

EBI1_ ADR_

20

EBI1_ CS3_

N

EBI1_ CS4_

N

EBI1_ DQ_3

EBI1_ DQ_7

EBI1_ DQ_9

EBI1_ DQ_1

0

EBI1_ DM_1

EBI1_ DQ_1

8

EBI1_ DQ_2

0

EBI1_ DQS_

3

EBI1_ DQ_2

8

VDD_P4

VDD_A

DGNDVDD_ SMIP

GNDEBI1_ ADR_

22

EBI1_ ADR_

24

EBI1_ CS5_

N

EBI1_ CS2_

N

EBI1_ DQ_2

EBI1_ DQ_5

EBI1_ DQ_8

EBI1_ WAIT0_N

EBI1_ DQS_

1

EBI1_ DM_2

EBI1_ MEM_ CLK

EBI1_ DQ_2

1

EBI1_ DM_3

EBI1_ DQ_2

9GND

GND_A

CGNDVDD_ SMIC

BVSS

THERMAL

EBI1_ ADR_

25

EBI1_ ADR_

26

EBI1_ DCLK

B

EBI1_ DCLK

EBI1_ DM_0

VDD_C1

EBI1_ CS0_

N

VDD_P1

VDD_P1

VDD_C1

VDD_P1

VDD_C1

VDD_P1

EBI1_ DQS_

2

EBI1_ DQ_2

2

VDD_P1

VDD_P1

VDD_C1

EAR1_ ON

AVSS

THERMAL

VSSTHERM

AL

EBI1_ ADR_

27

VDD_P1

GNDEBI1_ CKE1

GNDEBI1_ DQS_

0GNDGNDGNDGNDGNDGND

EBI1_ DQ_1

9

EBI1_ DQ_2

3GNDGNDGND

EAR1_

OP

282726252423222120191817161514131211109

• 28 address lines, 32 data lines

• 1.8V interface

• 84 dedicated pins

• Supports DDR-SDRAM

• 2 chip selects (both CS must use same number of column and row and density)

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 25: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 4980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI1 Pin Connections

ReservedP1ID17EBI1_WAIT0_N

Output enable for DDR/SDRAMP1OL22EBI1_OE_N

ReservedP1OJ25EBI1_WE_N

DDR RAS_NP1OG19EBI1_RAS_N

P1OH18EBI1_CKE0

DDR clock enablesP1OA23EBI1_CKE1

P1OB21EBI1_CS0_N

DDR SDRAM chip selectP1OH19EBI1_CS1_N

P1OD21EBI1_CS2_N

P1OE21EBI1_CS3_N

ReservedP1OE20EBI1_CS4_N

ReservedP1OD22EBI1_CS5_N

ReservedP1OD14EBI1_MEM_CLK

P1OB25EBI1_DCLKB

Differential clock for DDR SDRAMP1OB24EBI1_DCLK

EBI1 data masksP1OEBI1_DM[3:0]

EBI1 data strobesP1BEBI1_DQS[3:0]

Other EBI1 signaling

32-bit EBI1 data bus; DQ[31] is the MSB, DQ[0] is the LSB.

P1BEBI1_DQ[31:0]

28-bit EBI1 address bus; ADR[27] is the MSB, ADR[0] is the LSB.

P1OEBI1_ADR[27:0]

CommentsDescriptionVoltagedomain

I/OPin #Signal name

Page 5080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI1 Supported Configurations

MSM7200ADDR

SDRAM(32-bit)

32-bitFor 32-bit DDR SDRAM Configuration 1

DDRSDRAM

(16-bit)

DDRSDRAM

(16-bit)

MSM7200A

Two 16-bit DDR SDRAM combined for 32-bit operation. Bus loading may limit actual clock speed.

32-bit

Configuration 2

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 26: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 5180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR SDRAM Support (1 of 2)

• MSM7200A IC supports 32-bit external DDR SDRAM devices.

• MSM7200A IC supports self-refresh.– One CKE for each chip-select signal– Each SDRAM can be powered down individually.

• Supported configurations include:– Single 32-bit DDR device– 32-bit DDR device (2x16-bit)– Both chip selects must have same rows and columns

• Extremely high data rates, hence timing is very crucial– Care must be taken during trace layout and design.– Refer to MSM7200A Mobile Station Modem

IC User Guide (80-VE263-3) for more information regarding design guidelines for DDR SDRAM. EBI 1_DCLK

EBI1_DCLKB

EBI1_CS_N(0/1)

EBI1_ADDR [31:0]

EBI1_DQ [31:0]

EBI1_DQS

DCLK

DCLKB

CS_N

DQS

A [31:0]

D [31:0]

MSM7200A

DDR SDRAM32-bit

Note:

It is recommended to use DDR-SDRAM devices of same density when both EBI1 chip selects are used.

Refer to MSM7200A Mobile Station Modem Revision Guide (80-VE263-4) for more details.

Page 5280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR SDRAM Support (2 of 2)

MSM7200MSM7200A

EBI1_DQS[3:0]

EBI1_CKEEBI1_

EBI1_ DCLKEBI1_ DCLK

EBI1_ DCLKBEBI1_ DCLKB

EBI1_CS_N(0/1)EBI1_CS_N(0/1)

EBI1_WE

EBI1_RAS

EBI1_ADDR[24:0]

EBI1_DQM[3:0]

EBI1_DATA[31:0]

SDRAM SDRAM 16-bit

DCLK

DCLKB

CKE

CS_NCS_N

WE

RAS

DQS[1:0]

DQM[1:0]ADDR[24:0]DATA[15:0]

SDRAM SDRAM 16-bit

DCLK

DCLKB

CKE

CS_NCS_N

WE

RAS

DQS[1:0]

DQM[1:0]ADDR[24:0]DATA[15:0]

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 27: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 5380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR SDRAM Clock

• EBI1_DCLK and EBI1_DCLKB are differential clock outputs.

• All address and control signals are sampled at the rising edge of DCLK and falling edge of DCLKB.

• All data signals are sampled at the crossing of DCLK and DCLKB.

• This effectively doubles the data rate, since the signal is sampled at both rising and falling edges of the clock signal.

tCL

tCK

tIS

EBI1_DCLK

EBI1_DCLKB

EBI1_CKE[1:0]

tCH

tIH

Page 5480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR SDRAM Access Timing

READ Timing

Write Timing

EBI1_DCLK

EBI1_DCLKB

COMMAND

EBI1_ADR

EBI1_DQS

EBI1_DQ

tDV

tDQSQ

tRHZ2

tRPRE

tRHZ

tIPW

tIHtIS

READ NOP NOP NOP NOP NOP

CL = 3

tDQSS

tDH

tDS

tDH

tDS

tDQSL

tDQSH

tIHtIS

EBI1_DCLK

EBI1_DCLKB

EBI1_ADR/COMMAND

EBI1_DQS

EBI1_DQ/DM

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 28: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 5580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR SDRAM Design Considerations

• The extremely high data rates demand very careful timing calculations and controlled impedance routing.

• Signal integrity can be violated with a long PCB trace, excessive parasitic capacitance, or similar layout issues.

• The various DDR signals can be grouped into categories:– Clocks– Data– Address/command– Control– Power

• Special considerations for each group need to be taken; some of the important considerations are listed in the following slides.

Page 5680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR Differential Clock Considerations

• Use controlled impedance lines for each of the two traces.

• Route the traces in parallel and close to each other. – If the trace width is W, spacing between the traces should be on the

order of 2W to 3W.

• The two clock traces must have nearly equal length.– Maintain the trace length difference to be less than 100 mil.– Complementary phase relationship between the two signals will be

degraded if the traces are of different trace lengths.» This can impact the timing and duty cycle.

• Other layout considerations– Route the clock pair on the same critical layer to ensure clocks have

similar signal integrity.– Maintain a solid ground reference for routed clocks, thereby providing

a low-impedance path for return currents.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 29: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 5780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

DDR DQ and DQS Signal Considerations

• The MSM7200A™ device drives the DQS signal to capture data during reads, and the DDR device drives DQS during writes.

• The timing difference between DQ and DQS signals needs to be minimized. Trace matching is very important.

• DQ and DQS signals are divided into 4 groups» EBI1_DQS[3] ↔ EBI_DQ[31:24]» EBI1_DQS[2] ↔ EBI_DQ[23:16]» EBI1_DQS[1] ↔ EBI_DQ[15:8]» EBI1_DQS[0] ↔ EBI_DQ[7:0]

• Layout considerations– Every eight bits of data and the corresponding DQS signal MUST have

similar trace characteristics:» Trace length differences must be less than 100 mil for the entire group.» Capacitive loading must be similar.

– Make sure to reduce cross-talk noise from adjacent signals on DQS signals.» Maintain at least 4W spacing between DQS and other non-data group signals.

Page 5880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Other DDR Design Considerations

• All address/command and control signals should have similar trace characteristics (trace length, capacitance, etc.).

– Trace length difference between signals should be less than 150 mil.

• Use distributed and balanced decoupling.

• Keep the VDD_MSME trace as wide a trace as possible, and isolate the trace as much as possible with adjacent ground tracesegments.

• Provide a solid ground reference to all signals.

• Avoid crossing high-speed traces.

• Keep traces short and direct to minimize loss and undesired coupling.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 30: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 5980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI2

• EBI2 provides support for slower peripheral devices.– NAND flash memory– LCDs– Async devices– FLO receiver– oneNAND

• The EBI2 controller includes three separate controllers:– Serial Flash controller– LCD controller– External memory controller

• Supports 1.8 V or 2.6 V power supply voltages.

• Supports any generic external peripheral whose timing is similar to async memories.

• EBI2 pin connections– 20-bit address bus– 16-bit bidirectional data bus– Six chip-select signals (two LCD, two NAND/oneNAND, and two async)

Page 6080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI2 High-level Block Diagram

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 31: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 6180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI2 Pins

ADGNDVDD_ SMIP

GPIO_87

GPIO_78

GPIO_77

GPIO_75

GPIO_38

GPIO_34

GPIO_26

GPIO_22

GPIO_17

ACEBI2_ CS4_N

EBI2_ CS5_N

GPIO_86

GPIO_84

ABGNDVDD_ SMIP

GPIO_109

GPIO_107

GPIO_42

GPIO_40

GPIO_29

GPIO_30

GPIO_25

GPIO_18

AAGNDVDD_P

2

EBI2_ BUSY0

_N

EBI2_ CS3_N

EBI2_ CLK

GPIO_73

GPIO_32

GPIO_28

GPIO_20

GPIO_16

YGNDVDD_C

1EBI2_ CS0_N

EBI2_ ADR_1

8

GPIO_101

EBI2_ CS2_N

WGNDVDD_SMIP

EBI2_ ADR_1

2

EBI2_ ADR_1

6

EBI2_ ADR_1

9

EBI2_ ADR_2

01817

VGNDVDD_ SMIC

EBI2_ ADR_1

3

EBI2_ ADR_1

1

EBI2_ ADR_1

7

EBI2_ CS1_NVGPIO_

83GPIO_

108

UGNDVDD_P

2EBI2_ ADR_6

EBI2_ ADR_7

EBI2_ ADR_1

0

EBI2_ ADR_1

5U

EBI2_ ADR_1

4GND

TEBI2_ ADR_3

EBI2_ ADR_1

EBI2_ ADR_4

EBI2_ ADR_2

EBI2_ ADR_9

EBI2_ ADR_8TEBI2_

ADR_5GND

RGNDVDD_ SMIC

EBI2_ WE_N

EBI2_ UB_N

EBI2_ LB_N

EBI2_ DATA_

15RVDD_

SMIPGND

PGNDVDD_ SMIP

EBI2_ DATA_

14

EBI2_ DATA_

9

EBI2_ OE_N

EBI2_ DATA_

11P

EBI2_ DATA_

13GND

NGNDVDD_P

2

EBI2_ DATA_

12

EBI2_ DATA_

8

EBI2_ DATA_

7

EBI2_ DATA_

10N

EBI2_ DATA_

6GND

MGNDVDD_C

1

EBI2_ DATA_

5

EBI2_ DATA_

3

EBI2_ DATA_

4

EBI2_ DATA_

1MGNDGND

LGNDVDD_ SMIC

EBI2_ DATA_

2

EBI2_ DATA_

0

EBI1_ OE_N

EBI1_ ADR_4

LGNDEBI1_ ADR_1

1

KGNDVDD_ SMIP

EBI1_ RESOUT_N

EBI1_ ADR_6

EBI1_ ADR_0

EBI1_ ADR_21817

ADGNDVDD_ SMIP

GPIO_87

GPIO_78

GPIO_77

GPIO_75

GPIO_38

GPIO_34

GPIO_26

GPIO_22

GPIO_17

ACEBI2_ CS4_N

EBI2_ CS5_N

GPIO_86

GPIO_84

ABGNDVDD_ SMIP

GPIO_109

GPIO_107

GPIO_42

GPIO_40

GPIO_29

GPIO_30

GPIO_25

GPIO_18

AAGNDVDD_P

2

EBI2_ BUSY0

_N

EBI2_ CS3_N

EBI2_ CLK

GPIO_73

GPIO_32

GPIO_28

GPIO_20

GPIO_16

YGNDVDD_C

1EBI2_ CS0_N

EBI2_ ADR_1

8

GPIO_101

EBI2_ CS2_N

WGNDVDD_SMIP

EBI2_ ADR_1

2

EBI2_ ADR_1

6

EBI2_ ADR_1

9

EBI2_ ADR_2

01817

VGNDVDD_ SMIC

EBI2_ ADR_1

3

EBI2_ ADR_1

1

EBI2_ ADR_1

7

EBI2_ CS1_NVGPIO_

83GPIO_

108

UGNDVDD_P

2EBI2_ ADR_6

EBI2_ ADR_7

EBI2_ ADR_1

0

EBI2_ ADR_1

5U

EBI2_ ADR_1

4GND

TEBI2_ ADR_3

EBI2_ ADR_1

EBI2_ ADR_4

EBI2_ ADR_2

EBI2_ ADR_9

EBI2_ ADR_8TEBI2_

ADR_5GND

RGNDVDD_ SMIC

EBI2_ WE_N

EBI2_ UB_N

EBI2_ LB_N

EBI2_ DATA_

15RVDD_

SMIPGND

PGNDVDD_ SMIP

EBI2_ DATA_

14

EBI2_ DATA_

9

EBI2_ OE_N

EBI2_ DATA_

11P

EBI2_ DATA_

13GND

NGNDVDD_P

2

EBI2_ DATA_

12

EBI2_ DATA_

8

EBI2_ DATA_

7

EBI2_ DATA_

10N

EBI2_ DATA_

6GND

MGNDVDD_C

1

EBI2_ DATA_

5

EBI2_ DATA_

3

EBI2_ DATA_

4

EBI2_ DATA_

1MGNDGND

LGNDVDD_ SMIC

EBI2_ DATA_

2

EBI2_ DATA_

0

EBI1_ OE_N

EBI1_ ADR_4

LGNDEBI1_ ADR_1

1

KGNDVDD_ SMIP

EBI1_ RESOUT_N

EBI1_ ADR_6

EBI1_ ADR_0

EBI1_ ADR_21817

• 48 dedicated pins

• Supports NAND, oneNAND, Async/Page mode memory devices, LCDs

•6 Chip Selects, 2 for NAND (oneNAND), 2 for Async/Page and 2 for LCD

•20 Address Lines, 16 Data Lines

•1.8V and 2.6V Interface

Page 6280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

EBI2 Pin Connections

EBI2 oneNAND clockP2OAA22EBI2_CLK

Busy signal 1st NANDP2IAA25EBI2_BUSY0_N

Chip select 1st oneNANDChip select 1st NANDP2OY25EBI2_CS0_N

Chip select 2nd oneNANDChip select 2nd NANDP2OV21EBI2_CS1_N

Chip selectP2OY21EBI2_CS2_N

Chip selectP2OAA24EBI2_CS3_N

Chip select 1st LCDP2OAC28EBI2_CS4_N

Also used to select 2nd LCDChip selectP2OAC27EBI2_CS5_N

Output enableP2OP22EBI2_OE_N

Write enableP2OR25EBI2_WE_N

Byte access of 16-bit memoryUpper byte enableP2OR24EBI2_UB_N

Byte access of 16-bit memoryLower byte enableP2OR22EBI2_LB_N

Other EBI2 signaling

16-bit data bus; DATA[15] is the MSB, DATA[0] is the LSB.

P2BEBI2_DATA[15:0]

20-bit address bus; ADR[20] is the MSB, ADR[1] is the LSB.

P2OEBI2_ADR[20:1]

CommentsDescriptionVoltagedomain

I/OPin #Signal nameliu

.hongm

ei2-zt

e.com

.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 32: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 6380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

LCD Device Support

• Supports 16/18/24-bit port-mapped LCDs.

• Supports 16-bit read and 16-bit, 18-bit and 24-bit writes through parallel interface.

– EBI2_UB/LB_N are used as LCD_DATA[17:16] for 18-bit LCD interface.

– EBI2_UB/LB_N are used as LCD_DATA[17:16] and EBI2_ADR[6:1] are used as LCD_DATA[23:18] for 24-bit LCD interface.

• Two chip selects available:– EBI2_CS4_N (use A16 as LCD_RS for this

chip select).– EBI2_CS5_N* (use A17 as LCD_RS for this

chip select).

• Intel timing – Two chip selects are available.

• Motorola timing– One chip select is available (EBI2_CS4_N).– EBI2_CS5_N is used as LCD_EN.

*NOTE: EBI2_CS5_N is not available in Motorola-style LCD devices; it is used as the LCD_EN signal.

Page 6480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

NAND Memory Support

• MSM7200A IC provides support for 8-bit and 16-bit NAND flash devices.

• Programmable page sizes of 512-byte and 2048-byte (256-byte is NOT supported).

• Hardware supports both MLC and SLC mass storage technologies.

– Current S/W only supports SLC NAND.– MLC NAND will be supported by S/W in Q2

2007.

• Error correction coding (ECC):– 1-bit Reed-Solomon code is used to support SLC-

based devices.– 4-bit Reed-Solomon code is used to support

MLC-based devices.– For each 512 bytes of user data, 4 bytes of ECC is

available.» For every 512 bytes of user data, there are 4

bytes of ECC data to recover 1 bit of user data.

• NAND interface shares the EBI2 ports with other external SRAM devices.

• Two chip selects are available for NAND:– EBI2_CS0_N– EBI2_CS1_N

• Maximum addressable memory space of greater than 1 GByte.

Note: MSM7200A does not support simultaneous NAND and oneNAND operation.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 33: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 6580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

NAND Pin Connections

NAND dataP2BEBI2_DATA[15:0]

NAND signalVoltage domain

DirectionPin #EBI2 pin

Busy signal P2IAA25EBI2_BUSY0_N

Chip select 1st NANDP2OY25EBI2_CS0_N

Chip select 2nd NANDP2OV21EBI2_CS1_N

NAND_RE_NP2OP22EBI2_OE_N

Write enableP2OR25EBI2_WE_N

NAND_CLEP2OR24EBI2_HB_N

NAND_ALEP2OR22EBI2_LB_N

Page 6680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

NAND Interface Timing

• Each access to NAND flash devices involves the controller executing a sequence of signal assertion and de-assertion, according to the timing requirements of the connected device.

• The transfer sequence is defined using registers FLASH_XFR_STEP(1–7).– The register values dictate the signal status.

• There are seven distinct configurations, including wait states: – FLASH_XFR_STEP1 to FLASH_XFR_STEPn

FLASHXFR _STEP1

NAND_CSx_N

NAND_ALENAND_CLE

NAND_WE_NNAND_OE_N

STEP_WAIT

1

FLASHXFR _STEP3

3 FLASHXFR _STEP4

4

FLASHXFR _STEP5

5 FLASHXFR _STEP6

6

FLASHXFR _STEP7

7FLASHXFR _STEP2

2STEP_WAITSTEP_WAIT STEP_WAIT STEP_WAIT STEP_WAIT STEP_WAIT

startPads state are controlled by step register FLASH_XFR_STEPx

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 34: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 6780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

NAND Flash Timing

• Step configuration registers (FLASH_XFR_STEPn) are divided as follows:– Bits [31:16]: “Command” and “Address” cycles– Bits [15:0]: “Data” cycles

• If the step configuration is changed, then the timing parameters mapped to the registers can be adjusted accordingly.

31:30

29:26

24

23

22

21

20

19

18

15:14

13:10

8

7

6

5

4

3

2

1:0

CMD_SEQ_SETP_NUM

CMD_STEP1_WAIT

CMD_DATA_EN

CMD_CE_EN

CMD_CLE_EN

CMD_ALE_PIN

CMD_WE_EN

CMD_RE_EN

CMD_WIDE

DATA_SEQ_STEP_NUMBER

DATA_STEP1_WAIT

DATA_DATA_EN

DATA_CE_EN

DATA_CLE_EN

DATA_ALE_PIN

DATA_WE_EN

DATA_RE_EN

DATA_WIDE

EXTA_READ_WAIT

FLASH_XFR_STEPx (x = 1 to 7)

Command/Address Data

17:16 RESERVED*

25 CMD_AOUT_EN* 9 DATA_AOUT_EN*

* Not used

NOTE:

1. ALE_PIN and CLE_EN bits are the "enable" control of the external pin. When set (1), the ALE and CLE are controlled by the NANDC sequencer. When clear (0), ALE and CLE are disabled (signal=low).

2. Read data wait can be incremented without changing the write data wait states using bits [1:0].

Page 6880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

NAND Flash Timing Example

1. Assert CS_N (CS_N = 0).

2. Wait for CS_N-to-OE_N setup time for read from flash.

3. Assert OE_N (OE_N = 0) and read data.

Repeat for consecutive data reads.

NAND_CSx_N

ValidEBI2_DQ[15:0]

t(dh)

ALE/CLE

OE_N

1

NAND Data Read

Data 0

Commandcycle

EBI2_BUSY0_N

Data 1 Data n

2 3 2 3 2 3 4

t(ds)

t(rd) t(rdw)

t(rr)

t(bsy)

*

* During data read wait period , ALE and CLE stay low only if NAND _CSx_N is driven low as required by the FLASH device .

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 35: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 6980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

oneNAND

• oneNAND is a NAND-type flash memory that interfaces like NOR memory.

• Supported oneNAND configuration– 16-bit oneNAND– Asynchronous and synchronous timing

• Testing is ongoing

Note: MSM7200A does not support simultaneous NAND and oneNAND operation.

MSMMSM7200A

EBI2_CS_N (0/1)

SDRAM oneNAND

CE

A[15:0]

DQ[15:0]

EBI2_OE_N

EBI2_WE_N

EBI2_ADR[19](EBI2_ONENAND_RDY_IN)

EBI2_DATA[15:0]

OE

WE

AVD

INTEBI2_BUSY0_N

VREG_MSME

EBI2_LB_N(oneNAND_AVD_N)

EBI2_CLK CLK

READY

EBI2_ADR[16:1]

Page 7080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesMDDI

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 36: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 7180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Mobile Display Digital Interface (MDDI)

• MDDI is a cost-effective, low-power solution that enables high-speed, short-range communication between the MSM device and camera/display device.

• MSM7200A device has three dedicated MDDI interfaces.

– Two “host” interfaces for LCDs

– One “client” interface for camera application

• Two Type I MDDI “host”interfaces

– Two low-swing differential signal pairs (data and strobe)

• Type II MDDI “client” interface– Supports higher data rates by

sending multiple bits in parallel (data0, data1, and strobe).

MSM7200A

MDDIClient

( Type II )

MDDIHost

( Type I )

MDDIHost

( Type I )

MDDIHost

MDDIClient

MDDIClient

Camera Module

Device LCDs

External Device

MDDI Link3 pairs

MDDI Link2 pairs

MDDI Link2 pairs

Page 7280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MDDI Pin Connections

MDDI groundGNDIAE15VSS_MDDI

From PM7540 IC; 1.8 V typ, programmable from 1.500 to 3.050 V in 50 mV steps.

MDDI power supply1.8IAD15VDD_MDDI

MDDI power and ground

1.8BAB15MDDI_E_DATA_P

Low-swing differential signal; connects to MSM host; high-Z default state

Peripheral differential data pair1.8BAA15MDDI_E_DATA_N

1.8OAA14MDDI_E_STB_P

Low-swing differential signal; connects to MSM host; high-Z default state

Peripheral differential strobe pair

1.8OAB14MDDI_E_STB_N

External MDDI connections (peripheral)

1.8BAH13MDDI_C_DATA1_P

Low-swing differential signal; connects to MSM client; high-Z default state

Camera differential data pair 11.8BAG13MDDI_C_DATA1_N

1.8BAH14MDDI_C_DATA0_P

Low-swing differential signal; connects to MSM client; high-Z default state

Camera differential data pair 01.8BAG14MDDI_C_DATA0_N

1.8OAH15MDDI_C_STB_P

Low-swing differential signal; connects to MSM client; high-Z default state

Camera differential strobe pair1.8OAG15MDDI_C_STB_N

MDDI camera connections

1.8BAE14MDDI_P_DATA_P

Low-swing differential signal; connects to MSM host; high-Z default state

LCD differential data pair1.8BAD14MDDI_P_DATA_N

1.8OAE13MDDI_P_STB_P

Low-swing differential signal; connects to MSM host; high-Z default state

LCD differential strobe pair1.8OAD13MDDI_P_STB_N

Primary MDDI connections (LCD)

CommentsDescriptionVoltageI/OPin #Signal name liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 37: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 7380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MDDI Flip-phone Design

MDDI data (host)

Camera control & MDDI host chip

MSM

MD

DI

host

core

Lower clamshell

MD

DId

river

s&

rece

ive

rs

MD

DIc

lient

core

MD

DId

river

s&

rece

ive

rs

MDDI strobe (host)

MDDI data (client)

MDDI strobe (client)

MDDI client & LCD controller chip

(with frame buffer )

PrimaryLCD

Secondary LCD

Camera

Earpiece audio

Upper clamshell

Power & ground

hinge

3-pair MDDI link900 Mbps

225 Mbps

2-pair MDDI link100Mbps

400 Mbps

Page 7480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MDDI Vendors

18bppWVGASamples end of 2006Volume in 2007

ToshibaTC358722

Bridge chip, 'VeGA'VGA (QCIF+)ES AvailableToshibaTC358720

Two MDDI driver ICs (COG)QVGA & WQVGARenesas

LCD IC controller with 16.77M colorsQVGAAvailableRenesasR61504

2.22" TFT moduleQVGAEpsonL5F30415T0x

1.98" TFT moduleQVGAEpsonL5F30376T0x

Graphics engine and display driver MDDIQVGAEpsonS1D13751

WVGASamples 2Q 2007Rodem-WV

QVGAAvailable

SharpLR38869'Rodem'

TFT LCD display driver with 320x240 262k colorsQVGAAvailableSamsungS6D0142

Media co-processor and LCD controller IC QVGA.QVGAAvailable

SamsungS3CA460X ('MC4')

Notes

Resolution Primary(Secondary)Status

MDDI Vendor & Part Number

There are additional manufacturers with plans to produce MDDI displays up to VGA including Sitronix and California Micro Devices.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 38: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 7580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesParallel Camera

Page 7680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Camera Interface

NOTE: For 10/8-bit data input: use CAM_DATA[11:2] or CAM_DATA[11:4].

• CAM_DATA[3:0] can be used as GPIOs if programmed for non-camera function.

• CAMIF_PCLK– Up to 96 MHz

• CAM_MCLK: – Generated by M/N counter– Can support several frequencies

• CAMIF_VSYNC: frame sync input

• CAMIF_HSYNC: line sync input

• CAMIF_DATA: pixel data input –12/10/8 bits (11:0,11:2, or 11:4)

• Sync control: synchronous timer outputs (flash + mechanical shutter control)

• Async control: asynchronous timer outputs (auto-focus + zoom control)

• Camera module control through I2C interface

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 39: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 7780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

CAMIF Block Diagram

Page 7880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

CAMIF Pin Connections (1 of 2)

AB20AE23

SYNC_TIMER2GPIO[29]GPIO[76]

Camera flash and mechanical shutter controlP3OAD1

AE23AB19

SYNC_TIMER1GPIO[70] GPIO[76]GPIO[30]

AA19AH25

ASYNC_TIMER2BGPIO[28] GPIO[80]

AE19AD23

ASYNC_TIMER2AGPIO[27]GPIO[77]

AB17AH25

ASYNC_TIMER1BGPIO[18]GPIO[80]

Camera zoom and auto-focus controlP3OAD17

AD23

ASYNC_TIMER1AGPIO[17]GPIO[77]

Pixel rate clockP4IP5

CAM_PCLKGPIO[12]

Master clockP4ON11

CAM_MCLKGPIO[15]

Horizontal syncP4IP11

CAM_HSYNCGPIO[13]

Vertical syncP4IM11

CAM_VSYNCGPIO[14]

Serial control clockP4ON5

AUX_I2C_SCLGPIO[95]

Serial control dataP4BT11

AUX_I2C_SDAGPIO[96]

CommentsDescriptionVoltagedomain

I/OPin #Signal name liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 40: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 7980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

CAMIF Pin Connections (2 of 2)

CommentsDescriptionVoltagedomain

I/OPin #Signal name

Can be software-controlled on any available GPIO.

Camera reset control signal---O---CAM_MRST

Bayer input data (preferred)Camera 12-bit data, bits 11 – 0; ’11 is MSM, ‘0 is LSB

P4ICAM_DATA[11:0]GPIO[11:0]

Page 8080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Camera Image Sensors – Testing

- 2 Mpixel - Now available

-2 Mpixel - Now available-3 Mpixel – Now available

- 2 Mpixel - Now available- 3 Mpixel - Complete Q1 2007- 5 Mpixel - Complete Q3 2007

- 2 Mpixel - Complete Q3 2007- 3 Mpixel - Complete Q1 2007

- 3 Mpixel – Now available

-2 Mpixel - Now available-3 Mpixel - Now available

-2 Mpixel - Now available-2 Mpixel MDDI – Q4 2006

-5 Mpixel - Complete Q3 2006-3 Mpixel MDDI - Q1 2007

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 41: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 8180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesTransport Stream Interface

Page 8280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Transport Stream Interface (TSIF)

S-Band (2.6 GHz)

UHF

Band

Typical DVB-H modules do not support TSIF. DVB-H modules usually support SDIO output.

8 MHzCOFDMUS/EuropeDVB-HDigital Video Broadcast -Handheld

Typical S-DMB modules use TSIF.25 MHz4XWCDMAKoreaS-DMBSatellite - Digital Mobile Broadcast (ARIB STB-B41)

Typical ISDB-T modules use TSIF.6 MHz or 6/13 MHzOFDMJapanISDB-TIntegrated Service Digital Broadcasting -Terrestrial transmission(ARIB STD-B31)

CommentsBandwidthTechnology and modeRegionStandard

Mobile broadcast standard

The handset’s mobile broadcast implementation (see figure) that uses a separate, non-WCDMA radio link has its own antenna.

Depending on the standard used, the broadcast module may or may not output H.222.0 MPEG2 Transport Stream packets that the MSM7200A supports.

TS interface in MSM7200A IC ONLY supports transport of TS packets from broadcast module to the MSM. Most DVB-H modules only support SDIO interface which requires OEM to provide its own driver.Handset DMB receive block diagram

H.222.0 Transport

Stream

CustomerSolution

MSM7200A

Handset Radio Link

BroadcastTuner Demodulator

RF

Inte

rface

CDMA Radio Antenna

DMB Antenna

LCD Display&

Sound

TSIF

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 42: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 8380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

TSIF Block Diagram

Inpu

tsta

tem

achi

ne

EHIs

tate

mac

hine

Page 8480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

TSIF Signaling

7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 07

TSIF_CLK

TSIF_EN

TSIF_DATA

Byte 0MSB…………………..…LSB

Byte 187

Min. 1504 (188x8) TSIF_CLK cycles and 188 Bytes

TSIF Packet Timing

TSIF_EN

Valid Packet

Valid Packet

1504 Clocks 1504 Clocks

Min. 1 TSIF_CLK5 to 20 (Typ.)

Note: (1) TSIF_EN input can be programmed as “active low” or “active high” signal. (2) TSIF_EN and TSIF_DATA are sampled on either rising or falling TSIF_CLK edge.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 43: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 8580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A TSIF Features

• 3- or 6-pin serial interface

• Supports external clocks up to 4 MHz with a maximum data rate of0.5 MB per second.

• The data mover (DM) transfers HTS packets directly from the external interface to system memory.

• 4 bytes of additional information (time stamp and flags) are provided with every HTS packet.

– TSIF time stamp (TTS) is based upon a 27-MHz TSIF clock reference (TCR).

• Enhanced fallback and/or debug support using a software-based copy mechanism when HTS packets are transferred directly from the external interface to system memory

• Reports the status of each HTS packet transferred to memory via the DM or software copy.

• Optional interrupts for critical events: loss-of-sync, packet available, and packet overflow

Page 8680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Universal Broadcast Modem (UBM)

• QUALCOMM Universal Broadcast Modem™ (UBM™) provides single-chip solution for the world's leading mobile broadcast standards. It provides handset manufacturers unprecedented flexibility while creating a time to market advantage. By combining digital and RF functionality into a single package, UBM chip is a size- and cost-efficient solution. QUALCOMM's UBM chipset family includes:

– MBP1600™ - supports wideband MediaFLO™, DVB-H, and ISDB-T– MBP1610™ - supports MediaFLO in US

• These chipsets are single-chip solution that includes RF and baseband processing. They are MSM-companion ICs that provide broadcast receive-only tuning, demodulation, and decoding capabilities.

• There are two MBP/MSM interfaces: the MSM’s EBI2 and the Transport Stream Interface (TSIF). The MSM device’s ARM® always configures the MBP via EBI2. The interface used for physical layer data transport from the MBP1600 device to the MSM device depends upon the broadcast standard being supported:

– MediaFLO uses EBI2 only– DVB-H and ISBD-T use both EBI2 and TSIF

• The MediaFLO, DVB-H, and ISDB-T software protocol stacks (including video decoding and processing) are all handled within the MSM device.

• Please contact [email protected] for inquiries regarding the UBM.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 44: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 8780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesTV-out

Page 8880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

TV-out Block Diagram

Periph bus I/F

Mobile Display Processor

AXI bus I/F

Gamma correction

additional processing

horizontal & vertical

scaler

progressive to interlace scan /anti-flicker filter

NTSC/PAL Encoder

Periph bus I/F

video data

synchronization

Video DAC

10-bit data

SLEEP

Periph bus

AXI bus TV_OUT to PMIC

27 MHz clock

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 45: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 8980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A TV-out Implementation Example

VIDEO_ OUTVIDEO_INVideoDAC

PM7540

TV present detection

15 uH

30 pF

VREG_ MSMA

MSM7200AVDD_A

TVOUT

VSS_ TVOUT_DACTVDAC_R_SET649

39 pF

649

2. 7 pF

0.1 uF

75

VDDVDD

TV load

Shielded cable

75

ESD protection device; 10 pF max

interrupt

3 2

reconstruction filter

U4

4.64 k

T8

U2

4.7 uF

1%

Note: Reconstruction filter component values may not be the most up-to-date. Refer to the MSM7200A Baseband Reference Schematic (80-VE263-41) for the latest information.

Note: Ensure that the MSM7200A and PM7540 devices are placed close together. Keep the TVOUT signals between these devices as short as possible.

Page 9080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesHKADC

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 46: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 9180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Housekeeping ADC (HKADC)

• The MSM7200A IC has an on-chip 12-bit analog-to-digital converter.

• This HKADC is used for digitizing signals that support handset-level housekeeping functions.

– Battery voltage

– Temperature

– RF power levels

• HKADC features:– 12-bit successive approximation circuit

– Nine inputs» Three inputs are available as general purpose inputs.» Five inputs are dedicated for touchscreen functions.» One reserved pin

Page 9280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

HKADC Connections

Signal Name Pin # I/O Description Comments

General Housekeeping inputs

HKAIN[0] F2 I

HKAIN[1] F1 I

HKAIN[2] B4 I

Three general purpose inputs to the HKADC analog multiplexer

Touchscreen inputs

TS_LR D1 I 5-wire LR; 4-wire Y-

TS_LL D2 I 5 wire LL; 4-wire X-

TS_UR E1 I 5-wire UR; 4-wire Y+

TS_UL E2 I 5-wire UL; 4-wire X+

WIPER C1 I 5-wire back panel input

Not used for 4-wire

Note:

If 4-wire touchscreen interface is used, wiper pin can be used as HKADC general input pins.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 47: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 9380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

HKADC Block Diagram

anal

og m

ux

mux_sel_n

TS_LLD2

D1

HKAIN[0]

HKAIN[2]

HKAIN[1]

F2

B4

F1available as general purpose HKADC inputs

from the touch screen panel

TS_LR

TS_UR

WIPER

TS_UL

E1

C1

E2

sample and hold

12-bit ADC

A_IND_OUT

CLK

VREF

EOC

TSHK_PARAM[7:6]

TCXO/8

TCXO/16

TCXO/32

TCXO/4

HKADC_DATA_RD [11:0]

ADC_EOC

VDD_A

Internal

Page 9480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesTouchscreen

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 48: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 9580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Touchscreen Interface

• MSM7200A IC supports both 4-wire and 5-wire resistive touchscreen panels.

– All resistive touchscreens use the voltage divider principle to generate voltages that represent X and Y coordinates.

– 4-wire consists of two resistive layers. The controller supplies voltages to one layer and reads the voltages from the other layer to determine the X and Y values.

– 5-wire works very similarly to the 4-wire. It consists of one conductive and one resistive layer. Controller alternates voltages between two of the four corners on the resistive layer and reads voltages on the conductive layer via wiper to determine the X and Y values.

• The TSADC is a 12-bit successive approximation device.

• The conversion result is sent to the touchscreen sampling controller (TSSC) via SSBI, and TSSC generates the necessary interrupts.

• Detailed information on how the touchscreen interface works is included in Application Note: Touchscreen Operation for MSM7200 and MSM7500 (80-V9038-11).

Page 9680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Touchscreen Features

• One interface supports both 4-wire and 5-wire resistive touch panels.

• Pen-down detection

• Programmable debounce logic

• Programmable number of samples (1, 4, 8, or 16)

• Programmable precharge and panel voltage-stabilization duration

• Programmable resolutions (8-bit, 10-bit, or 12-bit)

• Programmable sampling periods (3, 24, 36, and 48 clock cycles of a 2.4 MHz clock)

• Ratiometric conversion

• Touch pressure Z1 and Z2 measurement

• X and Y coordinate measurement

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 49: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 9780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Touchscreen Interface Diagram

Codec/TSADCSSBI Master

Codec/TSADCSSBI Slave

TSADCSBI Registers

TSADC Controller

TSADC

Touch ScreenSampling Controller

(TSSC)

ADC_EOC

Debounce LogicAO Domain

PEN_IRQ_N

PenIrqN

tssc1_irqtssc2_irq

SPB

ADSP

SPB

MSM7200ATS_UL TS_LRTS_URTS_LL WIPER

5-wireTouch Screen Panel

UL LRURLL Wiper

4-wireTouch Screen Panel

Xp YmYpXm

WakeUp Interrupt

SSBI

Page 9880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Touchscreen Operation Flow

PenIrq B sensed

Sample Data

Start Conversion

Wait for EOC

Intrvalid?

Sample Data

N samples collected?

X, Y measured?

Precharge PenIrqB

Idle

Yes

Yes

Yes

No

No

No

Startliu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 50: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 9980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Touchscreen ADC Contention Issue

• Contention issue arises when another ADC sampling request is trying to access the ADC controller while touchscreen sampling is ongoing.

– If another ADC sampling request comes in when the touchscreen sampling process is ongoing (ex: HDET, VBATT, etc.), the touchscreen sample will be corrupted and a TSSC_ADC_EOC timeout error occurs.

– The touchscreen sample is corrupted and ADC is no longer sampling the touchscreen. TSSC is unaware of this and keeps waiting until the timeout occurs. The touchscreen operation is frozen.

• Software workaround will be available.– During touchscreen sampling activity, the ADC will not accept any

other sampling requests.– Please consult with QUALCOMM for further details.

Page 10080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesUART/USB/UIM/SDIO

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 51: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 10180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

USB Connectivity

• The MSM7200A IC supports internal full-speed OTG USB and external high-speed OTG ports.

• Supported speeds– The MSM7200A USB-OTG core supports two speeds while acting as a host:

» Full speed (12 Mbps)

» High speed (480 Mbps)

• Full-speed USB– On-chip (internal) USB solution with external transceiver provided by PM7540.– FS USB is on-the-go (OTG) compliant, and hence can be configured either as host or

peripheral.

– This port should be configured to support devices with three-wire interface only.

– USB port uses a mini-AB receptacle.

• High-speed OTG USB– On-chip (internal) USB solution with an external PHY transceiver.

– This port has USB-OTG capabilities.

Page 10280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

HS-USB Pin Connections Diagram

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 52: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 10380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

USB Pin Connections

P8IK1USBH_CLK

P8BUSBH_DATA[7:0]

P8IU7USBH_DIR

P8IV12USBH_NEXT

P8OJ8USBH_STOP

High-Speed OTG USB

Active low enables the D+ and D- pins; resets to output driving high.

P3BAE9USB_OE_INT_N

Single-ended data or differential minus (D-); resets to input.

P3BAB12USB_SE0_VM

Single-ended data or differential plus (D+); resets to input.

P3BAD12USB_DAT_VP

Full-Speed OTG USB

CommentsDescriptionVoltageI/OPin #Signal name

Page 10480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

USB-UICC

• MSM7200A supports USB-UICC– Enables the use of SIM cards with mass storage capability.

• Level translator may be required on the USB3 lines depending on desired operating voltage of the UICC card.

– Pins AC24 and AE28 are GPIO pins and has its own fixed operating voltage range that may or may not be compatible with the UICC card’s operating voltage.

– The direction pin on level translator can be controlled from USB3_OE_INT_N of the MSM device.

Contact QUALCOMM for more details and schedule.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 53: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 10580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART Connectivity

• The MSM7200A IC is capable of providing up to four UART ports.

• Each UART port communicates with serial data ports that conform to the RS-232 interface protocol.

• The UART port can be used for test and debug functions, and can support additional interface functions such as external keypad or ringer.

• UART supported speeds– UART1

» UART1 is capable of supporting a maximum transfer speed of up to 230 kbps.– UART2 and UART3

» These two ports have smaller FIFOs, and therefore the supported speeds are much slower.» Supports a maximum speed of up to 115 kbps.» UART2 must be used for USIM.

• High-speed UART– High-speed UART is achieved using UART1DM and UART2DM interfaces.

» UART1DM is behind the UART1 interface.» UART2DM has its own set of GPIOs.

– Maximum speeds up to 4 Mbps

• UART featuresThe UART has several features that are common to both transmit and receive modes:

– Hardware handshaking– Programmable parameters

» Data size» Stop bits» Parity» Bit rate» Selectable clock source

• All UART signals use GPIOs; this allows them to be configured for alternate functions.

Page 10680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART Pin Connections Diagram

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 54: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 10780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART Pin Connections (1 of 2)

Transmit serial data outputP3OV17UART2DM_TXGPIO[108]

Receive serial data inputP3IAG18UART2DM_RXGPIO[21]

Clear to sendP3IAA18UART2DM_CTS_NGPIO[20]

Ready for receivingP3OAE17UART2DM_RFR_NGPIO[19]

UART2DM

Shares same GPIO as UART1DM.Transmit serial data outputP3OAA9UART1_TXGPIO[46]

Shares same GPIO as UART1DM.Receive serial data inputP3IAB9UART1_RX_DATAGPIO[45]

Shares same GPIO as UART1DM.Clear to sendP3IAG6UART1_CTS_NGPIO[44]

Shares same GPIO as UART1DM.Ready for receivingP3OAA10UART1_RFR_NGPIO[43]

UART1 / UART1DM

CommentsDescriptionVoltageI/OPin #Signal name

Page 10880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART Pin Connections (2 of 2)

Transmit serial data outputP3OAD25UART3_TX GPIO[87]

Receive serial data inputP3IAC25UART3_RX_DATAGPIO[86]

Clear to sendP3IAE28UART3_CTS_NGPIO[85]

Ready for receivingP3OAC24UART3_RFR_NGPIO[84]

UART3

USIM must use UART2.Transmit serial data outputP3OAD9UART2_TXGPIO[50]

USIM must use UART2.Receive serial data inputP3IAE8UART2_RX_DATAGPIO[49]

USIM must use UART2.Clear to sendP3IAH6UART2_CTS_NGPIO[48]

USIM must use UART2.Ready for receivingP3OAD8UART2_RFR_NGPIO[47]

UART2

CommentsDescriptionVoltageI/OPin #Signal name liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 55: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 10980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART Block Diagram

• The UART core consists of separate transmit and receive channels.

• The Tx and Rx data is processed with separate FIFOs.

– Both Tx and Rx FIFOs are 512 bytes (UART1).

• Other support blocks include:– Clock source

» Each UART interface has its own clock source.

» The UART clock is derived from the selected clock source.

» The clock source is selected by setting the MISC_CLK_SEL1 register.

– Bit rate generator (BRG)» The desired bit rate for the receive and

transmit channels is selected using the UART_CSR register.

» Each UART can be set independently.» Speeds range from 75 bps to 230 kbps

and 1.152 Mbps.– Microprocessor interface– Interrupt control

• UART2 and UART3 interfaces have a 64-byte FIFO in the transmit and receive channels.

– The speed of these two interfaces is much slower than UART1.

Tx FIFO

Tx control module

Channel control

BRG Interrupt control

Rx FIFO

Rx control module

Microprocessor interface

Clock generator & M/N counter

Internal uP bus

TCXO/4SLEEP_XTAL

Transmit Channel

Receive Channel

Tx data Controls

CTS_N

Err

orbi

ts

Rx data

Status

Data FIFO control

DP_TX_DATA

UA

RT

_IN

T

RFR_N

DP_RX_DATA

Con

tro

ls

Status

Data FIFO control

MSM7200A

Page 11080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

IrDA through UART Interface

• The MSM7200A IC contains an IrDA transceiver that interfaces between the UART and RX_DATA/TX_DATA pins.

• The IrDA feature is available for all three UART interfaces (UART1, UART2 and UART3).

• The IrDA feature is fully supported in hardware, but it is NOT supported by QUALCOMM software.

Refer to MSM7200A Mobile Station Modem IC User Guide (80-VE263-3) for information regarding the IrDA interface.

• IrDA Tx converts the serial data into IrDA format.

– Logic 1 = 0– Logic 0 =1 (pulse width = 3/16 bit rate)

• IrDA Rx converts IrDA data into serial bits.

UARTcircuits

DP_ RX_DATA

MSM7200A

serial data

Rx IRDA

loop back

Tx IRDA

loop back

DP_ TX_ DATA

serial data

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 56: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 11180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

USB/UART Pin Multiplexing

• Some USB OTG core signals ( DAT_VP and SE0_VM) and UART1 signals (RX_DATA and TX_DATA) are multiplexed onto the same pins (AD12 and AB12).

• The pin functionality is selected by setting the USB_PIN_SEL register.

• There are three modes of operation:– USB mode– UART mode– Register mode (bit-banged)

• Therefore, in order to use the UART GPIO pins for alternate functions, the UART1 RX_DATA and TX_DATA can be routed to pins AD12 and AB12, respectively.

V 18

USB_DAT_ VP

AD12

AB12

USB_SE0_ VM

USB_OE_INT_N

USB_RCVGPIO[ 83]

usb3_oe_n

usb3_dat_vp_ out

usb3_se0_ vm_ out

usb3_dat_ vp_in

usb3_se0_vm_in

USB3

usb2_oe_n

usb2_dat_vp_ out

usb2_se0_ vm_ out

usb2_dat_ vp_in

usb2_se0_vm_in

USB2

USB_OE_N

USB_DAT_VP_ OUT

USB_SE0_VM_ OUT

USB_DAT_VP_IN

USB_SE0_VM_IN

USB-OTG core

USB_RCV_IN

USB_OE_IRQ_N

USB2_PORT_ SEL

USB_ REG_ SEL

REG_SE0_VM_OE

REG_ DAT_VP_OE

TLMM registers

REG_DAT_VP_ OUT

REG_ OE_ INT_OE

REG_OE_ OUT_N

USB_UART_ SEL

REG_SE0_VM_ OUT

UART1_ TXD

UART1_ RXD

UART1

usb3_oe_int_n

usb3 _<dat_vp,se0_vm>_en

usb3_dat_vp_ out

usb3_dat_vp_in

usb3_se0_vm_out

TLMM GPIO mux

usb3_se0_vm_in

usb2_oe_int_n

usb2 _<a, b>_<dat_vp,se0_vm>_en

usb2 _<a, b>_dat_vp_ out

usb2_a_dat_vp_in

usb2 _<a, b>_se0_vm_ out

usb2_a_se0_vm_in

usb2_b_dat_vp_in

usb2_b_se0_vm_in

1

0

1

0

1

0

1

0keeper

1

0

1

0

keeper

usb_ rcv

1

0

AE 9keeper

1

0

1

0

uart1_tx_ data

uart1_rx_data

AA9

UART1_TX_ DATAGPIO[ 46]

AB9

UART1_RX_ DATAGPIO[ 45]

MSM7200A

Page 11280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UART1DM/UART2DM (UART1/UART2 Data Mover)

• The MSM7200A IC needs to provide support for medium-rate IrDA (1.15 Mbps).

• The UART block is connected on the slow peripheral (microprocessor) bus, and cannot provide such a high bandwidth.

• To support this data rate, the UART1DM and UART2DM block is implemented in the MSM7200A IC.

• The UART1DM and UART2DM are on the fast peripheral bus (AHB), and can support the high bandwidth required for medium-rate IrDA.

• UART1DM/UART2DM features:– Support for medium-rate IrDA (1.15 Mbps)– Support for high-speed UART feature (up to 4 Mbps)– Separate Tx/Rx FIFOs (implemented in one SRAM)

» Tx/Rx FIFOs share the same 512 byte memory.

– 32-bit wide AHB interface– Rate-controlled data mover (separate channel for Rx/Tx)

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 57: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 11380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UARTDM Architecture

Clock and bit-rate

generator

Transmit channel

CTS_N

DP_ TX_ DATA

RFR_N

DP_ RX_ DATA

MSM7200A

Receive channel

UART clock domainAHB clock domain

8

data_ load

8

data_ ready

8

data_ load

8

data_ ready

AHB bridge

Interrupt registers

Rx & Tx registers

DM registers

BRG registers

Registers

AHB bus

uart_irq

uart_ fund_clk

tx_ dm_ reg

tx_ dm_ ack

rx_ dm_ reg

rx_ dm_ ack

Controller

128 x 32RAM

Clockdomains

translation

CGC

reg

IrDAifc

stable_cts_n

Page 11480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UARTDM Operation (1 of 2)

Traditional UART transfer

1. Initialize UART.

2. UART sends an interrupt to CPU each time FIFO holds less than pre-programmed number of characters. This interrupt signals the CPU that new data burst can be sent to UART Tx block.

3. UART transmits character-by-character until Tx FIFO is empty.

UARTDM transfer

1. Initialize UART.

2. Initialize data mover (DM).

3. Enable the Tx-DM transfer mode.

4. UART sends a request to DM when there is space available in Tx FIFO. DM responds by sending the data burst via AHB bus to Tx FIFO. This continues until Tx FIFO is full.

5. UART transmits character-by-character until Tx FIFO is empty.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 58: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 11580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UARTDM Operation (2 of 2)

• UARTDM is connected to the AHB bus, and includes two rate-controlled data mover interfaces (one for Tx and one for Rx).

• All configuration registers are in the AHB clock domain.

• Rx path is independent of Tx path. Therefore, UART block can receive data during an active Tx transfer.

• Commonality is the shared SRAM between Tx/Rx FIFOs.– Sharing occurs during the initialization phase.

– Memory space is not necessarily shared equally.

Page 11680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

UARTDM IrDA

• To support an IrDA medium data rate of 1.15 Mbps, UART must run at a high clock frequency of 18.4 MHz.

• The UART1DM CSR register needs to be set to determine the bit rate for Tx and Rx.

• The UART1DM_IRDA register enables the IrDA function. This register also controls the IrDA transceiver that optionally interfaces between the UART and the RX_DATA and TX_DATA pins.

• Refer to the MSM7200A Mobile Station Modem Software Interface (80-VE263-2) for information regarding UART1DM and UART2DM registers and settings.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 59: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 11780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

1-bit 4-bit 8-bit Max. frequency of operation (MHz)

SDIO v2.0 Yes Yes Yes 50

SD v2.0 Yes Yes Yes 50

MMC v4.1 Yes Yes Yes 52

SD Interface

• MSM7200A IC supports MMC, SD, SDIO, and T-Flash.– Supports 1-bit, 4-bit and 8-bit modes.– Four SDC ports are available on the MSM7200A IC.

• 2.5 to 3.0 V operation

• Supported Standards

SDCC architecture

SDCC

SD/MMC

Interrupt

DM lfc

Slave

Host

D[3:0]

CMD

CLK

SDCC interrupts

DMReq/Ack

AHBinterface

Note: Refer to Application Note: MultiMedia Card / SD Card (80-V7837-1) for more details.

Page 11880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

SDC1 Connections

SDC1 clockDigitalOAB11GPIO[56]SDC1_CLK

SDC1 command and response bit

DigitalBAE10GPIO[55]SDC1_CMD

SDC1 data bit #0DigitalBAD11GPIO[54]SDC1_DATA[0]

SDC1 data bit #1DigitalBV13GPIO[53]SDC1_DATA[1]

SDC1 data bit #2DigitalBAH8GPIO[52]SDC1_DATA[2]

Primary SDC data busSDC1 data bit #3DigitalBAA11GPIO[51]SDC1_DATA[3]

SDC1

CommentsDescriptionVoltageI/OPin #Signal name

AD11

MSM7200ASDC1_ DATA[3]

GPIO[51]AA11

V13

AH8

AE10

AB11

SDIO#1

SDC1_ DATA[2]GPIO[52]

SDC1_ DATA[1]GPIO[53]

SDC1_ DATA[0]GPIO[54]

SDC1_ CMDGPIO[55]

SDC1_CLKGPIO[56]

SD

C_D

AT

A[3

:0]

SDC_ CMD

SDC_CLK

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 60: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 11980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

SDC2 Pins

SDC2 clockDigitalOAE11GPIO[62] SDC2_CLK

SDC2 command and response bit

DigitalBAA12GPIO[63]SDC2_CMD

SDC2 data bit #0DigitalBV14GPIO[67]SDC2_DATA[0]

SDC2 data bit #1DigitalBV15GPIO[66]SDC2_DATA[1]

SDC2 data bit #2DigitalBAE12GPIO[65] SDC2_DATA[2]

SDC2 data bit #3DigitalBAA13GPIO[64]SDC2_DATA[3]

SDC2

CommentsDescriptionVoltageI/OPin #Signal name

V14

MSM7200ASDC2 _ DATA[3]

GPIO[64]AA13

V15

AE12

AA12

AE11

SDIO#2

SDC2 _ DATA[2]GPIO[65]

SDC2 _ DATA[1]GPIO[66]

SDC2 _ DATA[0]GPIO[67]

SDC2 _ CMDGPIO[63]

SDC2_CLKGPIO[62]

SD

C_D

AT

A[3

:0]

SDC_ CMD

SDC_CLK

Page 12080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

SDC3 Pins

SDC3 clockDigitalOAA16GPIO[88] SDC3_CLK

SDC3 command and response bit

DigitalBAG16GPIO[89]SDC3_CMD

SDC3 data bit #0DigitalBAD16GPIO[93]SDC3_DATA[0]

SDC3 data bit #1DigitalBV16GPIO[92]SDC3_DATA[1]

SDC3 data bit #2DigitalBAE16GPIO[91] SDC3_DATA[2]

Can be combined with SDC4 to enable 8-bit SD interface.

SDC3 data bit #3DigitalBAB16GPIO[90]SDC3_DATA[3]

SDC3

CommentsDescriptionVoltageI/OPin #Signal name

AD16

MSM7200ASDC3 _ DATA[3]

GPIO[90]AB16

V16

AE16

AG16

AA16

SDIO#3

SDC3 _ DATA[2]GPIO[91]

SDC3 _ DATA[1]GPIO[92]

SDC3 _ DATA[0]GPIO[93]

SDC3 _ CMDGPIO[89]

SDC3_CLKGPIO[88]

SD

C_D

AT

A[3

:0]

SDC_ CMD

SDC_CLK

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 61: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 12180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

SDC4 Pins

SDC4 clockDigitalOAB25GPIO[109] SDC4_CLK

SDC4 command and response bit

DigitalBAB24GPIO[107]SDC4_CMD

SDC4 data bit #0DigitalBV17GPIO[108]SDC4_DATA[0]

SDC4 data bit #1DigitalBAG18GPIO[21]SDC4_DATA[1]

SDC4 data bit #2DigitalBAA18GPIO[20] SDC4_DATA[2]

Can be combined with SDC3 to enable 8-bit SD interface.

SDC4 data bit #3DigitalBAE17GPIO[19]SDC4_DATA[3]

SDC4

CommentsDescriptionVoltageI/OPin #Signal name

V17

MSM7200ASDC4 _ DATA[3]

GPIO[19]AE17

AG18

AA18

AB24

AB25

SDIO#4

SDC4 _ DATA[2]GPIO[20]

SDC4 _ DATA[1]GPIO[21]

SDC4 _ DATA[0]GPIO[108]

SDC4 _ CMDGPIO[107]

SDC4_CLKGPIO[109]

SD

C_D

AT

A[3

:0]

SDC_ CMD

SDC_CLK

Page 12280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

SDC3 8-bit Interface

SDC3 (8-bit)

SDC3 data bit #7DigitalBAE17GPIO[19]SDC3_DATA[7]

SDC3 data bit #6DigitalBAA18GPIO[20] SDC3_DATA[6]

SDC3 data bit #5DigitalBAG18GPIO[21]SDC3_DATA[5]

SDC3 data bit #4DigitalBV17GPIO[108]SDC3_DATA[4]

SDC3 clockDigitalOAA16GPIO[88] SDC3_CLK

SDC3 command and response bit

DigitalBAG16GPIO[89]SDC3_CMD

SDC3 data bit #0DigitalBAD16GPIO[93]SDC3_DATA[0]

SDC3 data bit #1DigitalBV16GPIO[92]SDC3_DATA[1]

SDC3 data bit #2DigitalBAE16GPIO[91] SDC3_DATA[2]

SDC3 data bit #3DigitalBAB16GPIO[90]SDC3_DATA[3]

DescriptionVoltageI/OPin #Signal name

AD16

MSM7200A

AB16

V16

AE16

AG16

AA16

SDIO

SDC_ CMD

SDC_ CLK

V17

AE17

AG18

AA18

SDC3 (8-bit) SDC3_DATA[3]GPIO[90]

SDC3_DATA[2]GPIO[91]

SDC3_DATA[1]GPIO[92]

SDC3_DATA[0]GPIO[93]

SDC3_CMDGPIO[89]

SDC3_CLKGPIO[88]

SDC3_DATA[7]GPIO[19]

SDC3_DATA[6]GPIO[20]

SDC3_DATA[5]GPIO[21]

SDC3_DATA[4]GPIO[108]

SDC

_DAT

A[7:

0]liu

.hongm

ei2-zt

e.com

.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 62: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 12380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesAudio

Page 12480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio

• MSM7200A IC audio front end includes the following:– Stereo wideband codec– PCM interface– Additional DSP audio processing

• Stereo wideband codec– MSM7200A IC supports stereo wideband sampling in both Tx and Rx paths.– Stereo music/ringer melody applications through line-in inputs– Supports 8 kHz voice-band applications on forward link.– Software-selectable sampling rate up to 48 kHz in receive path**

• PCM interface– The PCM interface allows for an external codec to be used instead of the internal

codec.– Supports I2S modes that allow an external stereo DAC to be used.

• Additional DSP audio processing– Additional gains– Filtering voice call enhancements

**Refer to the software release plan for details on sample-rate support.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 63: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 12580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Front End – Tx Features

• Tx (ADC) features:– Stereo wideband sampling (stereo ADC), two differential MIC inputs, one

differential AUX input, stereo differential line-inputs– MICAMP1 software-adjustable 0 dB or +24 dB gain

– MICAMP2 (internal) software-adjustable –6 dB to +25.5 dB in steps of 1.5 dB

– CodecTxGain, TxVolume software-adjustable from –84 dB to +12 dB in steps of 1 dB

– CodecStGain adds a portion of Tx audio into Rx path with software-selectable gain from –96 dB to +12 dB in steps of 1 dB (includes 12 dB offset).

– TxSlope provides pre-emphasis for high-frequency audio. – TxPcmFilter – flexible 13-tap software-adjustable filter– TxHPF – 30 dB attenuation below 120 Hz

Page 12680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Front End – Rx Features

• Rx (DAC) features– Integrated stereo DAC, one mono differential earphone output,

legacy or OCL stereo headset output (stereo single-ended or mono differential), single-ended mono AUX output and dedicated stereo line-output

– 13/16-bit DAC with typical 88 dB dynamic range

– Rx sampling rates: 8, 16, 22.05, 24, 32, 44.1, and 48 kHz (Rate support varies between voice and playback; check software release plan.)

– Supports summing an external device's stereo (left, right) single-ended analog signal into earphone outputs.

– CodecRxGain, RxVolume software-adjustable from –84 dB to +12 dB in steps of 1dB

– RxPcmFilter – similar to TxPcmFilter– RxHPF – similar to TxHPF

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 64: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 12780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Stereo Wideband CODEC + Audio DSP

Note: Internal loopbacks exist to drive speakers for external input device or for signal-level verification: AUX-PGA, CodecStGain, PCM, and audio loopbacks.

Earphone

MicrophoneMIC1P

MIC1N

MIC2P

MIC2N

EAR1ON

EAR1OP

HS/HPH_L

AUXON / Line_R

-+

+ --

+

70mW max.*

21.6 mW max.*

Codec Rx

Codec Tx

A/D

-+HPH_R

D/A

D/A

AUXOP / Line_L + --+

2.30 mW max.*

Mux+

SumOut

HPF &SLOPE X

CODEC_TX_GAINTX_HPF_DIS_N

TX_SLOPE_FILT_DIS_N

CODEC_ST_GAIN X

HPF

RX_HPF_DIS_N

Right Data In

+ Left Data In

PCM Interface

PC

M_

LOO

PB

AC

K

CODEC Audio DSP

Line_L_IP

AUXIP

AUXIN Mux

HPF &SLOPE

A/D

X

CODEC_RX_GAIN

HPF

RX_HPF_DIS_N

X

CODEC_RX_GAIN

0dB or+24dB

MIC_AMP1

X

CODEC_TX_GAIN

MIC_AMP2

-6dB to +25.5dB1.5dB steps

0dB+24dB

MIC_AMP1

MIC_AMP2

-6dB to +25.5dB1.5dB steps

Left Data Out

Right Data Out

TX_HPF_DIS_N

TX_SLOPE_FILT_DIS_N

Line_R_IP

Line_L_IN

Line_R_IN

0.58 mW max.*-+

AUX_OUT

Capless Driver

PCMIF

PCMIF

X

13K QCELP

HR/FR/EFRAMR

Encoder

TX_VOLUME

RX_VOLUME

nsSwitch TxPcmFilt

RxPcmFiltecSwitchecMode

DTMFGeneration

DTMFDetection

DTMF_RX_GAIN

DTMF_TX_GAIN

ESECor

AEC

Encoder

Decoder

Tx FIR

NES(DFMonly)

AAGC

AUDIOLOOPBACK++

** Gain = 20LOG (Value/16384 )Range is -84dB to +12dB

++ Refer to Loopback TestCommand

Audio DSP

NS & AAGC X

X

X

Rx FIR

13K QCELPHR/FR/EFR

AMRDecoder

Page 12880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Additional Audio DSP Blocks (1 of 2)

• Enhanced Echo Canceller (EC) Application Note: Enhanced Echo Canceller and Noise Suppression Tuning (CL93-V1638-2)

– Cancels acoustic feedback between a loudspeaker and a microphone.

– Problems that are usually related to echo canceller: no double-talk or reduced double-talk, unexplained Tx muting, and volume variations

– Supports full-duplex speakerphone mode.

• Noise Suppressor (NS) Application Note: Noise Suppressor for DMSS Software (80-V2312-1)

– Intended to remove continuous sounds that have no value in being transmitted to the far-end user – automobile noise (engine noise, tire noise) and continuous tones (whistles, horns)

– On Tx link only

– Typically turned on for most phone modes. Does not require special tuning.

– Possible problems: may not let tones or other test audio be transmitted, may cause unexpected volume variations if the test lab has a changing acoustic environment, should be one of the first things to disable if unexplained volume issues occur with audio.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 65: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 12980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Additional Audio DSP Blocks (2 of 2)

• PureVoice Audio AGC™Application Note: Audio AGC for DMSS Software (CL93-V2586-1)

– Intended to make sound volume more uniform on Tx and Rx sides (independently controlled Tx and Rx), and remove unnecessary low-level noise

– By using static gain feature, can give greater control of gains.

– Possible problems fixed by Audio AGC: large variations in sound levels and inability to hear soft sounds

– This issue is discussed in greater detail later in this presentation.

• Audio front-end features – comfort noise– Intended for use when muting the audio on the TX path

– On Tx path only

– When muting the microphone, a white noise of equivalent level to the measured background noise will play, instead of just pure silence.

Page 13080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Connections

MSM7200A audio connections fall into seven categories:

• Microphone inputs

• Auxiliary inputs

• Line inputs

• Earphone outputs

• Stereo headphone outputs

• Auxiliary outputs

• Line outputs

MSM7200A

MIC1

MIC2

AUX

Line left

Line right

Earphone

Stereo headphones

AUX

Line left

Line right

Mul t

i pl e

xer c

ircui

ts

Left channel gain

Right channel gain

AD

CA

DC

Tx paths

Capless driver

Mul

t iple

xerc

i rcu i

ts

Rx paths

DA

CD

AC

to R audio DSP ckts

to L audio DSP ckts

from L audio DSP ckts

from R audio DSP ckts

MIC1PA 7

LINE_L_I_ NB 6

LINE_L_I_ PB 5

LINE_R_I_ NA 6

LINE_R_I_ PA 5

AUXINE 7

AUXIPD 7

MIC2NE 6

MIC2PD 6

MIC1NB 7

MICBIASE 5

EAR1 OPA 9

EAR1 ONB 8

HPH_RG 9

HPH_ VREFG 7

HPH_LH 9

AUX_ OUTG 8

LINE_OPB 8

LINE_ONA 8

CCOMPE 4

MSM7200A

MIC1

MIC2

AUX

Line left

Line right

Earphone

Stereo headphones

AUX

Line left

Line right

Mul t

i pl e

xer c

ircui

ts

Left channel

gain

Right channel gain

AD

CA

DC

Tx paths

Capless driver

Mul

t iple

xerc

i rcu i

ts

Rx paths

DA

CD

AC

to R audio DSP ckts

to L audio DSP ckts

from L audio DSP ckts

from R audio DSP ckts

MIC1PA

MSM7200A

MIC1

MIC2

AUX

Line left

Line right

Earphone

Stereo headphones

AUX

Line left

Line right

Mul t

i pl e

xer c

ircui

ts

Left channel

gain

Right channel

gain

AD

CA

DC

Tx paths

Capless driver

Mul

t iple

xerc

i rcu i

ts

Rx paths

DA

CD

AC

to R audio DSP ckts

to L audio DSP ckts

from L audio DSP ckts

from R audio DSP ckts

MIC1PA 7

LINE_L_I_ NB 6

LINE_L_I_ PB 5

LINE_R_I_ NA 6

LINE_R_I_ PA 5

AUXINE 7

AUXIPD 7

MIC2NE 6

MIC2PD 6

MIC1NB 7

MICBIASE 5

EAR1 OPA 9

EAR1 ONB 8

HPH_RG 9

HPH _VREFG 7

HPH_LH 9

AUX_ OUTG 8

LINE_OPB 8

LINE _ONA 8

CCOMPE 4

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 66: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 13180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Pin Connections (1 of 2)

analogIB6LINE_L_I_N

Left channel stereo function with three options

analogIB5LINE_L_I_P

analogIA6LINE_R_I_N

Options: 1) Line in; 2) Microphone; 3) Summing function to Rx

Right channel stereo function with three options

analogIA5LINE_R_I_P

Line inputs

Auxiliary differential negative (-) input

analogIE7AUXIN

Auxiliary differential positive (+) input

analogID7AUXIP

Auxiliary input

No decoupling capMicrophone bias supplyanalogBE5MICBIAS

Microphone #2 differential negative (-) input

analogIE6MIC2N

Microphone #2 differential positive (+) input

analogID6MIC2P

Microphone #1 differential negative (-) input

analogIB7MIC1N

Microphone #1 differential positive (+) input

analogIA7MIC1P

Microphone inputs

CommentsDescriptionVoltageI/OPin #Signal name

Page 13280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Pin Connections (2 of 2)

Earphone outputs

CommentsDescriptionVoltageI/OPin #Signal name

0.1 µF recommendedExternal decoupling cap for CODEC voltage reference

analogIE4CCOMP

Other audio-related pin

Negative (-) line (LINE_OUT_R) output or stereo right channel output

analogOA8LINE_ON

Positive (+) line (LINE_OUT_L) output or stereo left channel output

analogOB8LINE_OP

Line outputs

Single-endedAuxiliary output to carkit, PMIC, or external speaker

analogOG8AUX_OUT

Auxiliary output

Capless modeHeadphone common mode voltage

analogIG7HPH_VREF

Stereo headphone left output or positive (+) headphone out

analogOH9HPH_L

Stereo headphone right output or negative (-) headphone out

analogOG9HPH_R

Stereo headphone outputs

Earphone differential negative (-) output

analogOB8EAR1ON

Earphone differential positive (+) output

analogOA9EAR1OP

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 67: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 13380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Audio Summary

Mono/stereoRx CODEC DAC path

Internal gain: +25.5 to –6 dB, 1.5 dB stepsTx MIC_AMP2 gain

Internal gain: 0 dB or +24 dBTx MIC_AMP1 gain

+11.5 to –24.5 dB; 3 dB stepsAUX PGA path gain settings

Line out and AUX_OUTLine out and AUX_OUT

In standby and sleep modes via an interrupt

Headset switch detect (HSSD)

Cap-coupled and capless modesHPH driver

16 bitTx ADC max resolution

48 kHzRx max sampling rate

Mono/stereoTx CODEC ADC path

Five pairsTx differential inputs

MSM7200A ICItem

Page 13480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

PCM Interface

• Two PCM interface modes are supported:– Auxiliary PCM running at 128 kHz (default)– Primary PCM running at 2.048 MHz– API to call is snd_set_device. – Pins used for AUX_PCM can be used to interface with an external stereo DAC

(SDAC – details on next page).– Refer to Application Note: External PCM Interface (80-V7143-1) for more PCM

interface details and implementation.

• Auxiliary PCM– Communicates with an external codec. – 8-bit μ-law and 8-bit A-law codecs are supported.– Uses standard long-sync timing and a 128 kHz clock.

• Primary PCM– Supports 16-bit linear, 8-bit μ-law, and 8-bit A-law codecs.– 2.048 MHz PCM data and short sync timing– Can be configured and controlled two ways:

» Direct register access (CODEC_CTL register)» aDSP CODEC configuration commands (the preferred method)

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 68: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 13580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Interfacing with External Stereo DAC

• The MSM7200A pins used for AUX_PCM can also be used to interface with external stereo DAC (SDAC) to play stereo sound or music (MP3 or MIDI, for example).

– I2S used to transfer audio data for this interface. Currently can only be used as output mode to SDAC.

• The following pins are used:– SDAC_DOUT: Serial PCM data stream for both channels are output from

the MSM device through this pin.– SDAC_L_R_N: This signal specifies the present data stream’s intended

stereo channel.» Left channel = 1» Right channel = 0

– SDAC_CLK: Bit clock generated by the MSM7200A IC– SDAC_MCLK: An optional clock output from the MSM device to the external

stereo DAC

Page 13680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (1 of 7)

• Handset • AUX interface (carkit)

MSM7200A

MSM7200A

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 69: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 13780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (2 of 7)

• Headset – Mono single-ended – Stereo single-ended

MSM7200A

MSM7200A

Page 13880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (3 of 7)

– Mono differential – Stereo single-end capless

MSM7200A

MSM7200A

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 70: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 13980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (4 of 7)

– Headset switch detect (HSSD) – HSSD using capless driver

MSM7200A

MSM7200A

Note: MIC inputs must be in single-ended mode in order to enable HSSD.

Page 14080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (5 of 7)

• Line input to output audio

MSM7200A

Note: Analog audio signal can be routed to any output amplifiers (EAR1O, EAR20, HPH, AUXO); not limited to just HPH.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 71: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 14180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (6 of 7)

• Interface to external speaker amplifier (PM7540 IC)

Page 14280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

External Analog Interface (7 of 7)

• Interface to external speaker amplifier (PM7540 IC)– PM7540 input: Stereo single-ended/differential or mono differential

» Stereo single-ended inputs can be summed together and output in mono.

– PM7540 output: Stereo differential delivering 500 mW to each 8-ohm speaker

» Can also be configured as mono or dual mono sound.

– Interface recommendations» Set MSM digital gains and PMIC speaker analog gain appropriately to ensure

speaker amps do not saturate.» Set analog high-pass filter corner according to the resonant frequency of the

fair-field speaker transducer. » Corner can be changed by either changing capacitor or by using PM7540 IC’s

NEW variable input impedance feature. » For more information, see PM7540 Power Management IC User Guide

(80-VD691-3).

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 72: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 14380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Device InterfacesJTAG and ETM

Page 14480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A Debug and Test

• MSM7200A IC provides two debugging methods:– JTAG

– ETM

• Joint Test Action Group (JTAG)– Aids in board-level testing and debugging.

– The JTAG interface allow test instructions and data to be shifted into the MSM device, and the test results to be read out in a serial format.

• Embedded Trace Macrocell (ETM)– Enables tracing while running ARM processors at high speed.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 73: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 14580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

JTAG Debug and Test

• MSM7200A IC provides two separate JTAG ports (primary and auxiliary ports):

– The primary JTAG port is a dedicated port.– The auxiliary JTAG port is available through configurable GPIO pins.

• These JTAG pins communicate with the ARM9 and ARM11 cores, depending upon the mode setting.

– The JTAG mode is selected by setting the MODE[3:0] pins.

• MSM7200A JTAG features– Provides JTAG access to both ARM9 and ARM11 microprocessors.

» Using daisy-chained ARM9+ARM11 mode on the primary JTAG port» Using two separate JTAG ports with ARM9 on the primary and ARM11 on the auxiliary JTAG

port

• WDOG_EN can expire during JTAG operation.– Disable by grounding pin or through software.

• Refer to Application Note: JTAG Setup Procedure on MSM7500/MSM7200(80-V9038-13) for more information on how to use the JTAG interface with the MSM7200A device.

Page 14680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

JTAG Connectivity Modes

Reserved0101 to 1111

Boundary scan mode**0100

Reserved0011

Reserved0010

TLMM_INT_JTAG_CTL register specifies the internal version of the MODE pin value for the Primary JTAG port:

TLMM_INT_JTAG_CTL settings:

0000 : ARM9 only

0001 : ARM9+ARM11 daisy-chained

0010 : Reserved

0011 : Reserved

1001 : ARM9+ARM11+rtck daisy-chained

0001

Native, ARM9 on Primary JTAG, ARM11 on AUX JTAG0000

Phone mode and JTAG selectionMode pins [3:0]

The four mode pins are AA7, AB8, AD7, and AE7 (MSB to LSB).

* ARM9 must enable ARM11 through software to enable daisy-chain mode.

** Separate TAP controller is required for the MSM in boundary-scan mode.

Note: The modes listed above have not been fully tested.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 74: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 14780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

JTAG Pin Connections

Determines operating mode of the IC.

P3P3P3P3

IIII

AA7AB8AD7AE7

MODE3MODE2MODE1MODE0

Mode control pins

GPIO[101]Auxiliary JTAG return clockP2OY22AUX_RTCK

GPIO[100]Auxiliary JTAG data outputP2ZW21AUX_TDO

GPIO[99]Auxiliary JTAG data inputP2IW22AUX_TDI

GPIO[98]Auxiliary JTAG mode selP2IY24AUX_TMS

GPIO[103]Auxiliary JTAG clock inputP2IAA24AUX_TCK

GPIO[102]Auxiliary JTAG resetP2IY21AUX_TRST_N

Secondary interface – configurable GPIO pins

JTAG return clockP3OAE5RTCK

JTAG data outputP3ZAE6TDO

JTAG data inputP3IAB5TDI

JTAG mode selectP3IAD4TMS

JTAG clock inputP3IAD6TCK

JTAG resetP3IAC5TRST_N

Primary interface – dedicated pins

CommentsDescriptionVoltageI/OPin #Signal name

Page 14880-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Example JTAG Connection

AUX_ TCKGPIO[103]

AA24

W21

Y22 AUX_ RTCKGPIO[101]

AUX_ TDOGPIO[100]

AUX_TDIGPIO[99]

W22

Y21

Y24 AUX_ TMSGPIO[98]

AUX_ TRST_NGPIO[102]

TCKICD

RTCK

TDO

TDI

TMS

TRST_N

Adapter

Primary JTAG

TCKICD

RTCK

TDO

TDI

TMS

TRST_N

Secondary JTAG

AD6

AE6

AE5

AB5

AC5

AD4

TCK

RTCK

TDO

TDI

TMS

TRST_N

AA7

AD7

AB8

AE7

MODE3

MODE2

MODE1

MODE0

AC4WDOG_EN

GND

MSM7200A

AB18

AG27

PS_HOLDGPIO[25]

RESIN_N

VDD_P4

VDD_P4Mode controls

RESOUT_N

RESOUT_N

10 k

PON_RST

PMICPS_ HOLDliu

.hongm

ei2-zt

e.com

.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 75: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 14980-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

MSM7200A ETM Features

• MSM7200A is a dual-processor MSM device:– ARM9

– ARM11

• Separate ETM block for each processor:– ETM9

– ETM11

• ETM consists of two parts:– Trace port: This port broadcasts trace information (instruction or data trace).

– Triggering facilities: These control the ETM to filter and control trace operations.

• ETM architecture is different for ARM9 compared to ARM11.– ETM is designed to be connected directly to the ARM core it is tracing.

Page 15080-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM9 Architecture

• ETM9 architecture has trace port that includes four signals:– PIPESTAT (2:0): Pipeline status pins– TRACEPKT: Trace packet port (4/8/16 pins)– TRACESYNC: Trace packet synchronization pin– TRACECLK: Clock signal

ARM9 processor

ETM9

Pipeline status

generation

Trace packet capture

FIFO

Trigger logic

TRACECLK

PIPESTAT [2:0]

TRACEPKT[n-1:0]

TRACESYNC

n

3

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 76: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 15180-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM11 Architecture

• Major differences between ETM11 and ETM9 are:– ETM11 removes the PIPESTAT signals.

– ETM11 trace-port protocol enables the trace port and the core to run at different speeds.

– Trace data is collected on both clock edges.

ARM11 processor

ETM11

P-header generation

Trace packet

generation

FIFO

Trigger logic

TRACECLK

TRACEDATA[n-1:0]n

TRACECTL

Page 15280-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM9 Modes

• MSM7200A IC supports several different ETM9 configurations and modes.

• The configuration options supported by MSM7200A ETM9 include:– 16-bit normal mode: ETM pins are toggled at ARM9’s maximum

clock rate.» 21 pins are needed.» One trace port analyzer is needed.

– 8-bit deMUXed mode: This mode is used when at-speed core operation is required and 16-bit mode is not available due to I/O speed limitations.

» 25 pins are needed.» ARM9/ETM9 speed: 192 MHz» Pin speed: 192/2 MHz» Two trace port analyzers are needed.

– Both ETM9 modes listed above are still being verified for maximum supported clock rate.

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 77: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 15380-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

8-bit deMUXed ETM9 Mode

TRACEPKT[7:0] DEMUX_TPA1_TRACEPKT[7:0]

DEMUX_TPA2_TRACEPKT[7:0]

PIPESTAT[2:0] DEMUX_TPA1_PIPESTAT[2:0]

DEMUX_TPA2_PIPESTAT[2:0]

TRACESYNC DEMUX_TPA1_TRACESYNC

DEMUX_TPA2_TRACESYNC

DEMUX LOGIC

DEMUX LOGIC

DEMUX LOGIC

Signals @ ARM/ETM clock frequency

ETM

Signals @ half the ARM/ETM clock frequency

• This mode is used only when at-speed core operation is required and 16-bit mode is unavailable due to I/O speed limitations.

• Number of pins is doubled, so 8-bit trace is used instead of 16-bit trace.

• 25 pins are required.

• Requires two trace port analyzers.

Page 15480-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM Pin Connections

P3OAA19ETM_GPIO_IRQGPIO[28]

P3IAG18ETM_KEYSENSE_IRQGPIO[21]

P3IAE18ETM_GPIO_CS_NGPIO[24]

ETM9 trace sync … or …Dual port ETM trace clock

P3OAH26ETM9_TRACESYNCBDP_ETM_TRACECLK_BGPIO[82]

P3OAB17ETM9_PIPESTATB2GPIO[18]

P3OAD17ETM9_PIPESTATB1GPIO[17]

Reserved for demux mode; 133 MHz clock rate; 10 pF max load capacitor

P3OAA17ETM9_PIPESTATB0GPIO[16]

ETM9 only – pipestat2P3OAD19ETM9_PIPESTAT2GPIO[26]

ETM9 pipestat1 … or …ETM11 trace control

P3OAE19ETM9_PIPESTAT1ETM11_TRACECTLGPIO[27]

ETM9 pipestat0 … or …ETM11 trace data0

P3OAB20ETM9_PIPESTAT0ETM11_TRACEDATA0GPIO[29]

Trace sync in ETM9P3OAH20ETM9_TRACESYNCGPIO[31]

133 MHz clock rate; 10 pF max load capacitor

ETM trace clockP3OAB19ETM_TRACECLKGPIO[30]

133 MHz clock rate; 10 pF max load capacitor

16-bit ETM trace data; DATA[15] is the MSB, DATA[0] is the LSB.

P3OAE17ETM_TRACEDATA[15:0]

CommentsDescriptionVoltageI/OPin #Signal name liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 78: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 15580-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM GPIO Emulation

• During ETM mode, MSM7200A GPIO [16:42] and GPIO [82] are used for ETM signals.

• When these GPIO pins are used in ETM mode, the alternate functionality is lost.

• The displaced functionality behind the ETM pins that functionally used the GPIO is replicated off-chip by FPGAs.

• These GPIOs are emulated using the EBI2 memory-mapped interface.

Page 15680-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

ETM GPIO Emulation: Example

DB

-9top

Camera

(CDMA &

RF Card)

KEYPAD

Also Emulated F eatures

ETM keysenseinterrupt (GPIO 21)

LCD

GPIO2 output enable register

GPIO2 interrupt status register

GPIO2 interrupt mask register

GPIO2 interrupt clear register

GPIO2

outputs

ETM GPIO IRQSRC (GPIO 28)

GPIO2 Key Sense registerKey sense

GPIO2 Key Drive registerKey Drive

GPIO2

Inputs

EBI2

GPIO2 Core Block GPIO[42:16]

GPIO[38:42]

GPIO[37:31]

GPIO[29:27, 18:16]

GPIO[30:22, 17:16]

GPIO[21:19]

FPGAliu

.hongm

ei2-zt

e.com

.cn

2007

.03.26

at 01

:23:

37 P

DT

Page 79: QUALCOMM Confidential and Proprietary - pudn.comread.pudn.com/downloads161/sourcecode/windows/... · HSDPA 7.2 Mbps, HSUPA 5.76 Mbps, ... † QUALCOMM power management ICs such as

Page 15780-VE263-25 Rev. AMarch 2007

QUALCOMM Confidential and Proprietary

Questions?

Questions?

• Service requests:https://support.cdmatech.com

liu.h

ongmei2

-zte.c

om.cn

2007

.03.26

at 01

:23:

37 P

DT