English
Language : 

C501_1 Datasheet, PDF (39/121 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller
On-Chip Peripheral Components
C501
The described activating and deactivating of the four different transistors results in four states which
can be:
– input low state (IL), p2 active only
– input high state (IH) = steady output high state (SOH), p2 and p3 active
– forced output high state (FOH), p1, p2 and p3 active
– output low state (OL), n1 active
If a pin is used as input and a low level is applied, it will be in IL state, if a high level is applied, it
will switch to IH state. If the latch is loaded with “0”, the pin will be in OL state. If the latch holds a
“0” and is loaded with “1”, the pin will enter FOH state for two cycles and then switch to SOH state.
If the latch holds a “1” and is reloaded with a “1” no state change will occur.
At the beginning of power-on reset the pins will be in IL state (latch is set to “1”, voltage level on
pin is below of the trip point of p3). Depending on the voltage level and load applied to the pin, it will
remain in this state or will switch to IH (=SOH) state.
If it is is used as output, the weak pull-up p2 will pull the voltage level at the pin above p3’s trip point
after some time and p3 will turn on and provide a strong “1”. Note, however, that if the load exceeds
the drive capability of p2 (IIL), the pin might remain in the IL state and provide a week “1” until the
first 0-to-1 transition on the latch occurs. Until this the output level might stay below the trip point of
the external circuitry.
The same is true if a pin is used as bidirectional line and the external circuitry is switched from
output to input when the pin is held at “0” and the load then exceeds the p2 drive capabilities.
If the load exceeds IIL the pin can be forced to “1” by writing a “0” followed by a “1” to the port pin.
Semiconductor Group
6-5