数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN594 数据表(PDF) 9 Page - STMicroelectronics

部件名 AN594
功能描述  This note describes a technique for driving
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN594 数据表(HTML) 9 Page - STMicroelectronics

Back Button AN594 Datasheet HTML 5Page - STMicroelectronics AN594 Datasheet HTML 6Page - STMicroelectronics AN594 Datasheet HTML 7Page - STMicroelectronics AN594 Datasheet HTML 8Page - STMicroelectronics AN594 Datasheet HTML 9Page - STMicroelectronics AN594 Datasheet HTML 10Page - STMicroelectronics AN594 Datasheet HTML 11Page - STMicroelectronics AN594 Datasheet HTML 12Page - STMicroelectronics AN594 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 28 page
background image
Direct LCD Drive
9/28
The software for the LCD display operates in interrupt mode, driving I/O pins by the CPU at in-
stants defined by the Timer1 interrupts. When the LCD drive tasks are finished, the main appli-
cation program can continue.
The major tasks of the LCD display routine are:
- generation of the alternate signals which control the backplanes (PB0, PB1)
- drive of the LCD segments through PortA
- conversion of the hexadecimal data to decimal data
- program Timer1 for the next drive sequence
The backplane pattern sequences are different between ST6215x and ST6265x examples.
The ST6215x software is based on non-symetrical signals (see Figure 4). The backplane pat-
terns are symetrical in the ST6265x software. Both are equivalent on the LCD viewpoint.
The ROM code size used is 300 bytes for the program and 256 bytes for the tables. With an
CPU frequency of 8MHz, the display task duration is 240
μs and the full task duration including
decimal conversion is 510
μs. With an LCD period signal of 14ms, the CPU duty cycle of occu-
pation is 2.5% for the LCD drive task. The program can be adjusted to other applications by
modifying the timer duration (FASTIM) and the segment drive byte table. The LCD drive phase
may also be synchronized to the mains zero crossing or a software loop duration, saving the
timer for other tasks.
Summary
The examples presented in this note show that a simple LCD can be driven directly by standard
ST621x/2x/6x/9x microcontrollers. The ST62’s flexible I/O configuration and the large voltage
range of operation of the ST62 family MCU allow an LCD driver to be achieved with very few
surrounding components, small CPU time occupation and reduced ROM program size.
Such an approach is a very cost effective solution for simple LCD displays operating with a
multiplexing rate of 1 or 2 and up to 36 segments. For LCDs requiring more segment drive ca-
pability and/or higher multiplexing rates ST624x and ST628x provide highly integrated and
easy to implement solutions.
Such LCD drive features can easily be included in a larger application including keyboard inter-
face, sensor display or motor control.
We thank the company Akotronic for the ST6215x application example they have developed
for this note.
Annex 1: Software of the ST6215x based application
Annex 2: Flowchart and software of the ST6265x based application



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com