June 2011

advertisement
TM
June 2011
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
•
QorIQ P1022 Multimedia Components
QorIQ P1022 Display Controller (DIU)
ƒ
Display concepts
ƒ
DIU overview
ƒ
DIU connectivity options
ƒ
Modes of operation
QorIQ P1022 Audio (SSI)
ƒ
Digital audio basic
ƒ
SSI overview
ƒ
SSI operating modes
Freescale on Facebook
Tag yourself in photos
and upload your own!
TM
2
Tweeting?
Please use hashtag
#FTF2011
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
SATA
DIU
PCIe
eSDHC
eTSEC
TM
QorIQ
P1022
SSI
DDR
Controller
4
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
Frame
− Frame
is one of the many still
images which compose the complete
moving picture
•
Refresh rate
Frame 4
Frame 3
Frame 2
Frame 1
− Frequency
at which a display device
can update images
•
Time
Vertical Sync
− Frame
rate equal to refresh rate
Horizontal Scanning
Vertical Scanning
TM
6
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Horizontal sync
–
•
Alpha blending
–
•
Odd and Even lines drawn independently
Progressive scan
–
•
Correcting the non-linear relationship of Intensity to applied voltage
Interlaced scan
–
•
Blending foreground with a background
Gamma correction
–
•
Syncing drawn scan line output to one horizontal display line
Lines drawn sequentially
De-interlacing
–
Converting interlaced video stream to progressive scan
TM
7
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
PW_V
(Ver. Front Porch)
PW_H
(Hor Pulse Width)
FP_H
(Hor. Front Porch)
BP_H
(Hor. Back Porch
TM
DISPLAY_Y
FP_V
(Ver. Front Porch)
BP_V
DISPLAY_X
DISPLAY
8
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
9
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
− Supports
any resolution up to 1280x1024 (single plane)
− 3-plane with N-plane writeback iterative blending
− Alpha blending range up to 256 levels
− Hardware cursor of a 32x32 pixels, 16bpp
− Chroma key: Selectable by range
− Flexible pixel input format conversion to αRGB 8:8:8:8 and 8-bit
palette
− Gamma color correction and 24-bit RGB display output
− 24 bits/pixel RGB and 256-level grayscale input pixel format
− Parallel TTL Display Interfaces
− Interrupt on VSYNC or lines before VSYNC
TM
11
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
Display controller is designed to manage display
Real-time blending of up to three planes onto the display
Palette
LUT
Input/
Ouput
Buffer
Format
Converter
Cursor
Bitmap
Blend/
Chroma
key
Gamma
Table
Gamma
Correction
Output
Buffer
-------------timing
generator
Display
Write back
TM
12
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
SoC PCI Express® to GPU interface
External
GPU
PCIe
SoC
Display
DRAM
•
QorIQ P1022 LVDS interface
DRAM
•
P1022
Long Run
LVDS
LVDS
Cable
Display
QorIQ P1022 TMDS interface
DRAM
P1022
TM
DVI
13
Display
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
14
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
15
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
DDR
Display
DIU
e500
Core
32kB
DCache
32kB
I-Cache
e500
Core
256KB
L2
32kB
I-Cache
DDR2/DDR3
Controller
32kB
DCache
Coherency Module
System
System
BusBus
TM
16
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
Mode 0: No Output
Video and/or graphic planes
Graphics
(CPU or GPU)
Display
Interface
Unit
(DIU)
Plane 1
Plane 2
Plane 3
No Output
Graphics
Memory
TM
18
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Mode 1: All Planes Output to Display Panel
Video and/or graphic planes
Graphics
(CPU or GPU)
Display
Interface
Unit
(DIU)
Plane 1
Plane 2
Plane 3
Plane 1
Plane 2
Plane 3
Graphics
Memory
TM
19
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Mode 2: Only Plane 1 Output to Display Panel
Video and/or graphic planes
Graphics
(CPU or GPU)
Display
Interface
Unit
(DIU)
Plane 1
Plane 2
Plane 3
Plane 2
Plane 3
Graphics
Plane 1
Memory
TM
20
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Mode 3: Output All Planes to Memory
Video and/or graphic planes
Graphics
(CPU or GPU)
Display
Interface
Unit
(DIU)
Plane 1
Plane 2
Plane 3
Plane 1
Plane 2
Plane 3
Graphics
Memory
TM
21
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Mode 4: Output Colorbar
Video and/or graphic planes
Graphics
(CPU or GPU)
Display
Interface
Unit
(DIU)
Plane 1
Plane 2
Plane 3
Graphics
Memory
TM
22
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
3-plane blend
−
•
All planes fetched and blended at refresh rate and sent to display
N-plane blend
Plane 1 is fetched at refresh rates and sent to display
− Iterative blends of planes 2 and 3 used to construct future plane 1 to be displayed
−
Video and/or graphic planes
Plane 1
Plane 2
Plane 3
Memory
TM
23
3-Plane Blend
or Plane 1
plane 2/3 blend (option)
Graphics
(CPU or GPU)
Display
Interface
Unit
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
An area descriptor defines the specific region on a plane
that will be displayed on the LCD panel.
− Area
Descriptors Specify:
ƒ
Pixel Format
ƒ
Bitmap Source Size
ƒ
Area of Interest (AOI) Size
ƒ
Bitmap Source Location
ƒ
Byte Flip
ƒ
AOI Image Flip
ƒ
Chroma Key
ƒ
Next Area Descriptor
TM
yi
xi
Area of Interest
(AOI)
Δyi
Δys
Δxi
Δxs
24
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
•
•
•
•
Area descriptors (AD)
defines areas of interest
(AOI) on a plane
Each AOI has its own
independent definition
specified by the AD
Planes can have unlimited
AOIs as long as they do not
share a horizontal scan line
DIU accesses ADs in
vertical order using a linked
list of pointers to the next
AD
Only pixels within AOIs are
fetched by the DIU using the
format specified in the AD
AD linked lists can be
manipulated to change
plane content and move an
AOI between planes
TM
x1,y1
x2,y2
x1,y1
AOI1
x2,y2
AOI2
AOI1
Δy1
Δx1
AOI1
Δy2
Δy1
Δx2
x3,y3
Δy1
Δy3
Δx3
Δx1
x4,y4
AOI3
AOI4
Δy4
x2,y2
AOI2
Δx2
Δy2
Δx4
Δx1
25
Plane3
Plane2
Plane1
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
Planes are blended with plane1 on bottom to plane3 on top
Alpha Blending:
− Global
or per pixel alpha values are used to control
transparency of upper layers over lower layers
(Image courtesy of www.directfb.org)
TM
26
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Chroma Key “Greenscreen” for overlays:
− Any
pixels within the specified min to max chroma key range
values for all pixel components are made fully transparent
DIU changes
alpha value to be
fully transparent
TM
27
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
0
A 32 x 32 pixels hardware cursor is fetched from memory
every frame
The cursor is laid on top of all three planes
Each pixel in the cursor has the following format:
1
2
3
GREENLow
4
5
BLUE
TM
6
7
8
ALPHA
•
28
9
10
11
RED
12
13
14
15
GREENHigh
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Each pixel contains four elements: alpha, red (R), green (G) and blue (B)
Alpha
Red
8 bits
LSB
Green
8 bits
MSB
TM
LSB
Blue
8 bits
MSB
LSB
29
8 bits
MSB
LSB
MSB
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Each pixel contains four elements: alpha, red (R), green (G) and blue (B)
8/16/24/32-Bit Pixel Input
(can vary per AOI within planes)
Swapping
Endian
LSB
MSB
0~8 bits
LSB
Alpha
MSB
0~8 bits
LSB
Red
MSB
8 bits
LSB
Alpha
8 bits
MSB
LSB
Red
8 bits
Red
MSB
MSB
0~8 bits
Blue
Palette LUT
LSB
8 bits
MSB
LSB
Green
Blending
LSB
LSB
Green
Component Swapping
LSB
MSB
0~8 bits
8 bits
MSB
Blue
Gamma Correction
8 bits
MSB
LSB
Green
8 bits
MSB
Blue
24-Bit Pixel Output
TM
30
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Name
Port
Function
DIU_CLK
1
Master Pixel clock
DIU_VSYNC
1
Vertical Sync, indicates that raster process completed and the whole
screen is starting over
DIU_HSYNC
1
Horizontal Sync, indicates the beginning of a new line
DIU_DE
1
Indicates that there is valid pixel data in the bus
DIU_LD[23:0]
24
Color data Output
Interfaces with all types of RGB screens with 8 bits or less for each color
QorIQ P1022 Note:
• The signals of DIU and eLBC are muxed on same pins. When DIU is used
- only 8-bit address/ data are available for eLBC
- Interface eLBC with 3.3V devices
TM
31
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Displayed resolutions supported up to pixel processing rate
−X
•
* Y * refresh <= pixel processing rate
Display interface rate overhead
− Front/back
porch and extra blanking lines overhead which can require a
higher pixel clock frequency than the DIU pixel processing rate
− Overhead due to possible frequencies from pixel clock divider that may
not hit desired minimum frequency supported by a particular display
− DIU output pixel buffer will support higher pixel clock rates with
following constraints
TM
32
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Other Considerations
− Memory
bandwidth of input pixel data
ƒ
Only pixels within defined AOIs consumes bandwidth
ƒ
Independent pixel format can be defined for each defined AOI
− Memory
access burst patterns
ƒ
AOIs must be at least 4 lines, each line containing at least 8-bytes of
pixel data
ƒ
Recommend AOI sizes of at least 256 bytes and a few lines between
AOIs to improve performance
− DIU
priority over shared memory so that input pixel buffers do
not run empty
TM
33
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
Application
(MPlayer, etc.)
DIU
Driver
LVDS
Encoder
DIU
(OR)
DVI
Encoder
TM
34
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
Sampling rate
− e.g.
•
CD audio 44.1 kHz
Stream of bytes
− Multiple
channels
− Frame (e.g. 2 samples/frame )
•
Bit depth
− Resolution
(e.g. CD audio –
16-bits/channel (stereo))
•
Terminology
− bits/channel
− Channels/frame
− signed/unsigned
− Endianness
Courtesy: Wikipedia
TM
36
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
Audio Protocols
− I2S
– Inter-IC Sound Bus Standard
− AC’97 – Audio Codec 1997
− Left-Right Justified
•
Codec
− Usually I2S,
•
AC’97
Audio File Format
− Uncompressed
audio format – e.g. wav, aiff
− Lossless compression – e.g. flac, m4a
− Lossy compression – e.g. mp3, aac
TM
37
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
Full duplex serial interface to communicate with a variety of
serial audio devices
− Popular
industry audio CODECs that implement :
ƒ
Inter-IC sound bus I2S standard
ƒ
AC’97standard
− Digital
TM
Signal Processors (DSP) for audio processing
39
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
32-bit Bus
Transmit Clock
Control Reg
Receive Clock
Control Reg
Transmit
Config Reg
Receive
Config Reg
Control Reg
Tx Control &
State Machines
STCCR
SRCCR
STCR
Rx Control &
State Machines
SRCR
SCR
Tx Clock
Generator
STCK
Tx Sync
Generator
STFS
Rx Clock
Generator
SRCK
Rx Sync
Generator
SRFS
TXFIFO0 (15x32)
STX0
Tx Shift Reg
Unload Logic
TxD Data Reg
TXSR
SRX0
RxD Data Reg
TXFIFO1
(15x32)
Tx1 Data Reg
STX1
STXD
Transmit Shift Reg
RXFIFO0 (15x32)
SRX1
Rx1 Data Reg
RXFIFO1 (15x32)
Rx Shift Reg
Unload Logic
RXSR
TM
SRXD
Receive Shift Reg
40
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
•
•
•
•
•
Independent (asynchronous) or shared (synchronous)
transmit and receive sections
Programmable data interface modes such as I2S, LSB,
MSB aligned, and AC’97 support
Programmable word length (8, 10, 12, 16, 18, 20, 22 or 24
bits)
Programmable options for frame sync and clock generation
Programmable internal clock divider
SSI power-down feature
Programmable I2S modes
TM
41
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
•
Serial bit clock (TXCLK or RXCLK) used to serially clock
data bits in and out of SSI
Word clock generated from the serial clock depending on
word length
Frame Sync clock (TXFS or RXFS) period depends on #
words per frame
Word Divider
(/8, /10, /12, /16,
/18, /20, /22, /24)
Serial Bit Clock
TM
Word Clock
42
Frame Divider
(/1 to /32)
Frame clock
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo,
PowerQUICC and QorIQ are trademarks of Freescale Semiconductor, Inc., Reg.
U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners. The
Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. © 2011 Freescale Semiconductor, Inc.
•
Normal mode
− One
data word per frame in periodic intervals as required by
the external codec
•
Network mode
−
−
•
Frame divided between 2 to 32 time slots
One data word can be transmitted in each slot
Normal and Network modes support Synchronous or
Asynchronous operation
−
−
Sync: TX and RX share the same CLK & FS signals
Async: TX and RX have separate CLK & FS signals
TM
44
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
Used mainly for stereo Codecs
Data sent in high and low states of frame sync signal
− Serves
•
two channels for stereo mode operation
Master or slave mode
− Master:
SSI generates CLK and FS signals
− Slave: external device generates CLK and FS signals
TM
45
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
AUD_CLK
SSI_TCK
DACBCLK
SSI_TFS
DACLRC
SSI_TXD
QorIQ
P1022
HPOUTL
HPOUTR
DIN
Stereo
Codec
SSI_RCK
SSI_RFS
SSI_RXD
ADCBCLK
AIN1L
ADCLRC
AIN1R
DOUT
TM
46
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
Supports one Codec as SSI has one RxDATA pin
AC’97 operating mode
− Fixed
mode
− Variable mode
•
•
Supports 16- or 20-bit audio architecture
Defines maximum 6 channel of analog audio output
TM
47
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
Linux® OS
Application
Audio Sub-system
ALSA
MPlayer
Advanced Linux
Sound Architecture
Driver
SSI
CODEC
DMA
TM
48
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
Application reads video file
Time intervals are computed
ƒ
•
•
•
•
•
ALSA needs to know how often to write to the buffers (RAM)
Application communicates to ALSA and ALSA starts
writing to the buffers
ALSA tells the SSI and DMA to start
DMA starts reading from the buffer at the sample rate and
issues interrupt to tell ALSA to fill the buffers as it goes
along
DMA fills the SSI FIFOs which can tell it to start/stop based
on the watermark
SSI pushes the data out to the Codec at sample rate
TM
49
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
Technology Expertise
Freescale’s technology expertise in delivering product
solutions optimized for high performance within
constrained energy or power budgets
Best-in-Class Product Solutions
Freescale product solutions whose implementation of
energy or power management technologies and/or
performance within a specified energy budget over the
life of the application is truly optimal and/or best-in-class.
Assurance for Application Needs
Offers customers added assurance of the right
combination of technologies and techniques to achieve
optimal energy savings for a particular application space.
TM
50
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
•
•
•
•
P1022 is the first QorIQ device with DIU and SSI support
LCD display for embedded applications (up to SXGA or
720p) without external display controller
The signals of DIU and eLBC are muxed on same pins.
When DIU is used, only 8-bit data/address are available
for eLBC
SSI supports I2S and AC’97 modes
Session materials will be posted @
www.freescale.com/FTF
Look for announcements in the FTF Group
on LinkedIn or follow Freescale on Twitter
TM
51
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo, PowerQUICC and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. CoreNet is a trademark of Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by Power.org. © 2011 Freescale Semiconductor, Inc.
TM
Download