Home
TW9906/TW9909 Evaluation Board User`s Manual
Contents
1. 21 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Download completed click OK remove JP13 jumper and recycle the power iol xi File Edit View Utility Help D El 8 2 T6 SERIAL CONTROLLER Hegister Table Address Oh 2h 3h 4h bh bh Gh Sh Hh Ch Dh Eh Fh 0 7o FE nn nn no ro 4n nn en nn 33 nn File Send 0 1 E File Name 906 8 fim 1141 Delay 60 4 9 5 f OK Cancel Device T9909 Page Message Viewer Display Mh M Miu id iid id M 00 id id M Mid Mu M mi Mu EM E Ma b 00 a m Mid OU mid ig i 00 M m Eu EQ EE ED CER CLE 00 0u CED COE ED Command 4 11 2 3 4 Down Load Firmware to board Set dip switch S1 pos 6 7 and 8 respectively M2 M1 MO to OFF Recycle the power Click Flie Add from menu tool bar File Edit View Utility Help 22 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Click on Browse from the File Merger and Loader window File Merger and Loader File Merger 0 h Os BA File2 Hex Cancel Output File Merge Program Flash Loader Delay 30 L I 8 8 8 8 8 3 8 8
2. Edit View Call Transfer Help Erasing Blank check Wait Erase Done FFFFH Standby Programming 6 Complete amp 7E7h 18487 bytes Please turn OFF and ON to execute Mew Firmware fff 4 Connected 0 06 40 Auto detect 57600 8 N 1 SCROLL CAPS NUM Capture Print echa Follow the on screen instruction and recycle the board power then the board will run with new firmware 11 2 3 Install and Use the Serial Control application 11 2 3 1 Install the Serial Control application 16 Version 1 00 3 6 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual The SerCon application can be downloaded from the Techwell Website Download the application software in a compressed file SerCon170 zip Unzip it to a local folder and install it During the installation if it asks for the serial number user can type in 000 After installation is done the following icon will be found under the program application User copy the short cut to the desk top Following is the icon Sercon lnk Detail instruction on how to use the SerCon please refer to document Instruction of Serial Controller1216 pdf The SerCon program also has command line input option for those who prefer using command line input This can be done by typing in the command in the command box in the bottom of the SerCon GUI 11 2 3 2 Use SerCon to control registers and board features Turn on the power of the board plug in the s
3. available in TW9909 and not available in TW9906 On top of the 5 push buttons there are 2 more short cut buttons that can immediately lead to the frequently used functions such as Video inputs 56 and Demo Functions S3 All these push buttons are functional on both TW9906 and TW9909 except that with TW9906 user has to shoot in the dark when traversing the menu using these buttons Composite In S Video In Component In SCART In Component Out Register Set Decoder Register Status Register Setting Register Setting FPGA p BERNER NN p NN DAC Output Mode Buffering ENC Output Mode pi Buffering rs MENU DOWN _ Select or Enter the highlighted menu item in red RIGHT Scroll up increment index or register address Scroll down decrement index or register address 7 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 10 LEDs Name Function indicated when LED T4 14 Qu Bes B 3 d o MEE p a ul 58 Ww 77 15 14 DONE POWER 11 How to control the TW9906 9 registers Note If the Auto Mode is on position 3 of Dip Switch 51 15 set to off the on board Microcontroller continues checking the decoder status and changes registers when weak bad signals occur such as VCR Playing FF Fast Rewind noisy TV etc It also automat
4. 00h Read Adrs 88h 07h 12h 88 gt Read register 88 gt 2 Read Adrs 88h 02h 68h 85 Write register 88 gt w 2 41 Write 41h to Adrs 88h Index 02h Read Adrs 88h 02h 41h 88 gt 13 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Changing 2 wire serial bus slave device address TW9906 09 0x88 User can change the address to Ox8A by swap R39 R40 resisters 289129 0 28 ADV9174 0x54 Example 88 gt C 54 change slave address to ADV9174 54 gt Now user can access registers in ADV9174 How to test the down scaling To evaluate down scaling performance just change scaling registers Ox0d OxOe OxOf Example 88 gt W 22 1 4 size 88 gt W e 33 1 9 size 88 gt W e 44 1 16 size 88 gt W e 11 full size 11 2 2 2 Down Load new Firmware to TW9906 TW9909 Warning This procedure could erase the firmware if not handle correctly the board will not work Connect serial cable to host PC and start Hyper Terminal Make sure Hyper Terminal settings are COM port properties 576006 8 data No parity 1 stop No flow control Line delay 30 10ms Character delay Put a jumper at J13 next to reset push button Power On or Press Reset The boot loader screen will show up TechWell HyperTerminal E BG File Edit View Call Transfer Help Program Loader Rey 1 Aug 86 206804 Techwell Inc by Harry Warning Do
5. 02 Netscape 7 0 ey Command Prompt 2 Remote Desktop Connection Quicken k X My Yahoo r Release Notes 12 Security Panel Applicatian k E Notepad 07 Startup 17 Paint Microsoft Streel Adobe Acrobat Reader k Program Compatibility Wizard k 6 HyperTerminal Internet Explorer z38 Scanner and Camera Wizard k vg LlltraEdit 32 2 Microsoft Works Task Launcher 6g Synchronize i MEN Explorer Tour Windows e Windows Media k a Outlook Express 2 Windows Explorer cu k E Remote Assistance 1 WordPad a k Microsoft Powel e Windows Media Player Yahoo Address Book i k E Windows Movie Maker YA Yahoo Briefcase All Programs zs F ACD Systems Yahoo Calendar k k a Connection Description Connection Description E Mew Connection Enter a name and choose an Icon far the connection ame Terminal corn 10 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Choose port Connect To 5 Setthe COM port properties Those should be 57600bps 8 data No parity 1 stop flow control Properties F 11 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual a Setline delay 10 30ms Note if there is check sum error during firmware download user may need to adjust this value Character delay Oms Select File NProperties Settings VASCII S
6. 6 9 TEST Decoder Input Mode Composite SMideo Component f Scart only tw9909 Encoder Output 7 t Component Composite Mode t Direct Pass Mode Frame Buttering LLC Control t LC ON LLC OFF DAC Output Mode Dirct Pass Made t Fram Buffering Heal Time Code Mode i RTCUN Progressive Mode DM OFF Message Viewer Cancel 19 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 11 2 3 3 Down Load Firmware to on board Microcontroller Make sure JP13 boot jumper is short and Display ON is checked Push Reset button Type Y in the Command box after received message from the message viewer Message Viewer Display ON Do you really want to update firmware y N Command Ready ON 2600 Comi When the erase is done the following screen will disply Message Viewer w Display Erase Done FFFF Standby Command Click on Send button from the menu bar File Edit wiew Uilit O E cy 20 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Click on Browse and select the hex file to be down loaded File Send File Mame 1906 9 firm ri4i hex Down Load In progress File Send X File Mame 06 8 firm 141 Delay OK Cancel
7. Interface Port and Headers Header JP1 signals are compatible to VIP standard User can hook up JP1 to a VGA VIP header with a flat cable not included Closed Caption Closed Caption is supported by Z86129 LLC Line Locked Clock Free run clock mode In order to avoid output jitter when using Component output thru the DAC user must turn on the LLC function and choose Direct Pass mode turn off the Frame Buffering feature from the board To turn on LLC mode Dip switch S1 position 4 must flip to off position default Register 0x03 bit 5 LLCMODE set to 1 All above settings are default When use composite output thru encoder CVBS or S Video user can Free Run mode LLC off In Free Run clock mode frame buffer must be turned on to remove the output jitter OSD On Screen Display OSD feature is available only with TW9909 This feature can be activated by pressing the menu buttons and must set slide switch 512 accordingly to match input source Function of the on board FPGA U5 As a SDRAM frame buffer controller is mainly for providing buffering for decoder s scaling function as well as removing jitter when the board is in the Free run clock mode As a format converter the FPGA de multiplex 10 bit 27 2 clocked ITU R656 4 2 2 data from decoder into component Y U V and feed to triple 10 bit video 1710 AD7123 the output from DAC is component Y Pr Pb or R G B The FPGA interfaces to the Encoder in 10 bit mod
8. Mess 2 C 88 Regi u Es LIr File name Files af type Bit Files BIT L ancel 23 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Downloading in progress Program Flash Loader 00 Delay 30 00 Program Downloading 00 t Status Value 90 Block 05 DONE The ending screen is shown as follow Program Flash Loader 90942 Delay 30 Program Downloading FFFFFFFFS5S3446600 0007 SOOOOU00E OUCSOD6SU000000F 00080046000 5 3 2 2 0000000000000F 4605000006001 SOO60008001 200600000 2004 00000000007 340F 400F 138074071 00F 486 z0 33D 00 4050 00F 403 DF OE 00000000001 225330000 00051 3b ODE A033 08 D 1334030 OUO fF CODSOO0000000071 SB S2 7 00SF04F CO2FO0SC26 COZFU SSCUI 52004 00000000007 4400 45050 4005050 005401 COSS 407 FOOS401 220404 00000000000625030000 0004645000 46050000 0234050 000408 OS4008000000000005840F00FFO0F COOFOOFCOOFOOFF 40F COSFOOFCOSL 41 Set dip switch pos 6 7 8 back to ON OFF or OFF OFF respectively Recycle the power the board s FPGA firmware is updated 12 Revision History Revision history 0 01 21 2005 Initial release 3 08 2005 Update add details Albert Au 24 Version 1 00 3 8 2005
9. Message Viewer I2 C B8 ni xi 1 8 sjsisisisislsl 46 A 00 100 28 05 00 00 oo foo wm JEE EENE 2121219151818 em mj e e 213 m EEE 8 a s s 8 2 8 8 3 a 3 8 gt 2 0 1 2 3 4 5 T 0 z Command ON 56700 comi Z Now user can change any register content and will see the resulting effect in real time Example 1 Scaling change the content of Register OEh from 11 to 22 the screen will be scaled downed Example 2 Change Brightness Register 10h change content to 7F maximum brightness or 80 to minimum User can explore other register following the datasheet Note that when placing the mouse cursor over the register in the SerCon graphical interface the name of that register will pop up 18 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual some frequently used features can be changed quickly by using the test menu Click on T6 from the menu bar for TW9906 and 09 Test Tara Test 1W9906 9 The test menu will show up User can click on the radio button to change the board features such as decoder mode encoder mode LLC DAC output mode RTC mode Progressive mode etc TW9906 9 Test Menu Table E Te 390
10. TW9906 TW9909 Evaluation Board User s Manual 11 2 1 Null Modem Cable If a null modem cable is not available user can build one with the connections as follows System Ground 5 5 System Ground Data Set Ready Carrier Detect 6 1 4 Data Terminal Ready Request to Send 7 8 Clear to Send Clear to Send 8 7 Request to Send 4 3 GU 29 mn x Mx M OM ee gt s amp TEXT m Null Modem Cable from PC Serial Port connected to here 9 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 11 2 2 Set up and Use the Hyper Terminal to Control the Board Follow these steps to create a Hyper Terminal control short cut a Select Hyper Terminal amp Internet Expl i Winzip Microsoft Office Tools a Lj MEO Accessories 7 Accessibility b B Adobe Acrobat Drive Image SE fa Communications Y Paint Games Entertainment HyperTerminal ain Java 2 Runtime Environment Microsoft Interactive Training HyperTerminal r oor America Online ign ws FTP American Heritage Dictionary start 28 ISE 5 Microsoft WI 7 Java Web Start k System Tools d e Network Connections E Intervideo wint LifeBook Application Panel k J Address Book Network Setup Wizard tJ AL Zip Microsoft Works amp Calculator New Connection Wizard A goodi 20
11. Techwell Inc NS TW9906 TW9909 Evaluation Board User s Manual e gt os 9906 7 9909 Evaluation Board User s Manua Rev 1 0 Techwell Inc 408 Plumeria Drive amp San Jose CA 95134 ce URL http www techwellinc com O Disclaimer xx This document provides technical information for the user Techwell Inc reserves the right odify the information in this document as necessary The customer should make sure that they have the mos sheet version Techwell Inc holds no responsibility for any errors that may appear in this d ouy should take appropriate action to ensure their use of the products does not infringe upon patents Techwell Inc respects valid patent rights of third parties and does not infringe upon or assist ot 9 to infringe upon such rights 1 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 1 2 Overview TW9906 and TW9909 are high quality NTSC PAL and SECAM multi standard video decoder plus RGB mixing for multimedia applications The TW9906 TW9909 evaluation board can demonstrate most of the decoder s features and allows easy evaluation of the TW9906 TW9909 performance Features such as Scaling and Cropping can be easily examined by modifying a few register setting switching input and output path can also be changed by a single click of the mouse The evaluation board is controlled via a RS 232 serial interface cable from a PC and an appli
12. cation software namely SerCon User can also use a terminal emulator such as Hyper terminal all registers can be manually modified With TW9909 OSD menu is also available together with on board push buttons changing register settings and other features without the need of a PC In order to truly explore the capability and performance of the TW9906 TW9909 user is strongly recommended to use component output from DAC default setting The main signal flow of the evaluation board is depicted below Input Decoder FPGA and DAC or Output connectors TW9906 or SDRAM Encoder connectors TW9909 TW9906 9 Evaluation Board Features 2 1 Input output On the board there are CVBS S video Component SCART input connectors connected to decoder inputs and CVBS S Video Component output connectors connected to the signals from DAC or the encoder Use JP3 JP4 JP5 to select the component outputs between DAC and the encoder Default output is from the DAC CVBS S video output is always from the encoder Recommended feature for evaluation 2 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 2 2 2 3 2 4 2 9 2 6 2 7 Downscaling With frame buffer memory turned on user can see the scaled down image by adjusting register OxOD OxOE OxOF Tips by only adjusting OxOE from the default of minimum value of 0x11 to 0x22 or 0x33 the scaling effect can be seen immediately VIP Video
13. e In bypass mode data can feed through the FPGA from decoder directly to encoder It also generates other synchronous signal in Free run clock mode for frame buffered signal and to Encoder A 2 wire Serial interface is used for communication between Microcontroller and the FPGA LEDs are also controlled by the FPGA 3 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 3 Input output connectors Location Inputs Y Outputs ses nw e co ol SCART CVBS Y T CES S Video Pr Red Y Green Pb Blue E IN E 111111 Tm ar CSync RS 232 i actas Power 9VDC pos pae pen LDT 1 mie 1 a i 1 b Jim i i Fi a EL User Button 4 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 4 Power Adaptor DC power adaptor is included in the kit or use any 7 9V 1 5A DC adaptor with center plug There are board options user can set by the Dip switches S1 Function description Default pos 2 Switch ME 2 3 Auto Register Set mode ON default some registers are changed OFF automatically by the Microcontroller such as automatically detect video input color system interlace etc i Manual mode User controls all board function via RS232 Serial In
14. erial cable and make sure JP13 is open Execute the SerCon program the following will display EE ngBi File Edit View Utility Help D c Ebr amp 2 6 8 SERIAL CONTROLLER Hegister Table Address Oh ih 2h Sh 4h 5h Gh 7h h Sh Bh Ch Dh Eh Fh I ttt tt tt te tT tT tt SCEHEHEH YT Tet ttt tT tt NHN Yt ttt ttt tt tT ty EEE EERE Ty Ty ttt ty LTT Device Page P1 P2 E Message Viewer Display Command ON 56700 1 Z 17 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Select device TW9906 or TW9909 from the device box and check the box before the word Display right under P2 Click on P1 P2 and P1 again The following screen will be seen with current register content Hit the Reset button pay attention to the Message Viewer there are message scroll up quickly File Edit View Utility Help D ar 5 2 T6 amp 7 SERIAL CONTROLLER Hegister Table Address fas Oh th 2h 3h 4h 5h Gh 7h 8h Qh Bh Ch Dh Fh rss s az oo oo foz rz 1s o co fon oo oo sc 11 30 44 57 40 oz 7r 00 50 22 Fo 32 oo 78 33 30 joo 10 oo 80 35 00 31 00 joo 00 00 36 00 00 Device T9909 P1
15. etup V It is required when user download new firmware ASCII Sending Send line ends with line feeds Echo typed characters locally Line Gry o 3 illiseconds Character delay 0 milliseconds ASCII Receiving amp ppend line feeds to incoming line ends Force incoming data to 7 bit ASCII lines that exceed terminal width Type Enter and see if it works The command prompt will be displayed TechWell HyperTerminal 5 m x File Edit View Call Transfer Help Dla 218 12 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 11 2 2 1 Basic Command Set Control Example via the Hyper Terminal Type H or at the command prompt will display the available command set TW9909 EY Board Eeil Revl 4l 4 W Index Data Write register X Index D D Write Multiplef lt i bytes E Index Read register D Index Index Dump registers J Index D D Write Multiple commd C Address Change I2C Address I 0111213 Change Input C YC YUWV ESCAET s dll 1 CCiF2 U TXT 1 lt gt Regis tert Register Repeat prewlous Command Help Examples Change address 88 gt 28 Address 28 28 Dump registers 88 gt 0 Read Adrs 88h 00h 50h Read Adrs 88h 01h 93h Read Adrs 88h 02h 41h Read Adrs 88h 03h A2h Read Adrs 88h 04h 00h Read Adrs 88h 05h 81h Read Adrs 88h 06h
16. ically detects color system User may want to turn off this function when manually changing registers Turn ON the Dip switch3 This will stop the auto compensation feature There are two ways to adjust the register of the TW9906 and TW9909 on the TW9906 TW9909 evaluation board First method is using the on board push buttons second method is using a PC via the RS232 serial port 11 1 Using Push Buttons When using push buttons it is best with TW9909 where OSD feature is available Even though these buttons are functional under TW9906 due to lack of the OSD feature it is hard for user to control the board functions Follow the menu map in previous section to traverse the menu item and adjust the register content by using the Left S7 and Right S9 button or use these 2 buttons to scroll up and down among menu items Use the Down S4 button to enter lower level menu or select the highlighted item in red Use Up 55 button to move up one level from the current menu 11 2 Using PC Serial port When using a PC to control there are 2 ways First user can use the HyperTerminal command line style to control Second use the Serial Controller application which is a user friendly application with Graphical User Interface supplied by TechWell Using PC to control requires that a null modem cable between PC serial port and the board serial port The null modem cable is provided with the board 8 Version 1 00 3 8 2005 Techwell Inc
17. terface 05 8 OFF LL C default ON Free run clock When using component output OFF video signal must set LLC mode Refer to LLC Free run section for T detail 5 7 6 Slide Switch Slide switch S12 is for OSD selection for CVBS Component and SCART This switch must set accordingly to match the source of input for OSD to properly function 5 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 7 Jumpers and Headers Jumper Function 4 0 JP13 Boot jumper for Microcontroller firmware download when jumped JP14 15 16 Not applicable JP17 Select sync from FPGA or Decoder for CSYNC JP18 Audio Clock Signal 8 User Push Button There are 8 push buttons on the evaluation board Button Name Function O 56 SEL Input select CVBS default gt S Video gt component gt SCART TW9909 CVBS If being held down for gt 25 LED T2 will be on indicating Caption is on LEFT Scroll down decrement index or register address MENU Scroll up increment index or register address Function only available in TW9909 with OSD feature for menu accessing E pm 6 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual 9 Menu Map The menu system is accessible through the 5 buttons stated in the User Push Button section The OSD feature for this menu system is only
18. you really want to update firmware y N Auto detect 57600 8 N 1 SCROLL Capture Print echo Type Y the following message will be seen 14 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual TechWell HyperTerminal File Edit View Call Transfer Help Warning Do you really want to update firmware y N Erasing Blank check Wait Erase Done FFFF Standby _ 4 Connected 0 01 11 Auto detect 57600 8 N 1 SCROLL CAPS NUM Capture Print echo Click Hyper Terminal menu Transfer Send Text File Select the HEX file to be downloaded Click Open Button and downloading will begin Send Text File Look in 9906 9 hex Gr 906 9 firm 141 My Recent Documents Desktop Documents My Computer Open ea File name tS06_9_firm_r141 hex 2 Places Cancel Files of type All files 17 7 __ Cane EZ 15 Version 1 00 3 8 2005 Techwell Inc TW9906 TW9909 Evaluation Board User s Manual Firmware is being downloaded TechWell HyperTerminal loj xl File Edit View Transfer Help Warning Do vou really want to update firmware y N Erasing Blank check Wait Erase Done FFFF Standbv Programming 155E_ 4 Connected 0 03 40 Auto detect 57600 8 N 1 SCROLL CAPS NUM Capture Print echo Programming completed TechWell HyperTerminal inl x Ele
Download Pdf Manuals
Related Search
Related Contents
User Guide NFO Sinus 07 novembre 2008 - Certa CT-2000D 取扱説明書ダウンロード(1.04MB 取扱説明書 - 三菱電機 4Motion Device Driver User Manual AKG In-Ear Headphone Samsung SPF-72H Benutzerhandbuch OLfolders Manual 1 OFTALMOSCOPI PARKER OPHTHALMOSCOPE 9.Faut-il bruler Freud Copyright © All rights reserved.
Failed to retrieve file