1.2 PIN DESCRIPTION
V
DD,EVDD,VSS
,
EV
SS,AVDD
,AV
SS,VPP
.
In order to
avoidnoise disturbances,the power supplyof the
digitalpartis keptseparatedfromthepowersupply
of the analogpart.
V
DD.
MainPowerSupply Voltage(5V 10%).
V
SS
.Digitalcircuit Ground.
EV
DD.
EPROM Main Power Supply Voltage (5V
10%).
EV
SS
.EPROMDigitalcircuit Ground.
AV
DD
. Anal og VDDof the Analog to Digital
Converter.
AV
SS
.AnalogVSSoftheAnalogtoDigitalConverter.
Must be tiedto VSS.
VPP. Main Power Supply for the internal EPROM
(12.5V5%).
OSCin and OSCout. These pins are internally
connected with the on-chip oscillator circuit. A
quartz crystal or a ceramic resonator can be
connectedbetweenthesetwopinsinordertoallow
the correct operations of ST52x301 with various
stability/cost trade-offs. An external clock signal
canbe appliedtoOSCin,in thiscaseOSCoutmust
be grounded.
RESET
.Thissignalis used torestart ST52x301at
thebeginningof itsprogram.Italsoallowsto select
the program mode forthe EPROM.
INT
. External interrupt active on rising or falling
edge.
AIN0-AIN3. These 4 lines are connected to the
inputs of the analog multiplexer. They allow to
acquire4 analoginputs.
BG
.A Voltageequalto 2.5Visavailableonthispin.
It can be used forAnalogsignal conditioning.
P0-P7.These8 lines areorganizedas oneI/Oport.
During the Programmingphase such port is used
forthe EPROM data read/write.
READY.Handshakesignal of the parallelport.
P8.Digital output.
TxD. Serial data output of the SCI transmitter
block.
RxD
. Serial data input of the SCI receiver
block.
TRES,TCLK,TCTRL, TIMEROUT.These pins are
relatedwith the internalProgrammableTimer.The
Timer can be reset externally by using TRES. In
Working Mode, TRES resets the address counter
of the Timer.TRES is active atlowlevel
The Timer Clock can be the internal clock or can
be supplied externally by using the pin TCLK.
AnexternalStart/Stopsignalcanbeusedto control
theTimerthroughthepinTCTRL.TheTimeroutput
is availableon thepin TIMEROUT.
MAIN1,MAIN2,TRIACOUT
. ST52x301 is able to
drive a TRIAC in two different modes:Burst mode
or Phase AnglePartializationcontrolmode.
The Burst mode is usedforthermal regulation.
MAIN1 and MAIN2 signals are used to detect the
zero crossingof the main voltage.
ThepulsetodrivetheTRIACis givenbyTRIACOUT
pin.
It is possible to use the samepins to implement a
PWM Driver. In this case it is possible to fix the
periodof PWMand to changethe dutycycleon fly.
ThePWM output isgiven by TRIACOUT pin.
CE,OE,ERES,CADD,V
PP
. These pins are used
to manage the EPROM during the Programming
phase. During the Programming phase
(programming) V
PP
must be set at 12V. In the
Working phase V
PP
mustbe equalto VDD.
ERES in Programming Mode resets the address
counterof the EPROM;it is active athigh level.
Inthe Workingphase OE,CE andCADDare used
likehandshakingsignalsfor the parallelport.
MODE
. It selects the function ment mo de
(Programmingor Working mode).
TEST.It enablesthe testing functionalities;during
theProgrammingandWorkingphaseitmustbeset
to 0.
5/99
ST52T301/E301