Part 8 LCD Controller

0
0
1598 days ago, 618 views
PowerPoint PPT Presentation

Presentation Transcript

Slide 1

MSP430 Teaching Materials Chapter 8 LCD Controller Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro, Humberto Santos University of Beira Interior, Electromechanical Engineering Department www.msp430.ubi.pt Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 2

Contents LCD Controller Introduction LCD_A Controller Operation LCD modes LCD_A Controller Registers Laboratory 4: LCD Message Display Quiz Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 3

Introduction (1/3) Both the '3xx and '4xx families give controllers to fluid precious stone presentations (LCDs): LCD_A controller: MSP430x42x0 and MSP430FG461x; LCD controller: All MSP430x4xx. Case of LCD_A controller: Experimenter's board; Features: Display memory; Automatic flag era; Configurable edge recurrence; Blinking ability; Support for 4 sorts of LCDs: Static; 2-mux, 1/2 inclination (or 1/3 predisposition); 3-mux, 1/3 inclination (or 1/2 predisposition); 4-mux, 1/3 inclination (or 1/2 inclination). Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 4

Introduction (2/3) Main contrasts amongst LCD and LCD_A controllers: LCD controller: Requires outer hardware (a resistor-divider system) to create the 4 remotely provided voltage levels (R03, R13, R23 and R33) that supply the voltage generator; Uses the planning generator got from Basic Timer 1. LCD_A controller: Similar components as LCD controller, however also: Regulated charge pump and differentiation control by programming; Fractional LCD biasing voltages (sourced inside or remotely); Uses the ACLK to create the planning for basic and fragment lines. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 5

Introduction (3/3) LCD_A controller square graph: Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 6

LCD_A Controller Operation (1/7) Can be designed to: Use outside hardware to create the 4 remotely provided voltage levels (R03, R13, R23 and R33), which supply the voltage generator; Use the inner LCD Bias Generator to produce the fragmentary LCD biasing voltages, V2 − V5 free of the hotspot for V LCD : R33  V1: full-scale voltage (V LCD ); R23  V2: 2/3 of full scale; V3: 1/2 of full scale; R13  V4: 1/3 of full scale; R03  V5: ground. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 7

LCD_A Controller Operation (2/7) LCD_A voltage and inclination era: Both the pinnacle yield waveform voltage V1, and also the partial LCD biasing voltages V2 − V5 can be sourced remotely: OSCOFF = 0: Oscillator sourcing ACLK off; LCDON = 0: LCD_A module in latent; To utilize the inner voltage era: OSCOFF = 1: Oscillator sourcing ACLK set; LCDON = 1: LCD_A module dynamic; VLCD might be sourced inside from AV CC or by an interior charge pump. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 8

LCD_A Controller Operation (3/7) LCD voltage and biasing qualities LCD_A controller: The LCD_A controller utilizes the ACLK (32768 Hz) prescaler chose utilizing the LCDFREQx bits; LCD recurrence, f LCD , relies on upon: Framing recurrence, f outline ; Multiplex rate, mux (characterized on the LCD particulars). LCD recurrence: f LCD = 2 × mux × f outline Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 9

LCD_A Controller Operation (4/7) LCD_A voltage determination: V LCD source: AV CC requires: VLCDEXT = 0; VLCDx = 0; VREFx = 0. Inside charge pump sourced from DV CC requires: VLCDEXT = 0; VLCDPEN = 1; VLCDx > 0 (programming selectable LCD voltage from 2.60 V to 3.44 V (common) free of DV CC ); Connect a 4.7  F capacitor between LCDCAP stick and ground. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 10

LCD_A Controller Operation (5/7) LCD_A Bias Generation square graph: Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 11

LCD_A Controller Operation (6/7) LCD_A Bias Generation: External partial LCD biasing voltages, V2 − V5: REXT = 1; External similarly weighted resistor divider (100 k  to 1 M ) ; VLCDEXT = 0: The V LCD voltage is sourced from the interior charge pump, with R33 giving an exchanged V LCD yield; Otherwise (VLCDEXT = 1), R33 gives a V LCD input. R03EXT = 1: V5 is sourced remotely. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 12

LCD_A Controller Operation (7/7) LCD_A Bias Generation: Internal predisposition generator: When LCD2B = 1, bolsters 1/2 inclination LCDs; When LCD2B = 0, underpins 1/3 predisposition LCDs in 2-mux, 3-mux, and 4-mux modes. In static mode, the inward divider system is impaired; For LCD gadgets that share the LCDCAP, R33, and R23 capacities, the charge pump can't be utilized with an outer resistor divider utilizing 1/3 biasing; When R03 is not accessible remotely, V5 is constantly set to AV SS . Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 13

LCD Modes (1/6) LCD_A controller bolsters 4 sorts of LCDs: Static: Each MSP430 portion stick drives: One LCD section. One basic line driven by COM0. Ability to drive 32 fragments. 2-mux, 1/2 inclination (or 1/3 predisposition): Each MSP430 section stick drives: Two LCD fragments; Two normal lines driven by COM0 and COM1. Ability to drive 64 sections. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 14

LCD Modes (2/6) LCD_A controller bolsters 4 sorts of LCDs: 3-mux, 1/3 inclination (or 1/2 predisposition): Each MSP430 section stick drives: Three LCD portions; Three basic lines driven by COM0, COM1, and COM2. Ability to drive 90 fragments. 4-mux, 1/3 predisposition (or 1/2 inclination): Each MSP430 fragment stick drives: Four LCD sections; Four normal lines driven by COM0, COM1, COM2, and COM3. Ability to drive 120 portions. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 15

LCD Modes (3/6) Static LCD: One stick for every fragment; One stick for the backplane. Highlights: High complexity proportion; Large number of pins. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 16

LCD Modes (4/6) 2-mux LCD: Reduced stick check; LCD sections multiplexed: Matrix of fragments; Two basic pins (COM0 and COM1). Case: 2-mux; Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 17

LCD Modes (5/6) 3-mux LCD 1 fragment stick to drive: 3 LCD portions; 3 normal lines (COM0 to COM2) . Illustration: 3-mux, 1/3 inclination. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 18

LCD Modes (6/6) 4-mux LCD 1 portion stick to drive: 4 LCD sections; 4 basic lines (COM0 to COM3). Case: 4-mux, 1/3 predisposition. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 19

LCD_A Controller Registers (1/4) LCDACTL, LCD_A Control Register Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 20

LCD_A Controller Registers (2/4) LCDAPCTL1, LCD_A Port Control Register 1 LCDAPCTL0, LCD_A Port Control Register 0 Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 21

LCD_A Controller Registers (3/4) LCDAVCTL0, LCD_A Voltage Control Register 0 Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 22

LCD_A Controller Registers (4/4) LCDAVCTL1, LCD_A Voltage Control Register 1 Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 23

Laboratory 4: LCD Message Display (1/18) Summary: This lab uses the MSP430FG4618 LCD_A controller provided with the Experimenter's board; This application plays out a showing of the LCD, initiating the different LCD fragments. A. Assets: The LCD show on the Experimenter's board does not have its own LCD controller; This operation is given by MSP430FG4618; The interface between these two segments is portrayed in the Experimenter's Board datasheet. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 24

Laboratory 4: LCD Message Display (2/18) A. Assets (proceeded with): Connections between the MSP430FG4618 and the Softbaugh LCD SBLCDA4. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 25

Laboratory 4: LCD Message Display (3/18) A. Assets (proceeded): Softbaugh LCD SBLCDA4 fragments depiction. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 26

Laboratory 4: LCD Message Display (4/18) A. Assets (proceeded): Softbaugh LCD SBLCDA4 fragments show. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 27

Laboratory 4: LCD Message Display (5/18) A. Assets (proceeded with): Use the LCD in 4-mux mode; Use the charge pump ; The sections imparted to the I/O capacity are not utilized by the LCD, being made by the association with the S4 to S25 fragments; The four lines COM1, COM2, and COM3 are shared by ports P5.2, P5.3 and, P5.4, separately. The COM0 line is additionally utilized; The pins R03, R13, R23 and LCDCAP/R33 are utilized to give the V5, V4, V3, V2 and V1 (VLCD) voltages utilizing an outside resistors arrange and are accessible at Header H5. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 28

Laboratory 4: LCD Message Display (6/18) A. Assets (proceeded with): Use low power mode 3 (LPM3); Timer_A together with the TACCR0 unit are utilized to create a hinder once every second; The LED1 and LED2 are exchanged at each Timer_A intrude on; The catch SW1 is utilized to change the estimation of voltage produced by the charge pump; The catch SW2 is utilized to change the LCD recurrence. Copyright 2009 Texas Instruments All Rights Reserved www.msp430.ubi.pt

Slide 29

Laboratory 4: LCD Message Display (7/18) B. Programming application organiz

SPONSORS