Flexible Active Shutter Control Interface using the MC1323x



Similar documents
IRTC Compensation and 1 Hz Clock Generation

How To Control A Motor Control On An Hvac Platform

Connecting Low-Cost External Electrodes to MED-EKG

Software Real Time Clock Implementation on MC9S08LG32

Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

MC13783 Buck and Boost Inductor Sizing

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers

Connecting to an SMTP Server Using the Freescale NanoSSL Client

etpu Host Interface by:

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

Programming Audio Applications in the i.mx21 MC9328MX21

Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas

How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Local Interconnect Network (LIN) Physical Interface

Hardware Configurations for the i.mx Family USB Modules

Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

Handling Freescale Pressure Sensors

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

Initializing the TSEC Controller

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software

Configuring the FlexTimer for Position and Speed Measurement with an Encoder

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

MCF54418 NAND Flash Controller

USB HID bootloader for the MC9S08JM60

Data Movement Between Big-Endian and Little-Endian Devices

VGA Output using TV-Out Extension Solution i.mx21

Performance Monitor on PowerQUICC II Pro Processors

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

How To Measure Power Of A Permanent Magnet Synchronous Motor

Improving Embedded Software Test Effectiveness in Automotive Applications

VLE 16-bit and 32-bit Instruction Length Decode Algorithm

DRM for Driver Information System on S12G128. Reference Design

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

Detecting a CPM Overload on the PowerQUICC II

Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas

Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description

Using the Kinetis Security and Flash Protection Features

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

NOT RECOMMENDED FOR NEW DESIGN

User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

BLDC Motor Control with Hall Effect Sensors Using the 9S08MP

Enhanced Serial Interface Mapping

Ref Parameters Symbol Conditions Min Typ Max Units. Standby μa. 3 Range kpa. 4 Resolution 0.15 kpa. 5 Accuracy -20ºC to 85ºC ±1 kpa

NOT RECOMMENDED FOR NEW DESIGN

Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)

Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.

Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0

Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division

MLPPP in the Evolving Radio Access Network

3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013

MSC8156 and MSC8157 PCI Express Performance

Understanding Pressure and Pressure Measurement

RF Power Field Effect Transistors N- Channel Enhancement- Mode Lateral MOSFETs

Prepared by: Paul Lee ON Semiconductor

ColdFire Security SEC and Hardware Encryption Acceleration Overview

Techniques and Tools for Software Analysis

NOT RECOMMENDED FOR NEW DESIGN

PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Freescale Semiconductor. Integrated Silicon Pressure Sensor

Genesi Pegasos II Setup

How To Fit A 2Mm Exposed Pad To A Dfn Package

MBR2045CT SCHOTTKY BARRIER RECTIFIER 20 AMPERES 45 VOLTS

MPXAZ6115A MPXHZ6115A SERIES. Freescale Semiconductor Technical Data. MPXAZ6115A Rev 4, 01/2007

Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers

Pressure Freescale Semiconductor

Implementing Positioning Algorithms Using Accelerometers

KIT34845EPEVME Evaluation Board

White Paper. Freescale s Embedded Hypervisor for QorIQ P4 Series Communications Platform

Developing an Application for the i.mx Devices on the Linux Platform

Using the HC08 SCI Module

2N5460, 2N5461, 2N5462. JFET Amplifier. P Channel Depletion. Pb Free Packages are Available* Features. MAXIMUM RATINGS

Frequency Analysis in the Industrial Market Using Accelerometer Sensors

i.mx28 Ethernet Performance on Linux

Motion and Freefall Detection Using the MMA8451, 2, 3Q

Tire Pressure Monitoring Sensor Temperature Compensated and Calibrated, Fully Integrated, Digital Output

How to Do EEPROM Emulation Using Double Flash Array on MC9S08LC60 Ronald Gonzalez and Tatiana Orofino RTAC Americas

MC14008B. 4-Bit Full Adder

2N6056. NPN Darlington Silicon Power Transistor DARLINGTON 8 AMPERE SILICON POWER TRANSISTOR 80 VOLTS, 100 WATTS

Efficient Low-Level Software Development for the i.mx Platform

Using Program Memory As Data Memory. 1. Introduction Program Memory and Data. Contents. Memory. Freescale Semiconductor Application Note

AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators

1 Introduction. Freescale Semiconductor Application Note. Document Number: AN3031 Rev. 1, 04/2010

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Avoiding Read While Write Errors When Developing In-Software Flash Programming Applications for Kinetis and ColdFire+ MCUs

ITU-T V.42bis Data Dictionary Search on the StarCore SC140/SC1400 Cores

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

How To Improve Performance On A P4080 Processor

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

AND8008/D. Solid State Control Solutions for Three Phase 1 HP Motor APPLICATION NOTE

Transcription:

Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application note describes how to use the MC1323x to implement various active shutter glass control interfaces in 3D-glasses applications. 3D-glasses are one of the key components used in a 3D-TV system and allows the user to have a 3D-visual effect when watching a 3D-movie, 3Dphoto, or playing a 3D-game. The shutter controller must be able to switch the on and off state of left and right lenses in an alternating sequence, so the display of the left-eye image is not seen by the right and vice versa. The reference timing is based on a standard sync signal called VESA sync received from the 3D-TV through a wireless transmission. However, there is no standard format on shutter control interface; therefore the controller device must be designed with flexibility to support various formats. Contents 1 Introduction...1 2 System Overview...1 3 Shutter Control Interface...2 4 Hardware Implementation...3 5 Software Implementation...4 6 Conclusion...6 2 System Overview On the side of the 3D-TV, the VESA sync signal is captured from the host processor and converted into a sync message sent to the 3D-glasses using the RF4CE transmission. The received sync message in 3D-glasses is decoded and VESA sync is generated as a timing reference for the whole system, which is shutter control, power saving, user interface and so on. Freescale documents called, BeeStack Consumer Application User s Guide (document number BSCONAUG) 2011 Freescale Semiconductor, Inc.

Shutter Control Interface and Zigbee Remote Control (ZRC) Application Profile User s Guide (document number ZRCAPUG) provide detail descriptions of the RF4CE application. This application note focuses on implementation of a flexible shutter control interface for various shutter control interfaces. In typical applications, the VESA sync signal is a nominal 50 % duty cycle square wave at one-half the vertical sync rate currently in use, for example VESA sync frequency is equal to 50 Hz when vertical sync is 100 Hz. The display of left or right field is determined by the polarity of VESA sync, the high state corresponds to the display of the left-eye image, and the low state corresponds to the display of the right-eye image. The falling edge of VESA sync is used as a trigger point for all alternating events. Figure 1. System block diagram 3 Shutter Control Interface There are many shutter control interfaces used in 3D-glass applications. This selection criteria is based on system cost, complexity, and compatibility to the legacy platform. The controller sends only synchronization commands periodically to a dedicated lens switching ASIC device through a serial bus interface or parallel I/O port. The ASIC device handles all driving signals for lens switching. The controller makes use of the downward sampling technique to convert the VESA sync into a lower frequency sync pulse for backward compatibility on some legacy systems not using VESA sync as a timing reference. The controller generates all timing information from the VESA sync signal for lens switching and is able to drive the lens module directly with discrete H-Bridge analog switches. The switching function is integrated into the controller to reduce cost, improve system design flexibility on most of timing control signals, for example the pulse width setting for switching signals and time delay adjustment between switching signals and VESA sync. The application note focuses on this kind of direct driving scheme. 2 Freescale Semiconductor, Inc.

Hardware Implementation 4 Hardware Implementation The hardware components for lens switching include the DC-DC boost converter, H-bridge analog switches, and the MCU internal Timer/Pulse-Width Modulation (TPM) module. Figure 2 shows the full H-Bridge control diagram. Figure 2. H-bridge analog switch for lens switching The DC-DC boost converter is used to boost the system voltage from 3 V or 5 V to around 12 V, such that the driving voltage level is capable to toggle the on / off states of the lenses quickly. The transient time for charge and discharge of the lens polarity must be fast enough to eliminate any overlapping on display of the left and right-eye images. The two full H-bridge analog switches are used for left and right lens switching. The following descriptions for right channel operation are also applied to left channel. When both R1 and R2 are low, all Q1, Q2, Q3, and Q4 will be off. There is no charging state across the lens and in normal state allows the user to see the image. When R1 is low and R2 is high, Q1 and Q4 will be on and Q2 and Q3 will be off. The current flow is indicated by the dotted line 1 (red). The state of the lens CR is off. (Blank the image) When R1 is high and R2 is low, Q1 and Q4 will be off and Q2 and Q3 will be on. The current flow is indicated by the dotted line 2 (blue). The state of the lens CR is also off. (Blank the image) The lens state for case 2 and 3 are the same but the current direction across the lens is reversed such that the overall DC current flowing through the lens is equal to zero. This is one of driving requirements for most of the shutter lenses. Please refer to the manufacturer s datasheet for details. The MC1323x has four independent timer/pwm modules, each with one channel. Each TPM module is based on a 16- bit counter and provides input capture, output compare, and pulse width modulation. Each TPM module has one associated I/O pin for input capture or counter/pwm output. The requirements on the MCU resource are: One hardware timer input pin for VESA sync input capture. Two timer modules for timing event control. Any four general purpose I/Os for H-bridge switch control. Freescale Semiconductor, Inc. 3

Software Implementation 5 Software Implementation Two TPM modules are used to generate all timing waveforms for left and right channel H-bridge analog switch controls. One TPM module is configured with the input capture function to capture the time where an external event occurs. The timing parameters of input VESA sync, for example, the frequency, duty cycle, rising edge, and falling edge can easily be calculated based on the timer counter values triggered by the active edges. Another TPM module is operated in output compare mode and can generate timed pulses with programmable position, polarity, duration, and frequency. The pulse width is used as a parameter to control the duration of the lens state in normal mode (allow to see the image through the lenses). The settings for two TPM modules: Select bus clock (16 MHz) as the TPM counter clock source. Set TPM clock pre-scale divider to 64, so TPM clock frequency is equal to 250 khz (16 MHz / 64). Configure one TPM in Input Capture and another in Output Compare mode. Enable channel interrupt function for both TPM modules (overflow interrupt function is optional). Start the hardware counter in free-running condition. Handle all timing critical events in corresponding interrupt service routines and other event driven tasks in the main loop. Figure 3 shows the timing diagram on how to generate four H-bridge control signals using two TPM modules. 4 Freescale Semiconductor, Inc.

Software Implementation Figure 3. Timing diagram Steps to generate four H-bridge control signals using two TPM modules. 1. The falling edge (E1) of the VESA Sync input capture is used as a timing reference to trigger the output compare event (E2) for phase synchronization and then sets the H-bridge control signal R1 from high to low (E3). 2. The next output compare event (E4) is triggered with a timer counter value equal to the required duration of the lens state in normal mode and then sets R2 from low to high (E5) 3. A Similar mechanism is applied to the rising edge of the VESA sync input capture, E6 triggers E7 and then sets L1 from high to low, configure the next output compare event to E9 and then set L2 from low to high (E10). 4. Repeat steps 1 to 3 for next the VESA sync falling edge cycle. The toggle sequence for R1 and R2 or L1 and L2 is exchanged, for example toggle R2 instead of R1 at the next VESA Sync falling edge. Freescale Semiconductor, Inc. 5

Conclusion 6 Conclusion This application note provides guidelines on the active shutter design for 3D-glasses applications. The method of lens switching with the H-bridge switch circuit and timing control using the MC1323x is designed as a typical example to help customers to adapt to Freescale solutions in their products more effectively. 6 Freescale Semiconductor, Inc.

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductors products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claims alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-rohs-complaint and/or non-pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale's Environmental Products program, go to http://www.freescale.com/epp. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. 2011 Freescale Semiconductor, Inc. Document Number: AN4353 Rev. 0, 9/2011