Electronic Components Datasheet Search
  English  ▼

X  

AN1447 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN1447
Description  SOFTWARE DRIVER FOR 4-MULTIPLEXED LCD WITH A STANDARD ST62
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1447 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN1447 Datasheet HTML 8Page - STMicroelectronics AN1447 Datasheet HTML 9Page - STMicroelectronics AN1447 Datasheet HTML 10Page - STMicroelectronics AN1447 Datasheet HTML 11Page - STMicroelectronics AN1447 Datasheet HTML 12Page - STMicroelectronics AN1447 Datasheet HTML 13Page - STMicroelectronics AN1447 Datasheet HTML 14Page - STMicroelectronics AN1447 Datasheet HTML 15Page - STMicroelectronics AN1447 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 26 page
background image
12/26
4-MULTIPLEXED LCD WITH A STANDARD ST62
wave_ddr:
DB
001h,002h,004h,008h,001h,002h,004h,008h
wave_dr:
DB
00fh,00fh,00fh,00fh,00eh,00dh,00bh,007h
wave_or:
DB
001h,002h,004h,008h,001h,002h,004h,008h
When applying these values to the port registers, LCD_Do uses a mask (COM_MASK equate) to
modify only the appropriate pins. To modify the Data Register, it uses DR_com_2 shadow reg-
ister.
How to customise: it is easy to modify the pins allocation for backplane pins, as long as they
all belong to the same I/O port. You only need to change COM_MASK and the three constant ta-
bles.
2.2.2 Generation of frontplane signals
Here, LCD_Do only has to update the Data Register. But operations are more complex be-
cause of character coding.
The procedure contains four steps:
Step 1: Writing into variables that are images of min_dig0, min_dig1, hr_dig0, hr_dig1
and icons, taking flashing into account : the image variable contains either a blank value or
the content of the original variable. This image variable represents what is really to be dis-
played on the LCD. For example, if a digit displays a flashing “9”, its image variable contains
alternately '9' or 'f' (code for blank digit).
Step 2: Updating the Data shadow Register only considering the 7-segment characters. This
requires a constant table to store character coding.
Step 3: Updating the Data shadow Register taking the icons into account.
Step 4: Copying the Data shadow Register into the Data Register.
Steps 1 and 4 are independent from I/O pins allocation, so they will not be described here.
Step 2 starts by clearing the Data shadow Register for all the frontplane pins. Then, for each
7-segment digit, the cycle of operations described by Figure 8 modifies this shadow register.
Due to the mask mechanism, the ADD operation is equivalent to an OR (the ST6 instruction
set does not supply a direct OR operation).
Because all icon segments are located on the first backplane (COM0), Step 3 is performed
only in phases
ϕ
0 and ϕ4. After Step 2, the Data shadow Register is configured in a way that
all icon segments are OFF. Step 3 consists in correcting the shadow register to make sure that
all required icons are ON. To do this, it performs bit manipulation instructions with the following
bit definition equates:
ICON0_SEG
EQU
1
ICON1_SEG
EQU
3
ICON2_SEG
EQU
5
ICON3_SEG
EQU
7



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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