SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 204

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
The incremental encoder can be connected directly to the C164CM without external
interface logic. In a standard system, however, comparators will be employed to convert
the encoder’s differential outputs (such as A, A) to digital signals (such as A). This greatly
increases noise immunity.
Note: The third encoder output Top0, which indicates the mechanical zero position, may
Figure 10-7 Connection of the Encoder to the C164CM
For incremental interface operation, the following conditions must be met:
• Bitfield T3M must be ‘110
• Both pins T3IN and T3EUD must be configured as input. e.g. the respective direction
• Bit T3UDE must be ‘1’ to enable automatic direction control.
The maximum input frequency allowed in incremental interface mode is
ensure that a transition of any input signal is recognized correctly, its level should be held
high or low for at least 8
two input signals with a 90 phase shift are evaluated, their maximum input frequency
can be
In Incremental Interface Mode, the count direction is automatically derived from the
sequence in which the input signals change, which corresponds to the rotation direction
of the connected sensor.
Table 10-7
Level on respective
other input
High
Low
User’s Manual
control bits must be ‘0’.
be connected to an external interrupt input and trigger a reset of timer T3 (for
example via PEC transfer from ZEROS).
f
CPU
/32.
GPT1 Core Timer T3 (Incremental Interface Mode) Count Direction
Encoder
Rising
Down
Up
f
CPU
Table 10-7
T0
T0
A
A
B
B
B
cycles before it changes. As in Incremental Interface Mode
’.
T3IN Input
summarizes the possible combinations.
Signal
Conditioning
Falling
Up
Down
10-10
T0
A
B
Rising
Up
Down
General Purpose Timer Unit
T3Input
T3Input
Interrupt
Controller
T3EUD Input
MCS04372
C164CM/C164SM
Falling
Down
Up
Derivatives
V1.0, 2002-02
f
CPU
/16. To

Related parts for SAF-C164SM