ST7MC1xx/ST7MC2xx
MOTOR CONTROL CHARACTERISTICS (Cont’d)
Figure 154. Example 5: Waveforms for sensor HST update timing diagram for a newly selected
phase input
fmtc = 2 x fcpu
fSCF
write IS[1:0] = 01
Sampling time
MCIx
d
Comparator
output
sample
HST (MCRC)
IS[1:0] (MPHST)
XX
01
Sampling of sensor input is done at fSCF, so after writing IS[1:0] in the MPHST register
for input selection, you have to wait:
1) 1/fmtc to resynchronize the data and set the MCIx bit
2) 100ns corresponding to the comparator & multiplexer propagation delay (d)
3) 1/fSCF to sample the comparator output
4) 1/fmtc to resynchronize the data and set the HST bit
Example with fPERIPH = fmtc = 4MHz :
SCF[1:0]
00
01
10 11
fSCF
1MHz 500kHz 250kHz 125kHz
Secure
waiting
time
2µs 3µs 5µs 9µs
to read HST
277/309