AL242C-EVB-A1 User Manual

AL242C-EVB-A1
Evaluation Board
User Manual
Version 0.7
Document Number: 1-M-PAE142-0001
©2004-2005 Copyright by AverLogic Technologies, Corp.
1
Amendments
Jan. 25, 2005
Feb. 01, 2005
Mar. 29, 2005
Apr. 21, 2005
Apr. 29, 2005
Aug. 16, 2005
Nov. 24, 2005
Preliminary version A0.1
Preliminary version A0.2
1. Update Evaluation Kit Setup
Preliminary version A0.3
1. Revise Component Input Y0/Y1
2. Update Evaluation Kit Setup
Preliminary version A0.4
1. Update Evaluation Kit Setup
2. Add a table for function indicator LEDs
Preliminary version A0.5
1. Add Software Section
Preliminary version A0.6
1. Update Evaluation Kit Setup
2. Add a table for function Binary Switch.
3. Add a table for function Dip Switch.
4. Add a table for special function definition of Push Buttons
Preliminary version 0.7
1. Update title and version number
2. Update contact information
©2004-2005 Copyright by AverLogic Technologies, Corp.
2
TABLE OF CONTENTS
1.
2.
3.
Introduction...................................................................................................................................... 4
1.1.
Introduction........................................................................................................................ 4
1.2.
Product Overview ............................................................................................................. 4
Hardware Section ........................................................................................................................... 5
2.1.
Evaluation Kit Contents & Requirement .................................................................. 5
2.2.
Evaluation Kit Configuration ........................................................................................ 5
2.3.
Evaluation Kit Setup ....................................................................................................... 7
Software Section .......................................................................................................................... 11
3.1.
Introduction to the Development Tool and its GUI........................................... 11
3.2.
Interface selection ......................................................................................................... 11
3.3.
I/O Configuration ........................................................................................................... 12
3.4.
Decoder.............................................................................................................................. 12
3.5.
Debug ................................................................................................................................. 13
3.6.
Encoder .............................................................................................................................. 13
©2004-2005 Copyright by AverLogic Technologies, Corp.
3
1. Introduction
1.1. Introduction
This AL242 Evaluation Kit is specially designed for evaluating the AL242
Adaptive 2D Comb Filter Video Decoder. The Evaluation kit allows
maximum flexibility for optimizing various input and output modes for
specific applications. Using the hardware and software provided in the
Evaluation Kit, Standalone and PC-Based mode can be demonstrated.
In addition, there are many new functions that hardware and
software provided in this edition.
1. Binary Switch
2. Fast Channel Switch
3. Close Caption VBI detect and display
4. Macrovision™ copy–protect signal detect
1.2.
Product Overview
 AL242 Adaptive 2D Comb Filter Video Decoder
The AL242 is silicon efficient, cost effective high video quality
NTSC/PAL/SECAM video decoder with 2D-Comb filter adapted
respectively. The AL242 decodes NTSC/PAL/SECAM composite video, Svideo or component video and converts it into YUV 4:2:2, 8-bit digital
video respectively. Employing adaptive 2D comb filter technology, the
AL242 is able to provide the high quality Y/C separation while
maintaining excellent frequency response. The result is sharp, high
detail video that eliminates unwanted dot crawl and false color effects.
Fully programmable video characteristic control, such as hue, contrast,
brightness, saturation, are supported. The AL242 decoder incorporates
an advanced vertical blanking interval (VBI) data processor to do data
slicing, parsing and decoding teletext, closed caption, and other formats.
The Macrovision™ copy-protect signal is auto-detected and report to the
registers. Two wires of fast channel switching input allow decoder to do
an instant alternation of analog CVBS input from one to the other. Up
to 4 serial bus addresses can be selected via 2 configuration pins that
allows multiple AL242 chips on the design without extra logic.
The AL242 operates under the low power voltages (3.3V and 1.8V) with
64-pin Lead Free (PBF) LQFP package.
©2004-2005 Copyright by AverLogic Technologies, Corp.
4
2. Hardware Section
2.1. Evaluation Kit Contents & Requirement
The Evaluation Kit includes all of the specific software and hardware
required to evaluate the AL242. Included in the Evaluation Kit are:
AL242 Evaluation Board x 1
12V/1A Power Adapter x 1
Power Core x 1
Video Connection Cables x 3 (CVBS, S-Video & Component)
EVB User Manual
RS232 Cable x 1 (By request)
2.2. Evaluation Kit Configuration
The AL242 EVB consists of the AL242 video decoder, TV encoder, 8051
MCU and other components. The AL242 accepts four CVBS (Composite),
two S-Video (Y/C) or one YPbPr (Component) inputs with adaptive 2D
comb filter quality. The video encoder outputs CVBS, S-Video or
Component (YPbPr) for TV display. By using an 8051 MCU, this
Evaluation Board can be operated in Standalone Mode without
connecting to PC.
The default Dip switch and Binary Switch settings should be set as
“OFF” and “0”as shown in Figure 1. AverLogic recommends that the
default settings be used initially to bring up the evaluation board. The
locations and descriptions of jack connectors and push buttons are also
shown in Figure 1.
©2004-2005 Copyright by AverLogic Technologies, Corp.
5
INPUT PORTS
CVBS-0
S-Video-0 / Y0
Binary
Dip RS232
Switch RESET Push Buttons
Port
Switch
Key1~4 LEDs
BW1, BW2 Button
D1~4
Key 1 Key2 Key 3
D4
CVBS-1
/ Y1
BW 1
CVBS-2
/ Pb
Key 4
D1
MCU
Extension
Connector
BW 2
AL242
JP1
CVBS-3
/ Pr
ON
S-Video-1
S-Video Pr
Y
Pb
/ CVBS
OUTPUT PORTS
Power
ON/OFF
Switch
Power
DC-12V
Jack
Figure 1. Front Side of Evaluation Board
Figure 2. Front Side of Evaluation Kit
©2004-2005 Copyright by AverLogic Technologies, Corp.
6
2.3. Evaluation Kit Setup
1. Verify that all of the switches of Dip Switch (SW1~4) are at
“OFF” position. SW1~2 are set the default slave address.
SW3~4 are set the Input Source when system enter Fast
Channel Switch mode. The function definition of Dip Switch
shown in Table 1.
2. Verify that all of the switches of Binary Switch (BW1~2) are at
“0” position.
3. Connect the video cable of required input source to INPUT
PORTS. (The default input source is CVBS-0.)
4. Verify video system. (The default is Auto-Detection for
NTSC or PAL-I video system.)
5. Connect S-video (recommend) or CVBS cable from the OUTPUT
PORTS of AL242 EVB to a TV display. (The default output
mode is S-Video/CVBS.)
6. Verify power supply cable is connected to the Power DC-12V
jack.
7. Turn ON the Power ON/OFF Switch.
8. The EVB will go into Default Operating mode. Power indicator
LEDs (D10 & D11) will be illuminated RED. Function indicator
LEDs (D1~D4) will be illuminated GREEN for NTSC. The
descriptions of function indicator LEDs are shown in Table 2.
9. If the input video system is other than NTSC or PAL-I, or the
EVB cannot output correct video in any case, many default
settings can be loaded through changing the settings of BW1~2.
Rotate binary switch to the proper position and press “RESET”
button, the system will enter Manual-Setting mode. Using the
function definition of Binary Switch in Table 3, the flexible
combinations can be evaluated.
©2004-2005 Copyright by AverLogic Technologies, Corp.
7
10. When pressing any push button at any time, the system will
enter Manual-Setting mode. Using the function definition of
Push
Buttons and
LEDs
shown in
Table 4, the
flexible
combinations can be evaluated. All push buttons Key1 to Key4
must be set to enter the right settings.
11. How to use Fast Channel Switch?
I. Manual Mode
(1)
Rotate Binary Switch BW1 to Fast Channel Switch Mode
and turn on the power.
(2)
Using Dip Switch SW3~4 to select the Input Source
between CVBS-0~CVBS-3.
II. Auto Mode
(1)
Verify that Dip Switch SW3~4 are at “OFF” position.
(2)
Verify that Binary Switch BW1 is at “0” position.
(3)
Press Key3 and Key4 at the same time, system will enter
Auto Fast Channel Switch Mode. Once the system enter
Auto Fast Channel Switch Mode, input source will be
switched continuously between CVBS-0~CVBS-3.
(The function definition of Dip Switch and Binary Switch
shown in Table 1 and Table3.)
12. The Macrovision™ copy-protect signal is auto-detected. Once
the system detect the Macrovision™ copy-protect signal, D4 will
glimmer continuously. (Only for Auto-Detection Mode)
13. Using the special function definition of Push Buttons shown in
Table 5, the system will enter the proper mode according to the
button pushed.
14. Using the PC Programming Utility, more EVB functions can be
evaluated.
©2004-2005 Copyright by AverLogic Technologies, Corp.
8
SW1/SW2 Slave ID Setting Reference
SW1
SW2
Slave Address
OFF
OFF
0x2a
ON
OFF
0x28
OFF
ON
0x26
ON
ON
0x24
SW3/SW4 Input Source Reference
for Fast Channel Switch
SW3
SW4
Input Source
ON
ON
CVBS-0
OFF
ON
CVBS-1
ON
OFF
CVBS-2
OFF
OFF
CVBS-3
Table 1. The function definition of Dip Switch at Manual-Setting mode.
D1
D2
D3
D4
Description
ON
ON
ON
ON
NTSC
ON
ON
ON
OFF
NTSC-443
ON
ON
OFF
ON
PAL
ON
ON
OFF
OFF
PAL-M
ON
OFF
ON
ON
PAL-N
ON
OFF
ON
OFF
SECAM
ON
OFF
OFF
ON
PAL-CN
Table 2. The descriptions of function indicator LEDs at Default
Operating mode.
BW1
BW2
Binary switch
(Video Input Source)
(Video Input Mode)
CVBS-0
Auto-Detection
(NTSC&PAL-I)
Number
0
for CVBS-0 and S-Video-0 Input
1
S-Video-0
Auto-Detection
(7 Standard)
for CVBS-0 and S-Video-0 Input
2
3
4
5
6
7
Component
CVBS-1
CVBS-2
CVBS-3
S-Video-1
Fast Channel Switch
Mode
NTSC
NTSC_443
PAL_I
PAL_M
PAL_N
SECAM
8
PAL_CN
Table 3. The function definition of Binary Switch at Manual-Setting
mode.
©2004-2005 Copyright by AverLogic Technologies, Corp.
9
D4
D3
D2
D1
Key1
CVBS-0
S-Video-0
Component
NA
Key2
CVBS
S-Video
Component
Test
Pattern
Key3
NTSC-3.58
(D4)
PAL-N
(D3+D4)
NTSC-4.43
(D3)
SECAM
(D1+D2)
PAL (BDGHI)
(D2)
PAL-CN
(D2+D4)
PAL-M
(D1)
Description
Video Input
Select
Video Output
Select
Video System
Select
Enter Key
Key4
Table 4. The function definition of Push Buttons and LEDs at ManualSetting mode.
D1~D4: LED1~LED4
Key-1~4: Push Button 1~4 (Do not need to set again the push buttons Key1 to
Key4 when changing to another configuration. For example, you can only push
Key 2 to change the output mode.)
Key1
Key2
Key3
Key4
VBI Mode
Debug Mode
Auto Fast Channel Switch Mode
Table 5. The special function definition of Push Buttons at ManualSetting mode.
©2004-2005 Copyright by AverLogic Technologies, Corp.
10
3. Software Section
3.1. Introduction to the Development Tool and its GUI
!
!
!
Window-Based Graphic User Interface (GUI)
Easy to demonstrate AL242/240 features
Speed up software development and customization
3.2. Interface selection
Users can select a connection interface and set the slave ID.
©2004-2005 Copyright by AverLogic Technologies, Corp.
11
3.3. I/O Configuration
This item helps user to select input source, select output format, and
choose the right chip used on their platform.
3.4. Decoder
In this item, users can set video system and adjust the value of B/C/S.
The additional function is to switch cannel from CVBS1 to CVBS4; this
function will benefit the user, especially for the surveillance system.
After these setting steps, start up button is required for reset the
system.
2. B/C/S Adjustment
Decoder
3. Startup/reset AL24x
1. Set video system
4. Additional
functions
Channel fast switch
©2004-2005 Copyright by AverLogic Technologies, Corp.
12
3.5. Debug
The memory window shown at the white block monitors the value of
registers. Users can adjust the register value. By moving the address
bar, users can move to the address they want to access and adjust the
value by turnning on/off the bits.
R: read the registers from AL242
W: write a file into these registers
B: backup the registers value
RST: reset this table
First. Move this bar to choose the address you want to modify
Second. Push apply button
Register values of AL242
/ compare this table
with datasheet to
check out all the function
of AL242 work or not
Third. adjust the value directly on the blank or
turn on/off the bit according to datasheet.
3.6. Encoder
This item is the same as debug item. This memory window monitors the
values in the encoder’s registers.
Register values of
the encoder chip
©2004-2005 Copyright by AverLogic Technologies, Corp.
13
CONTACT INFORMATION
AverLogic Technologies, Corp.
URL: http://www.averlogic.com.tw
©2004-2005 Copyright by AverLogic Technologies, Corp.
14