
1.2 PIN DESCRIPTION
V
DD,
EV
DD,
V
SS
,
EV
SS,
AV
DD
,AV
SS,
V
PP
.
In orderto
avoidnoise disturbances,the power supply of the
digitalpartiskeptseparatedfromthepowersupply
of the analog part.
V
DD.
MainPowerSupply Voltage(5V 10%).
V
SS
.Digital circuit Ground.
EV
DD.
EPROM Main Power Supply Voltage (5V
10%).
EV
SS
.EPROM Digital circuit Ground.
AV
DD
. Analog V
DD
of the Analog to Digital
Converter.
AV
SS
.AnalogV
SS
oftheAnalogtoDigitalConverter.
Must be tied to V
SS
.
V
PP
. 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 thiscase OSCoutmust
be grounded.
RESET
.Thissignal is used torestartST52x301at
thebeginningof itsprogram.It alsoallowsto select
the programmode for the 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 analog inputs.
BG
.A Voltageequalto 2.5Vis availableon thispin.
It can be used for Analog signal conditioning.
P0-P7
.These8linesareorganizedas oneI/Oport.
During the Programmingphase such port is used
for the EPROM data read/write.
READY
.Handshakesignal of the parallel port.
P8
.Digital output.
TxD
. Serial data output of
block.
the SCI transmitter
RxD
. Serial data input of
block.
TRES
,
TCLK
,
TCTRL
,
TIMEROUT
.Thesepinsare
relatedwith the internal ProgrammableTimer.The
Timer can be reset externally by using TRES. In
Working Mode, TRES resets the address counter
of the Timer.TRES is active at low level
The Timer Clock can be the internal clock or can
be suppliedexternallybyusing the pin TCLK.
AnexternalStart/Stopsignalcanbeusedtocontrol
theTimerthroughthe pinTCTRL.TheTimeroutput
is available on thepin TIMEROUT.
MAIN1
,
MAIN2
,
TRIACOUT
. ST52x301 is able to
drive a TRIAC in two different modes: Burst mode
or Phase AnglePartialization control mode.
The Burst mode is used for thermal regulation.
MAIN1 and MAIN2 signals are used to detect the
zero crossingof the main voltage.
ThepulsetodrivetheTRIACisgivenbyTRIACOUT
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.
The PWM output is given 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 phaseV
PP
mustbe equalto
V
DD
.
ERES in Programming Mode resets the address
counterof the EPROM;it is active at high level.
In the Workingphase OE,CE and CADDare used
like handshakingsignals for the parallelport.
MODE
. It selects the functionment mode
(Programmingor Working mode).
TEST
.It enablesthe testing functionalities;during
theProgrammingandWorkingphaseit mustbeset
to 0.
the SCI receiver
5/99
ST52T301/E301