Rev. 1.20 142 January 23, 2015 Rev. 1.20 143 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
SCOM and SSEG Function for LCD
ThedeviceshavethecapabilityofdrivingexternalLCDpanels.ThecommonpinsforLCDdriving,
SCOM0~SCOM3,SSEG0~SSEG19,arepinsharedwithcertainpinsontheI/Oports.TheLCD
signals(COMandSEG)aregeneratedusingtheapplicationprogram.
LCD Operation
AnexternalLCDpanelcanbedrivenusingthedevicesbyconguringtheI/Opinsascommonpins
andconguringtheI/Opinsassegmentpins.TheLCDdriverfunctioniscontrolledusingtheLCD
controlregisterswhichinadditiontocontrollingtheoverallon/offfunctionalsocontrolstheSCOM
andSSEGoperatingcurrent.ThisenablestheLCDCOMandSEGdrivertogeneratethenecessary
V
SS
,(1/3)V
DD
,(2/3)V
DD
voltageandV
DD
levelsforLCD1/3biasoperation.
TheLCDENbitintheSLCDC0registeristheoverallmastercontrolfortheLCDdriver,however
thisbitisusedinconjunctionwiththeCOMnENandSEGnENbitstoselectwhichI/OPortpins
areusedforLCDdriving.NotethatthePortControlregisterdoesnotneedtorstsetupthepinsas
outputstoenabletheLCDdriveroperation.
LCD Driver Structure