TESSERA CEC-78K0R/KG3 User Manual

Hdmi-cec demonstration board

Advertisement

Quick Links

User's Manual
HDMI-CEC
Demonstration Board
CEC-78K0R/KG3
Tessera Technology Inc.
Date published: March 2009
V1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CEC-78K0R/KG3 and is the answer not in the manual?

Questions and answers

Summary of Contents for TESSERA CEC-78K0R/KG3

  • Page 1 User's Manual HDMI-CEC Demonstration Board CEC-78K0R/KG3 Tessera Technology Inc. Date published: March 2009 V1.00...
  • Page 2 Tessera Technology Inc. and third parties by the use of the products and/or the information in this document. Tessera Technology Inc. does not assume any liability for infringement of rights of third parties by the use of the products and/or the information in this document.
  • Page 3 It is assumed that the readers have been familiar with basics of HDMI and CEC. The overview and terms are available at "High-Definition Multimedia Interface Specification" in the following web site. http://www.hdmi.org/manufacturer/specification.aspx Please use the system with all necessary tests. Tessera Technology Inc. assumes no responsibility for any losses from the use of CEC-78K0R/KG3. TESSERA TECHNOLOGY INC.
  • Page 4 CEC-78K0R/KG3 USER'S MANUAL TABLE OF CONTENTS 1. CEC-78K0R/KG3 ..........................5 Features............................5 Hardware Structure ........................5 Hardware Specifications ......................6 Layout of Hardware Functions ....................7 Hardware Functions ........................8 1.5.1 HDMI-CEC Demonstration Board .................8 1.5.2 TK-78K0R/KG3 Board ....................9 Pin Function List........................11 Circuit Diagram ........................12 2. SETTINGS FOR SAMPLE DEMONSTRATION PROGRAM............14 KEY Settings ...........................14...
  • Page 5: Cec-78K0R/Kg3

    CEC-78K0R/KG3 USER'S MANUAL 1. CEC-78K0R/KG3 In this chapter, feathers and hardware specifications of CEC-78K0R/KG3, 16-bit microcontroller 78K0R/Kx3 series from NEC Electronics, are described. 1.1 Features CEC-78K0R/KG3 has following feathers. - 2 HDMI channels - 10 general purpose key inputs (AD input)
  • Page 6: Hardware Specifications

    CEC-78K0R/KG3 USER'S MANUAL 1.3 Hardware Specifications uPD78F11166 (78K0R/KG3) Clock Main system clock: 20MHz, Sub system clock: 32.768KHz Interface HDMI connector 2ch MINICUBE2 connector (16pin) USB (mini B connector) Operating Voltage 3.3V (DC 12V input) TESSERA TECHNOLOGY INC. 6/31...
  • Page 7: Layout Of Hardware Functions

    CEC-78K0R/KG3 USER'S MANUAL 1.4 Layout of Hardware Functions HDMI1 HDMI3 SSW22,23,21 LED1~LED9 USB1 U1,2 SW1,2 WRITER1 SSW15,24,14 REM1 SSW19 SSW16 TSW1~10 SSW17,18 SSW1~SSW13,20,25 TESSERA TECHNOLOGY INC. 7/31...
  • Page 8: Hardware Functions

    These are extended switched for HPD and DDC. Switch them with "Source" or "Sink". > Set it to "Source" when you use as Monitor mode. > Set it to "Sink" when you use as Pseudo TV mode. > Set it to "Source" when you use as Pseudo DVR mode. TESSERA TECHNOLOGY INC. 8/31...
  • Page 9: Tk-78K0R/Kg3 Board

    Do not use P6 as the 7segLED control since P6 is connected to HPD and DDC. - JP1 JP1 sets the CPU power selection. Set this as open. (default setting) - USB1 This is a USB connector. Use bundled USB cable. TESSERA TECHNOLOGY INC. 9/31...
  • Page 10 These are connected to P50, 51, 52 of CPU. - SW4 This is the CPU reset switch. - Y1 This is the CPU operation clock. Do not change this from default setting, 20MHz. The sample program will not work if it is changed. TESSERA TECHNOLOGY INC. 10/31...
  • Page 11: Pin Function List

    Connect to Remote Control Module Connect to WRITE1 Connector(16Pin) 7segLED Connect to WRITE1 Connector(16Pin) LED2 LED3 LED4 LED5 LED6 HPD / 7segLED LED7 7segLED LED8 P153 LED9 P152 7segLED P151 7segLED P150 7segLED P110 DipSW(SW3-6) P157 DipSW(SW3-7) P156 DipSW(SW3-8) P155 TESSERA TECHNOLOGY INC. 11/31...
  • Page 12: Circuit Diagram

    CEC-78K0R/KG3 USER'S MANUAL 1.7 Circuit Diagram TESSERA TECHNOLOGY INC. 12/31...
  • Page 13 CEC-78K0R/KG3 USER'S MANUAL TESSERA TECHNOLOGY INC. 13/31...
  • Page 14: Settings For Sample Demonstration Program

    Mode Change (Monitor Mode at startup) KEY4 Push to change the mode, "Pseudo TV", "Pseudo DVR", "Monitor". KEY5 (Not in use) KEY6 Play KEY7 Rewind KEY8 Fast-forward KEY9 Stop KEY10 Select Remote Controller Display (Remote Controller Code / Key Name) TESSERA TECHNOLOGY INC. 14/31...
  • Page 15: Led Settings

    TK Board Used For LED1(green) Lighted when the board power is on. LED2(red) Pseudo device power LED3(red) Playing LED4(red) Fast-forwarding LED5(red) Reversing LED6(red) Recording LED7(red) LED8(red) Pseudo DVR mode LED9(red) Pseudo TV mode LED Scroll Monitor mode TESSERA TECHNOLOGY INC. 15/31...
  • Page 16: Cec Viewer Functions

    Opcode. command.xls Since the program retrieves the command data from this file, do not close this file while CEC Viewer is running. cecviewer.ini Pre-set key data that is registered with GUI is stored in this file. TESSERA TECHNOLOGY INC. 16/31...
  • Page 17: Connection Example

    You can monitor the data communication between devices by connecting the devices through the board. Following figure shows the connection example to monitor the communication between TV and recording device. HDMI Cable Recording Device Recording Device USB Cable CEC-78K0R/KG3 Board (Monitor Mode: LED Scroll) TESSERA TECHNOLOGY INC. 17/31...
  • Page 18: Example 2: Pseudo Dvr Mode / Pseudo Tv Mode

    DVR, and turning off the power of pseudo DVR automatically by turning off the power of pseudo TV. HDMI Cable USB Cable CEC-78K0R/KG3 Board CEC-78K0R/KG3 Board (Pseudo TV Mode: LED9 ON) (Pseudo DVR Mode: LED8 ON) TESSERA TECHNOLOGY INC.
  • Page 19: Cec Viewer Window

    Date & Time Date and time when it gets the frame data It gets the information from "command.xls". If you close this file, it will not be able to display the logical address and Opcode. TESSERA TECHNOLOGY INC. 19/31...
  • Page 20: File" Menu

    Save the current log data with Excel format. Log Save It is the same as the shortcut key *You can select specific rows by checking the check box. *You can select all rows by checking the check box above "No". Close CEC Viewer. TESSERA TECHNOLOGY INC. 20/31...
  • Page 21: Menu" Menu

    (COM Port 1-19) Select from 9600, 14400, 19200, 38400 (default), 57600, 115200, Bit rate 128000. (Select the default setting, 38400) Data Bit Fixed with 8 bit. Parity Fixed with None. Stop Bit Fixed with 1 bit. TESSERA TECHNOLOGY INC. 21/31...
  • Page 22: Debug" Menu

    Replay the CEC communication based on log data saved with Excel format. Set replay tag properly and execute. Replay Start *For detail about replay function, refer to "3.6.4 Replay Function" It is the same as the shortcut key TESSERA TECHNOLOGY INC. 22/31...
  • Page 23: Control From Cec Viewer

    5. Move the cursor at the first byte of specific KEY, and click "Create Command" key. Header and Opcode will be automatically set. 6. Enter Operand for Opcode at the KEY input area directory as needed. TESSERA TECHNOLOGY INC. 23/31...
  • Page 24 Also, captions of KEY on CEC Viewer can be changed. Change the caption to "TV_OFF", then set the data [10] [36]. The caption of KEY1 is changed to "TV_OFF". By clicking "TV_OFF" key, it outputs CEC data ([10][36]), then the log data is displayed. TESSERA TECHNOLOGY INC. 24/31...
  • Page 25: Replay" Tab

    CEC-78K0R/KG3 USER'S MANUAL 3.5.2 "Replay" Tab It loads monitoring information, the board becomes a unit on the CEC, and then it replays the same CEC command communication. For detail, refer to "3.6.4 Replay Function". TESSERA TECHNOLOGY INC. 25/31...
  • Page 26: Specific Usages

    CEC-78K0R/KG3 USER'S MANUAL 3.6 Specific Usages 3.6.1 Switch Settings Set the switches as shown below. ALL Down ALL Down ALL Down Open 20MHz Oscillator TESSERA TECHNOLOGY INC. 26/31...
  • Page 27: Use As Monitor

    Click "Start" button to start monitoring by CEC Viewer. The status bar becomes red to show "Run" status. With this status, CEC communication data between the boards will be displayed. Click "Start" button again to stop monitoring ("Ready" status). TESSERA TECHNOLOGY INC. 27/31...
  • Page 28: Pseudo Device Sample Program

    Power OFF Power OFF PLAY Playing STOP Stopped FORWARD Fast-forwarding Pseudo DVR REVERSE Rewinding Mode Recording REC STOP Recording Stop PLAY(Recording) Playing While Recording STOP(Recording) Stopped While Recording FORWARD(Recording) Fast-forwarding While Recording REVERSE(Recording) Rewinding While Recording TESSERA TECHNOLOGY INC. 28/31...
  • Page 29: Replay Function

    Check 3. Next, replay the saved CEC communication data. Click "Open Script" button on "Replay" tab and select the log file that you have just saved before. Load File Replay Tab Loaded Data Actual Communication Data TESSERA TECHNOLOGY INC. 29/31...
  • Page 30 <Example> When you replay the TV power operation, make sure the elapsed time after you turned off the TV power is the same as the time in the log file. Replay Button TESSERA TECHNOLOGY INC. 30/31...
  • Page 31: Ddc Monitor

    As the data format, it stores data on odd number rows and ACK/NACK on even number rows. When it detects the Start Condition, it recognizes as the next data. (Also, in the case of restarting that it does not get Stop Condition, it recognizes as the next data) Data Data TESSERA TECHNOLOGY INC. 31/31...

Table of Contents