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

X  

AN2687 データシート(PDF) 13 Page - STMicroelectronics

部品番号 AN2687
部品情報  STM8S20xxx LCD software driver
PDF  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2687 データシート(HTML) 13 Page - STMicroelectronics

Back Button AN2687 Datasheet HTML 9Page - STMicroelectronics AN2687 Datasheet HTML 10Page - STMicroelectronics AN2687 Datasheet HTML 11Page - STMicroelectronics AN2687 Datasheet HTML 12Page - STMicroelectronics AN2687 Datasheet HTML 13Page - STMicroelectronics AN2687 Datasheet HTML 14Page - STMicroelectronics AN2687 Datasheet HTML 15Page - STMicroelectronics AN2687 Datasheet HTML 16Page - STMicroelectronics AN2687 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 22 page
background image
AN2687
Example of a quadruplex LCD driver with STM8
Doc ID 14296 Rev 1
13/22
same interrupt function) and 2 Overflow events (OVF) in each phase. The latter are
described below:
During CCR1_1, VDD is applied to the segments that have to be turned on and 0, to the
segments that have to be turned off. The COM line that corresponds to this phase is set
to low level. Other COM lines are set to the VDD/2 level.
During OVF1, all COM lines are inactive (set to low level), then if Vrms has to be
decreased (see Figure 6) all segments are set low or, if it has to be increased (see
Figure 7), all segments are set high.
During CCR1_2, the segment lines are supplied with voltage levels that are inverted
compared to those applied during CCR1_1. The COM line that corresponds to this
phase is set to high level. Other COM lines are set to the VDD/2 level.
During OVF2, if Vrms has to be decreased then all COM lines and segments are
inactive (set to low level) and if Vrms has to be increased (see Figure 7), the COM lines
are set high and the segments are set low.
In order to reduce consumption, the MCU is placed in WFI (wait for interrupt) mode in the
main routine. The MCU is then woken up by the Timer 2 interrupts and the external
interrupts (PA4/PA5 connected to push-buttons, refer to Section 6 for more information).
3.2
Second method: Auto-wakeup
In this method, the LCD timing is generated by the Auto-wakeup time base. The MCU is
placed in Auto-wakeup mode, meaning that it is in Halt mode but woken up periodically as
the LSI source clock (embedded low-power RC around 128 kHz) remains active. When
woken up, the MCU toggles the COM and SEG lines in the AWU interrupt routine, exactly as
it was doing in the previous method in the Timer 2 interrupt routine.
The software contrast control is not as easy to implement with this method as AWU timeouts
are fixed. It could be less fine-tuned.
Using this method, consumption can be very low (a total consumption of 1.08 mA at 3.3 V
with HSI as the master clock).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


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

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