ST62T35B ST Microelectronics, ST62T35B Datasheet - Page 34
![no-image](/images/no-image-200.jpg)
ST62T35B
Manufacturer Part Number
ST62T35B
Description
(ST62E35B / ST62T35B) 8-BIT OTP/EPROM MCUs
Manufacturer
ST Microelectronics
Datasheet
1.ST62T35B.pdf
(82 pages)
- Current page: 34 of 82
- Download datasheet (560Kb)
33
ST62T35B/E35B
I/O PORTS (Cont’d)
4.1.2 Safe I/O State Switching Sequence
Switching the I/O ports from one state to another
should be done in a sequence which ensures that
no unwanted side effects can occur. The recom-
mended safe transitions are illustrated in Figure
19.. All other transitions are potentially risky and
should be avoided when changing the I/O operat-
ing mode, as it is most likely that undesirable side-
effects will be experienced, such as spurious inter-
rupt generation or two pins shorted together by the
analog multiplexer.
Single bit instructions (SET, RES, INC and DEC)
should be used with great caution on Ports Data
registers, since these instructions make an implicit
read and write back of the entire register. In port
input mode, however, the data register reads from
the input pins directly, and not from the data regis-
ter latches. Since data register information in input
mode is used to set the characteristics of the input
pin (interrupt, pull-up, analog input), these may be
unintentionally reprogrammed depending on the
state of the input pins. As a general rule, it is better
to limit the use of single bit instructions on data
Figure 19. Diagram showing Safe I/O State Transitions
Note *. xxx = DDR, OR, DR Bits respectively
34/82
Interrupt
pull-up
Input
pull-up (Reset
state)
Output
Open Drain
Output
Push-pull
010*
000
100
110
registers to when the whole (8-bit) port is in output
mode. In the case of inputs or of mixed inputs and
outputs, it is advisable to keep a copy of the data
register in RAM. Single bit instructions may then
be used on the RAM copy, after which the whole
copy register can be written to the port data regis-
ter:
SET bit, datacopy
LD a, datacopy
LD DRA, a
Care must also be taken to not use INC or DEC in-
structions on a port register when the 8 bits are not
available on the devices.
The WAIT and STOP instructions allow the
ST62xx to be used in situations where low power
consumption is needed. The lowest power con-
sumption is achieved by configuring I/Os in input
mode with well-defined logic levels.
The user must take care not to switch outputs with
heavy loads during the conversion of one of the
analog inputs in order to avoid any disturbance to
the conversion.
011
001
101
111
Open Drain
Push-pull
Analog
Output
Output
Input
Input
Related parts for ST62T35B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ST6-EMU2](/images/no-image3.png)
Part Number:
Description:
ST6-EMU2 emulator
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![st6-12](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-120](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-10](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-16](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-20](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-24](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-28](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-36](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-34](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-30](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-48](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-40](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-56](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st6-88](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet: