mt6226/7 and mt6228 base band solution...

47
1 B MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee Ethan Lee Media Media Tek Tek 4 Jan. , 2006 4 Jan. , 2006

Upload: others

Post on 22-May-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

1

B

MT6226/7 and MT6228Base Band Solution Introduction

Ethan LeeEthan LeeMedia Media TekTek

4 Jan. , 20064 Jan. , 2006

Page 2: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

2

B

MT6226/7 Overview – Typical Application

RFMODULE

MT6227

SPEECH/AUDIOOUTPUT

SPEECH/AUDIOINPUT

KEYPAD

EXTERNAL MEMORYINTERFACE

FLASH

TCVCXOAFC

APCTX I/QRX I/Q

BPIBSI

ALERTER

SIMUSIM

SUPPLYVOLTAGES

JTAG

UARTIRDA

POWERMANAGEMENT

CIRCUITRY

SERIALLCD

SYSCLK

SERIALLCD

MMC/SD/MSMSPROUSB

B2PSI

AUXADC

1 2 34 5 67 8 9

* 0 #

IMAGESENSOR

HIFI STEREOOUTPUT

FM STEREORADIO INPUT

DEBUGGER

PWM

NANDFLASH LCD

18-BIT PARALLELINTERFACE

SRAMPSRAM

IMAGE INPUT

CHIP UID

AUDIODAC I2S

Page 3: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

3

BMT6226/7 Overview – Block Diagram

B S I

A R M 7 E J - S

D S P I N T E R R U P TC O N T R O L

M C U / D S PI N T E R F A C E

M E M O R YP A T C HU N I T

T R A PU N I T

D S P C O -P R O C E S

S O R

B O O TR O M

O N - C H I PS R A M

D M AC O N T R O L

E X T E R N A LM E M O R Y

I N T E R F A C E

I N T E R R U P TC O N T R O L

T D M AT I M E R

D A C A P C

D A C A F C

S I M G P I O

K E Y P A DS C A N

B P I

W D T

A D C A U XA D C

C L O C KG E N

M M CS D / M S

M S P R O

A U D I OP A T H

B A S E B A N DP A T H

A D C

U S B

A L E R T E R

M T 6 2 2 7

S E R I A L R FC O N T R O L

P A R A L L E LR F C O N T R O L

A P C

A D C

D A C

D A C

A D C

D A C

D A C

D A C

+

+

B R I D G E

D S P C O -P R O C E S

S O R

N A N DF L A S H

I N T E R F AC E

D S P C O -P R O C E S

S O R

A U XA D C

A F C

T X - Q

T X - I

R X - I

R X - Q

V O I C E

A U D I O - L

A U D I O - R

M I C - 0M I C - 1

S T E R E O - L

S T E R E O - R

S Y S T E MC L O C K

1 3 / 2 6 M H Z

3 2 K H Z C R Y S T A L

F L A S HS R A MP S R A M

W A K E U P U S E R I N T E R F A C ER E S E T

G P T

I M A G E R E S I Z E R

J P E GC O D E C

N A N DL C D

B 2 P S I I R D A

P W M S E R I A LL C DR T C

I 2 C

C O N N E C T I V I T YS E R I A L P O R T

G I FD E C O D E

M P E G - 4V I D E O

C O D E C

2 DE N G I N E

I M A G EP O S T

P R O C

G R A P H I C M E M O R YC O N T R O L L E R

I M A G ES I G N A LP R O C

I M A G ED M A

L C DC O N T R O L L E R

3 2 KO S C

I M A G ES E N S O R

U S B

U A R T

I M A G ES E N S O R

Page 4: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

4

B

MT6226/7 New Feature• ISP

– Capable of processing image of size up to 2M pixels (MT6227)– Capable of processing image of size up to VGA pixels (MT6226)– Capable of processing image of size up to 1.3M pixels (MT6226M)– Support 12MHz-based and 13MHz-based sensor clock– YUV422/RGB565 input data format– Sensor gamma compensation– Crosstalk compensation– Defect compensation– Lens shading compensation– Low light accumulation mode– Synchronous flash light control (GPIO6)– Enhanced Bayer interpolation

• JPEG encoder– Provide 4 quantization level for programmable compression quality

• Security engine– Secure key for code protection– Unique chip ID

Page 5: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

5

B

MT6226/7 New Feature• 18-bit LCM/NAND FLASH interface

– Support 8/9/16/18-bit LCM interface– Support 8/16-bit NAND FLASH interface– NFI supports 2 chip-select for dual-die device

• LCM controller– Support gamma correction

• Internal memory– Total 284KB internal RAM

• MSDC– Support SDIO for WiFi application

• BSI– Support 4-wire interface for RF calibration

• Audio– Support FM recording– Support EDI (I2S)– Support aacPlus decode– Supports AMR codec to adaptively optimize speech and audio quality. – HE-AAC codec is implemented to deliver CD-quality audio at low bit rates.

Page 6: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

6

BMT6227 Power and GPIO

Page 7: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

7

B

MT6227 Package

Page 8: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

8

B

MT6226/7 Overview – Platform Features• General • Integrated voice-band, audio-band and base-band analog front ends• TFBGA 13mm×13mm, 296-ball, 0.65 mm pitch package

• MCU Subsystem • ARM7EJ-S 32-bit RISC processor• High performance multi-layer AMBA bus• Java hardware acceleration for fast Java-based games and applets• Operating frequency: 26/52 MHz• Dedicated DMA bus• 14 DMA channels• 284K Bytes zero-wait-state on-chip SRAM• On-chip boot ROM for Factory Flash Programming• Watchdog timer for system crash recovery• 2 sets of General Purpose Timer• Circuit Switch Data coprocessor• Division coprocessor

Page 9: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

9

BMT6226/7 Overview – Platform Features• External Memory Interface • Supports up to 8 external devices• Supports 8-bit or 16-bit memory components with maximum size of up to 64M Bytes each• Supports Flash and SRAM with Page Mode or Burst Mode• Supports Pseudo SRAM• Industry standard Parallel LCD Interface• Supports multi-media companion chips with 8/16 bits data width• Flexible I/O voltage of 1.8V ~ 2.8V for memory interface• Configurable driving strength for memory interface

• User Interfaces• 6-row × 7-column keypad controller with hardware scanner• Supports multiple key presses for gaming• SIM/USIM Controller with hardware T=0/T=1 protocol control• 3 UARTs with hardware flow control and speed up to 921600 bps• IrDA modulator/demodulator with hardware framer supports SIR mode of operation• Real Time Clock (RTC) operating with a separate power supply• General Purpose I/Os (GPIOs)• 2 Sets of Pulse Width Modulation (PWM) Output• Alerter Output with Enhanced PWM or PDM• 4~10 external interrupt lines (EINT0~7)

Page 10: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

10

BMT6226/7 Overview – Platform Features

• Connectivity• Full-speed USB 1.1 Device controller• Multi Media Card/Secure Digital Memory Card/Memory Stick/Memory Stick Pro host

controller

• Security• Supports security key for code protection• 56-bit unique/secret chip ID

• Power Management• Power Down Mode for analog and digital circuits• Processor Sleep Mode • Pause Mode of 32KHz clocking at Standby State• 7-channel Auxiliary 10-bit A/D Converter for charger and battery monitoring and photo

sensing

• Test and Debug• Built-in digital and analog loop back modes for both Audio and Baseband Front-End• DAI port complying with GSM Rec.11.10• JTAG port for debugging embedded MCU

Page 11: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

11

B

MT6226/7 Overview – MODEM Features• Radio Interface and Baseband Front End• GMSK modulator with analog I and Q channel outputs• 10-bit D/A Converter for uplink baseband I and Q signals• 14-bit high resolution A/D Converter for downlink baseband I and Q signals• Calibration mechanism of offset and gain mismatch for baseband A/D Converter and D/A

Converter • 10-bit D/A Converter for Automatic Power Control• 13-bit high resolution D/A Converter for Automatic Frequency Control• Programmable Radio RX filter• 2 Channels bi-directional Baseband Serial Interface (BSI) with 3-wire or 4-wire control• 10-Pin Baseband Parallel Interface (BPI) with programmable driving strength• Multi-band support

Page 12: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

12

B

MT6226/7 Overview – MODEM Features• Voice and Modem CODEC• Dial tone generation• Voice Memo• Noise Reduction• Echo Suppression / Echo Cancellation• Advanced Sidetone Oscillation Reduction• Digital sidetone generator with programmable gain• Two programmable acoustic compensation filters• GSM/GPRS quad vocoders for adaptive multirate (AMR), enhanced full rate (EFR), full

rate (FR) and half rate (HR)• FR error concealment• GSM channel coding, equalization and A5/1 and A5/2 ciphering• GPRS GEA1 and GEA2 ciphering• Programmable GSM/GPRS Modem• Packet Switched Data with CS1/CS2/CS3/CS4 coding schemes• GSM Circuit Switch Data• GPRS Class 12

Page 13: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

13

B

MT6226/7 Overview – MODEM Features• Voice Interface and Voice Front End• Two microphone inputs sharing one low noise amplifier with programmable gain and

automatic gain control (AGC) mechanism• Voice power amplifier with programmable gain• 2nd order Sigma-Delta A/D Converter for voice uplink path• D/A Converter for voice downlink path• Supports half-duplex hands-free operation• Compliant with GSM 03.50

Page 14: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

14

B

MT6226/7 Overview – Multi-Media Features• LCD/NAND Flash Interface• 18-bit Parallel Interface supports 8/16 bit NAND flash and 8/9/16/18 bit Parallel LCD

– 8 bit: NLD0~NLD7– 9 bit: NLD0~NLD8– 16 bit: NLD0~NLD15– 18 bit: NLD0~NLD17

• 8/16 bit NAND Flash Controller with 1-bit ECC correction for mass storages• 2 Chip selects available for high-density NAND flash device• Serial LCD Interface with 8/9 bit format support

• LCD Controller• Hardware accelerated display• Supports simultaneous connection to up to 2 parallel LCD and 1 serial LCD modules• Supports format: RGB332, RGB444, RGB565, RGB666, RGB888• Supports LCD panel maximum resolution up to 800x600 at 16bpp• Supports hardware display rotation• Capable of combining display memories with up to 4 blending layers• Accelerated Gamma correction with programmable gamma table.

Page 15: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

15

B

MT6226/7 Overview – Multi-Media Features• Image Signal Processor• 8/10 bit Bayer format image input• YUV422 format image input• Capable of processing image of size up to 2M pixels. (MT6227)• Capable of processing image of size up to VGA pixels. (MT6226)• Capable of processing image of size up to 1.3M pixels (MT6226M)• Lens shading compensation• Defect pixel correction• Synchronous flash light control• Optical black correction• Color Correction Matrix• Gamma Correction• Automatic Exposure Control• Automatic focus control• Automatic White Balance Control• Edge Enhancement Support• Flexible I/O voltage of 1.8V ~ 2.8V

Page 16: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

16

B

MT6226/7 Overview – Multi-Media Features• JPEG Decoder• ISO/IEC 10918-1 JPEG Baseline and Progressive modes• Supports all possible YUV formats, including grayscale format• Supports all DC/AC Huffman table parsing • Supports all quantization table parsing• Supports restart interval• Supports SOS, DHT, DQT and DRI marker parsing • IEEE Std 1180-1990 IDCT Standard Compliant• Supports progressive image processing to minimize storage space requirement• Supports reload-able DMA for VLD stream

• JPEG Encoder• ISO/IEC 10918-1 JPEG baseline mode• ISO/IEC 10918-2 Compliance• Supports YUV422 and grayscale formats• Standard DC and AC Huffman tables• Provides 14 levels of encode quality

Page 17: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

17

BMT6226/7 Overview – Multi-Media Features• Image Data Processing• High throughput hardware scalar capable of tailoring image to arbitrary size• Horizontal scaling in averaging method• Vertical scaling in bilinear method• Simultaneous scaling for MPEG-4 encode and LCD display• YUV and RGB color space conversion• Pixel format transform• Boundary padding• Accelerated Pixel-based luminance/chrominance processing: hue/saturation/intensity/color

adjustment, Gamma correction and grayscale/invert/sepia-tone effects• Accelerated Programmable Spatial Filtering : Linear filter, Non-linear filter and Multi-pass

artistic effects• Hardware accelerated image editing• 2D Accelerator• Rectangle fill• BitBlt: multi-BitBlt without transform, 7 rotate, mirror (transparent) BitBlt• Alpha blending• Line drawing: normal line, dotted line• Font caching: normal font, Italic font• Supports 16-bpp RGB565 and 8-bpp index color modes with one color palette inside• Command queue with 32 levels

Page 18: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

18

B

MT6226/7 Overview – Multi-Media Features• MPEG-4/H.263 CODEC• Hardware Video CODEC• ISO/IEC 14496-2 simple profile:• decode @ level 0/1/2/3• encode @ level 0• Supported visual tools for decoder: I-VOP, P-VOP, AC/DC prediction, 4-MV, Unrestricted

MV, Error Resilience, Short Header• Error Resilience for decoder: Slice Resynchronization, Data Partitioning, Reversible VLC• Supported visual tools for encoder: I-VOP, P-VOP, Half-pel, DC prediction, Unrestricted

MV, Reversible VLC, Short Header• Supports encoding motion vector of range up to –64/+63.5 pixels• ITU-T H.263 profile 0 @ level 10• AAC/HE-AAC/AMR audio decode support• AMR audio encode support

Page 19: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

19

BMT6226/7 Overview – Multi-Media Features

• Audio CODEC• Wavetable synthesis with up to 64 tones• Advanced wavetable synthesizer capable of generating simulated stereo• Wavetable including GM full set of 128 instruments and 47 sets of percussions• PCM Playback and Record• Digital Audio Playback• High resolution D/A Converters for Stereo Audio playback• Stereo analog input for stereo audio source• Analog mixers for Stereo Audio• HE-AAC decode support

• Audio Interface and Audio Front End• Supports I2S interface• High resolution D/A Converters for Stereo Audio playback• Stereo analog input for stereo audio source• Analog multiplexer for Stereo Audio• Stereo to Mono Conversion• FM radio recording

Page 20: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

20

B

PIN MT6227 MT6219 Need Modified Portion from MT6219 change to MT6227A3 NC VSS33 N/A

C13 AU_M_BYPR AU_OUT1_PMT6227->NC, don't add capacitro, or it will generate pop noise(*No audio channel 1 in MT6227)

D4 NC VDD33 N/AD5 PLL_OUT VSS33 MT6227->NC ; MT6219-> GNDD13 AU_RBIAS AU_OUT1_N Add 51K OHM (1%) to GND. (*No audio channel 1 in MT6227)D15 NC ESDM_CK N/AE6 NC VDD33 N/AE7 NC VSS33 N/AE11 VCORE VDD33 MT6227->Vcore ; MT6219-> VDDE13 NC VDD33 N/AF6 NLD17 MPLL_OUT N/AF7 NC DPLL_OUT N/AG6 NLD16 UPLL_OUT N/AM15 VDD33_MC NC Connect to VDDR11 EWAIT NC N/AJ9 NLD8 N/A Must add ball in MT6227 footprintJ10 NLD9 N/A Must add ball in MT6227 footprintJ11 NLD10 N/A Must add ball in MT6227 footprintK9 NLD11 N/A Must add ball in MT6227 footprintK11 NLD12 N/A Must add ball in MT6227 footprintL9 NLD13 N/A Must add ball in MT6227 footprintL10 NLD14 N/A Must add ball in MT6227 footprintL11 NLD15 N/A Must add ball in MT6227 footprintM16 MCWP MCPWRON MT6227->MCWP ; MT6219->MCPWRONM17 MCINS MCWP MT6227->MCINS ; MT6219->MCWPM18 MCCK MCINS MT6227->MCCK ; MT6219->MCINSN19 MCPWRON MCCK MT6227->MCPWRON ; MT6219->MCCKE15 VDD33_IS VDD33

MT6227 : VOCRE is 1.8V, VRTC is 1.5VMT6219 : VCORE is 1.2V, VRTC is 1.2V

MT6226/7 Compare to MT6219 (1/2)

Page 21: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

21

BMT6226/7 Compare to MT6219 (2/2)

Page 22: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

22

B

MT6226/7 Reference Design

R449 NCMT6227: R449 NCMT6219: R449 0OHM

U402

PMIC

323331

1312

4544

42363534

1

65

2

27

2324

719264730291721283740

4820

34

91011

141516

2518822

43

413938

46

49

PWRKEYPWRBBSRCLKEN

SIMSELSIMVCC

VmSELVaSEL

BATUSELEDENALERTERENVIBRATOREN

CHRIN

CHRDETCHRCNTL

GATEDRV

Va

RSTCAP/RESET

VBATSNSVBAT

AVBATVBATVREF

NC/BPDGNDDGNDAGNDPGNDPGND

VcoreVio

NC/DANODEISENSE/NC

SIMIOSIMRSTSIMCLK

SIOSRSTSCLK

VtcxoVm

VSIMVrtc

BATDET

LEDALERTER

VIBRATOR

DGND

Bod

y_G

ND

GPIO6_CMFLASH_EN1

For MT6226/7, PMIC PIN 3 connects to VBAT (pull high is better than floating)

Flash Light control pin: its timing sync with the camera capture

Page 23: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

23

BMT6228 Overview – Typical Application

Page 24: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

24

BMT6228 Overview – Block Diagram

Page 25: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

25

BMT6228 Overview – Platform Features• General • Integrated voice-band, audio-band and base-band analog front ends• TFBGA 13mm×13mm, 314-ball, 0.65 mm pitch package• MCU Subsystem • ARM7EJ-S 32-bit RISC processor• High performance multi-layer AMBA bus• Java hardware acceleration for fast Java-based games and applets• Operating frequency: 26/52/104 MHz• Dedicated DMA bus• 14 DMA channels• 1M bits zero-wait-state on-chip SRAM• 1M bits MCU dedicated Tightly Coupled memory (TCM) – High Performance• 256K bits CODE cache – High Performance• 64K bits DATA cache – High Performance• On-chip boot ROM for Factory Flash Programming• Watchdog timer for system crash recovery• 3 sets of General Purpose Timer• Circuit Switch Data coprocessor• Division coprocessor• PPP Framer coprocessor

Page 26: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

26

BMT6228 Overview – Platform Features• External Memory Interface • Supports up to 4 external devices• Supports 8-bit or 16-bit memory components with maximum size of up to 64M Bytes each• Support Mobile RAM and Cellular RAM• Supports Flash and SRAM with Page Mode or Burst Mode• Supports Pseudo SRAM• Industry standard Parallel LCD Interface• Supports multi-media companion chips with 8/16 bits data width• Flexible I/O voltage of 1.8V ~ 2.8V for memory interface• Configurable driving strength for memory interface• User Interfaces• 6-row × 7-column keypad controller with hardware scanner• Supports multiple key presses for gaming• SIM/USIM Controller with hardware T=0/T=1 protocol control• Real Time Clock (RTC) operating with a separate power supply• General Purpose I/Os (GPIOs)• 2 Sets of Pulse Width Modulation (PWM) Output• Alerter Output with Enhanced PWM or PDM• 8 external interrupt lines (EINT0~3)

Page 27: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

27

BMT6228 Overview – Platform Features• Connectivity• 3 UARTs with hardware flow control and speed up to 921600 bps• IrDA modulator/demodulator with hardware framer supports SIR/MIR/FIR operating speeds

– SIR: 9600~115200bps; MIR: 567000~1152000bps; FIR: 4Mbps• Full-speed USB 1.1.• Multi Media Card/Secure Digital Memory Card/Memory Stick/Memory Stick Pro host controller• Support SDIO interface for SDIO peripherals as well as WIFI connectivity• DAI/PCM and I2S interface for Audio application• Security• Cipher: support AES, DES/3DES• Hash: support MD5, SHA-1• Support security key and 27 bit chip unique ID• Power Management• Power Down Mode for analog and digital circuits• Processor Sleep Mode • Pause Mode of 32KHz clocking at Standby State• 7-channel Auxiliary 10-bit A/D Converter for charger and battery monitoring and photo sensing• Test and Debug• Built-in digital and analog loop back modes for both Audio and Baseband Front-End• DAI port complying with GSM Rec.11.10• JTAG port for debugging embedded MCU

Page 28: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

28

BMT6228 Overview – MODEM Features• Radio Interface and Baseband Front End• GMSK modulator with analog I and Q channel outputs• 10-bit D/A Converter for uplink baseband I and Q signals• 14-bit high resolution A/D Converter for downlink baseband I and Q signals• Calibration mechanism of offset and gain mismatch for baseband A/D Converter and D/A

Converter • 10-bit D/A Converter for Automatic Power Control• 13-bit high resolution D/A Converter for Automatic Frequency Control• Programmable Radio RX filter• 2 Channels bi-directional Baseband Serial Interface (BSI) with 3-wire or 4-wire control• 10-Pin Baseband Parallel Interface (BPI) with programmable driving strength• Multi-band support

Page 29: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

29

BMT6228 Overview – MODEM Features• Voice and Modem CODEC• Dial tone generation• Voice Memo• Noise Reduction• Echo Suppression / Echo Cancellation• Advanced Sidetone Oscillation Reduction• Digital sidetone generator with programmable gain• Two programmable acoustic compensation filters• GSM/GPRS quad vocoders for adaptive multirate (AMR), enhanced full rate (EFR), full

rate (FR) and half rate (HR)• GSM channel coding, equalization and A5/1 and A5/2 ciphering• GPRS GEA1 and GEA2 ciphering• Programmable GSM/GPRS Modem• Packet Switched Data with CS1/CS2/CS3/CS4 coding schemes• GSM Circuit Switch Data• GPRS Class 12

Page 30: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

30

B

MT6228 Overview – MODEM Features• Voice Interface and Voice Front End• Two microphone inputs sharing one low noise amplifier with programmable gain and

automatic gain control (AGC) mechanism• Voice power amplifier with programmable gain• 2nd order Sigma-Delta A/D Converter for voice uplink path• D/A Converter for voice downlink path• Supports half-duplex hands-free operation• Compliant with GSM 03.50

Page 31: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

31

B

MT6228 Overview – Multi-Media Features• LCD/NAND Flash Interface• Dedicated Parallel Interface supports 3 external devices with 8/16 bit NAND flash

interface, 8/9/16/18 bit Parallel interface, and Serial interface for LCM• Built-in NAND Flash Controller with 1-bit ECC correction for mass storages

• LCD Controller• Hardware accelerated display• Supports simultaneous connection to up to 3 parallel LCD and 2 serial LCD modules• Supports LCD format: RGB332, RGB444, RGB565, RGB666, RGB888• Supports LCD module with maximum resolution up to 800x600 at 24bpp• Per pixel alpha channel• True color engine• Supports hardware display rotation• Capable of combining display memories with up to 6 blending layers• Accelerated Gamma correction with programmable gamma table.

Page 32: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

32

B

MT6228 Overview – Multi-Media Features• Image Signal Processor• 8/10 bit Bayer format image input• Capable of processing image of size up to 3M pixels• Color Correction Matrix• Gamma Correction• Automatic Exposure (AE) Control• Automatic White Balance (AWB) Control• Programmable AE/AWB windows• Edge Enhancement Support• Histogram equalization logic• Horizontal and vertical sync information on separate pins• Shading compensation• Defect Pixel compensation

• Graphic Compression• GIF Decoder• PNG Decoder

Page 33: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

33

BMT6228 Overview – Multi-Media Features

• JPEG Decoder• ISO/IEC 10918-1 JPEG Baseline and Progressive modes• Supports all possible YUV formats, including grayscale format• Supports all DC/AC Huffman table parsing • Supports all quantization table parsing• Supports restart interval• Supports SOS, DHT, DQT and DRI marker parsing • IEEE Std 1180-1990 IDCT Standard Compliant• Supports progressive image processing to minimize storage space requirement• Supports reload-able DMA for VLD stream

• JPEG Encoder• ISO/IEC 10918-1 JPEG baseline mode• ISO/IEC 10918-2 Compliance• Supports YUV422 and YUV420 grayscale formats• Support JFIF (JPEG File Inter exchange Format)• Standard DC and AC Huffman tables• Provides 14 levels of encode quality• Support continuous shooting

Page 34: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

34

B

MT6228 Overview – Multi-Media Features• Image Data Processing• Support Digital Zoom• Supports RGB888/565, YUV444 image processing• High throughput hardware scalar. Capable of tailoring an image to an arbitrary size• Horizontal scaling in averaging method• Vertical scaling in bilinear method• Simultaneous scaling for MPEG-4 encode and LCD display• YUV and RGB color space conversion• Pixel format transform• Boundary padding• Pixel processing: hue/saturation/intensity/color adjustment, Gamma correction and

grayscale/invert/sepia-tone effects• Programmable Spatial Filtering: Linear filter, Non-linear filter and Multi-pass artistic

effects• Hardware accelerated image editing• Photo frame capability• RGB thumbnail data output

Page 35: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

35

BMT6228 Overview – Multi-Media Features

• MPEG-4/H.263 CODEC• Hardware Video CODEC• ISO/IEC 14496-2 simple profile:• decode @ level 0/1/2/3• encode @ level 0• Supported visual tools for decoder: I-VOP, P-VOP, AC/DC prediction, 4-MV, Unrestricted

MV, Error Resilience, Short Header• Error Resilience for decoder: Slice Resynchronization, Data Partitioning, Reversible VLC• Supported visual tools for encoder: I-VOP, P-VOP, Half-pel, DC prediction, Unrestricted

MV, Reversible VLC, Short Header• Supports encoding motion vector of range up to –64/+63.5 pixels• ITU-T H.263 profile 0 @ level 10• Max decode speed is VGA@15fps• Max encode speed is CIF@15fps• Support VGA mode encoding• Horizontal and vertical de-blocking filter in video playback• Encoder resync marker and HEC• AAC/HE-AAC/AMR/WB-AMR audio decode support• AMR/WB-AMR audio encode support

Page 36: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

36

B

MT6228 Overview – Multi-Media Features• TV-OUT• Support NTSC/PAL formats (interlaced mode)• 10 bit video DAC with 2x over-sampling• Supports one composite video output

• 2D Accelerator• Support 32-bpp ARGB8888, 24-bpp RGB888, 16-bpp RGB565, and 8-bpp index color

modes• Support SVG Tiny• Rectangle gradient fill• BitBlt: multi-BitBlt with 7 rotate, 16 binary ROP• Alpha blending with 7 rotation• Line drawing: normal line, dotted line, anti-aliasing• Circle drawing• Bezier curve drawing• Triangle flat fill• Font caching: normal font, Italic font• Command queue with max depth 2047

Page 37: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

37

B

MT6228 Overview – Multi-Media Features• Audio CODEC• Wavetable synthesis with up to 64 tones• Advanced wavetable synthesizer capable of generating simulated stereo• Wavetable including GM full set of 128 instruments and 47 sets of percussions• PCM Playback and Record• Digital Audio Playback• Support HE-AAC codec decode• Support AAC codec decode

• Audio Interface and Audio Front End• Supports I2S interface• High resolution D/A Converters for Stereo Audio playback• Stereo analog input for stereo audio source• Analog multiplexer for Stereo Audio• Stereo to Mono Conversion

Page 38: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

38

BMT6228 Reference Design

47PC215

L2001.8uH

75 (1%)R216

TVOUT

TV OUT VIEDO I/FCVBS1

47PC216

C217100n

2005/8/28

HS_MIC1

0

U208

NC7SB3157

1

2

3 4

5

6B1

GND

B0 A

VCC

S

CVBS1

T220VCE

12

..

ADC5_ACC

XMICP

IO25_HS_TV

R217 10K

TP200

AVDD

IO25_HS_TVH: HeadsetL: TV out

ES

D21

8

12

12

XMP3_L

R225 1K

L20122uH (0805)

URXD1

EINT0_ACC_DETUTXD1

XMP3_RXMICP

R210 1KR211 1K

FM_ANT

IO200

SIO8

12345678

9 10 11 12

12345678

9 10 11 12

For TVOUT voltage detection

Page 39: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

39

B

MT6228 Reference Design

2005/12/05

IO8_FLASH_EN

TP303

C314

4.7u (0805 X5R 6.3V)

C315

4.7u (10V K 0805 X5R)

100KR315

C313

1u (6.3V K 0603 X5R)VBAT

Flash Light

IO0_CMFLASH

TP304

R3066.8 (0805)

U303 LM2753

1

2

3

4 7

8

9

10

5 6

11

C1+

VIN

C1-

FLASH GND

IOUT

VOUT

GND

GND EN

GN

D

R303

47WHITE

D3001 4

2 3

Step 1:Turn on Flash driver when preview

Step 2:Turn on Flash driver when capture

Page 40: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

40

B

MT6228 Reference Design

ECKE

ED8

VMEM_1.8

VMEM_1.8

EA9

/ERAS

ECLK

EA7

/EWR

EA10

EA[1..15]

ED13

/EUB

ED15

2005/12/05

EA1

R400

0

123

EA3

ED1

ED12

/ELB

EA11

VMEM_1.8

ED0

EA[1..15]

EA8

ED4

EA6

ED6

ED14

ED7

EA2

ED2

EA14

ED5

ED3

ED10

ED[0..15]

EA4

ED9

/ECAS

EA13

EA5

ED11

EA15

/ECS0_SDRAM

EA12

U401

HYB18L256160BF-7.5 Infineon

F2F3G9F8F7F9G8G7F1E8E2

A7B3C7D3A9E7J9

A1E3J1A3B7C3D7

H7H8J8J7J3J2H3H2H1G3H9G2G1

A8B9B8C9C8D9D8E9E1D2D1C2C1B2B1A2

CLKCKECS#

RAS#CAS#WE#BA1BA0

UDQMLDQM

NC

VDDQVDDQVDDQVDDQVDDVDDVDD

VSSVSSVSSVSSQVSSQVSSQVSSQ

A0A1A2A3A4A5A6A7A8A9A10/APA11A12

DQ0DQ1DQ2DQ3DQ4DQ5DQ6DQ7DQ8DQ9

DQ10DQ11DQ12DQ13DQ14DQ15

EDCLK

C404

4.7u (0805 X5R 6.3V)

• SDRAM

Page 41: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

41

B

MT6228 Reference Design

R530

0

123 VDD

U501

PMIC (MT6305B) (MTK)

323331

1312

4544

42363534

1

65

2

27

2324

719264730291721283740

4820

34

91011

141516

2518822

43

413938

46

49

PWRKEYPWRBBSRCLKEN

SIMSELSIMVCC

VmSELVaSEL

BATUSELEDENALERTERENVIBRATOREN

CHRIN

CHRDETCHRCNTL

GATEDRV

Va

RSTCAP/RESET

VBATSNSVBAT

AVBATVBAT

NC(B)VREF(B)

DGNDDGNDAGNDPGNDPGND

VcoreVio

VD_VRTC_SELISENSE/NC

SIMIOSIMRSTSIMCLK

SIOSRSTSCLK

VtcxoVm

VSIMVrtc

BATDET

LEDALERTER

VIBRATOR

DGND

GN

D

VmSEL pin connect to GND SDRAM power 1.8V

MT6228 VCORE and VRTC are 1.2VPMIC pin3 (VD_VRTC_SEL) Low

Page 42: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

42

B

Thank You!

Page 43: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

43

BMT6228 Micro-Controller Unit Subsystem

• All processor transactions go to code cache first.• If the requested content is found in TCM or in cache, no bus transaction is required• If the code cache hit rate is high enough, bus traffic and MCU can be effectively.

Page 44: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

44

B

MT6228 Boot Sequence

• Memory Re-mapping Mechanism• NAND Booting sequence

Page 45: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

45

B

MT6228 TVOUT• Support NTSC/PAL interlaced TV format.• It includes two components: a TV controller and a TV encoder.

TV controller:1. Fetch the TV frame buffer.

• In video playback mode: the source is from the video codec buffer in YUV420 format.• In image playback mode: the source is in RGB565 format. Still images can be displayed.

2. Scale the frame size to fit the TV size.• In NTSC mode, the ideal display area is 720(W)x480(H). Field update rate is 59.94 frames

per second (fps).• In PAL mode, the idea display area is 720(W)x576(H). Field update rate is 50 fps.• The controller support an arbitrary image size up to 640 pixels in height and 480 pixels in

width.

TV encoder:• It receives a YCbCr stream from the video scaler and encodes the stream into NTSC/PAL

signal.

Page 46: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

46

B

MT6228 TVOUT

Page 47: MT6226/7 and MT6228 Base Band Solution Introductionread.pudn.com/downloads74/sourcecode/others/267388/MT6226-7-… · MT6226/7 and MT6228 Base Band Solution Introduction Ethan Lee

47

BMT6228 DAI, PCM and EDI Pin Sharing

• Beside the shared pins, the EDI interface can also use other dedicated pins. With the dedicated pin (GPIO4,5,6), PCM and EDI interfaced can operate at the same time.