User Manual
557
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Flag IS.CHE (Correct Hall Event) is set by signal CM_CHE when the sampled Hall pattern matches the expected
one (EXPH). This flag can also be set by SW by setting bit ISS.SCHE = 1. If enabled by bit IEN.ENCHE = 1, the set
signal for CHE can also generate an interrupt request to the CPU. Bit field INP.INPCHE defines which service
request output becomes activated in case of an interrupt request.To clear flag CHE, SW needs to write
ISR.RCHE = 1.
Flag IS.WHE indicates a Wrong Hall Event. Its handling for flag setting and resetting as well as interrupt request
generation are similar to the mechanism for flag CHE.
The implementation of flag STR is done in the same way as for CHE and WHE. This flag is set by HW by the
shadow transfer signal MCM_ST (see also
).
Please note that for flags CHE, WHE, and STR, the interrupt request generation is triggered by the set signal for
the flag. That means, a request can be generated even if the flag is already set. There is no need to clear the
flag in order to enable further interrupt requests.
The implementation for the IDLE flag is different. It is set by HW through signal CM_WHE if enabled by bit
ENIDLE. Software can also set the flag via bit SIDLE. As long as bit IDLE is set, the modulation pattern field
MCMP is cleared to force the outputs to the passive state. Flag IDLE must be cleared by software by writing
RIDLE = 1 in order to return to normal operation. To fully restart from IDLE mode, the transfer requests for the
bit fields in register MCMOUTS to register MCMOUT have to be initiated by software via bits STRMCM and
STRHP in register MCMOUTS. In this way, the release from IDLE mode is under software control, but can be
performed synchronously to the PWM signal.
Figure 156 Hall Mode Flags
CCU6_MCA05540
Set
CM_CHE
CHE
Clear
Set
RCHE
SCHE
ENCHE
Set
CM_WHE
WHE
Clear
RWHE
SWHE
SIDLE
IDLE
RIDLE
Clear
MCMP
Clear
Hall Compare
Logic
ENIDLE
ENWHE
>1
_
>1
_
>1
_
INPERR
INPCHE
To SR0
To SR1
To SR2
To SR3
To SR0
To SR1
To SR2
To SR3