データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN3114 データシート(PDF) 40 Page - STMicroelectronics

部品番号 AN3114
部品情報  This application note describes techniques for connecting
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3114 データシート(HTML) 40 Page - STMicroelectronics

Back Button AN3114 Datasheet HTML 35Page - STMicroelectronics AN3114 Datasheet HTML 36Page - STMicroelectronics AN3114 Datasheet HTML 37Page - STMicroelectronics AN3114 Datasheet HTML 38Page - STMicroelectronics AN3114 Datasheet HTML 39Page - STMicroelectronics AN3114 Datasheet HTML 40Page - STMicroelectronics AN3114 Datasheet HTML 41Page - STMicroelectronics AN3114 Datasheet HTML 42Page - STMicroelectronics AN3114 Datasheet HTML 43Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 40 / 43 page
background image
LCD segment drive firmware
AN3114
40/43
Doc ID 16829 Rev 3
5.2.1
LCD controller setup
The following steps are recommended to configure the LCD controller:
1.
Enable the LCD clock.
2.
Configure the RTC clock source.
3.
Configure the duty ratio and the bias.
4.
Configure the frame frequency in the operating frequency range of the LCD glass, that
is between 20 and 85 Hz.
5.
Configure the voltage source.
6.
Configure the port mask registers according to the pins used as segment lines.
7.
If the internal voltage source is selected, then adjust the contrast using the contrast
bits.
8.
If the external voltage source is selected, then adjust the contrast using the dead time
bits.
9.
The contrast can be adjusted also using the pulse on duration bits.
10. Enable the LCD controller.
In this application, the LCD controller is configured as follows:
●
LCD clock source frequency
fLCDCLK = LSE frequency = 32.768 KHz
●
Prescaler factor = 2
●
Divider factor = 18 (16 + 2)
●
Mode = 1/4 Duty, 1/3 Bias applies to medium density STM8L152xx devices (PD-878
LCD Glass) and Mode = 1/8 Duty, 1/4 Bias applies to high density
STM8L152xx/STM8L162xx devices (HXO5002B custom LCD glass)
●
LCD clock frequency
The LCD clock frequency, fframe, is given by the equation below:
As a result, if fck_div equals 228 Hz, fframe = 57Hz for PD-878 LCD glass and fframe =
28.5 Hz for custom LCD glass HXO5002B.
f
frame
f
ck_divxduty
f
LCDCLK
2
PS
x16
DIV
+
()
------------------------------------------xduty
==



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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


データシート ダウンロード

Go To PDF Page


リンク URL



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