st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 164

no-image

st7fmc2s7t6

Manufacturer Part Number
st7fmc2s7t6
Description
8-bit Mcu With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, Five Timers, Spi, Linsci
Manufacturer
STMicroelectronics
Datasheet
ST7MC1/ST7MC2
MOTOR CONTROLLER (Cont’d)
10.6.6.13 Encoder Mode (IS[1:0] = 11)
Figure 90
ard digital incremental encoder and associated in-
formation:
Figure 89. Tacho Capture events configured by the TES[1:0] bits
Figure 90. Incremental Encoder output signals and derived information
164/308
1
– Two 90° phased square signals with variable
– Clock derived from incoming signal edges,
– Direction information determined by the rela-
frequency proportional to the speed; they
must be connected to MCIA and MCIB input
pins,
tive phase shift of input signals ( + or -90°).
Capture
Encoder
Tacho
inputs
(EDIR bit)
Direction
shows the signals delivered by a stand-
Encoder
Clock
Tacho
input
MCIA
MCIB
The Incremental Encoder Interface block aims at
extracting these signals. As input logic is both ris-
ing and falling edge sensitive (independently from
TES[1:0] bits setting), resulting clock frequency is
four times the one of the input signals, thus in-
creasing resolution for measurements.
It may be noticed that Direction bit (EDIR bit in
MCRC register) is read only and that it does’nt af-
fect counting direction of clocked timer (cf
). As a result, one cannot extract position informa-
tion from encoder inputs during speed reversal.
Sampling of MCIA to determine direction
TES[1:0]=01
TES[1:0]=11
TES[1:0]=10
Section

Related parts for st7fmc2s7t6