English
Language : 

C508_01 Datasheet, PDF (151/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
6.3.4.1 Control Register BCON
The BCON register controls the selection of multi-channel PWM modes. It also contains
the block commutation interrupt enable and status bit/flag.
Special Function Register BCON (Address D7H)
Reset Value: 00H
Bit No. MSB
7
D7H
BCMP
BCEM
6
PWM1
5
PWM0
4
3
2
EBCE BCERR BCEN
1
BCM1
LSB
0
BCM0
BCON
Bit
BCMP
BCEM
PWM1
PWM0
EBCE
Function
In multi-channel PWM mode: Machine polarity
If BCMP is set and multi-channel PWM mode is selected (PWM1, 0 ≠
0, 0), all enabled compare outputs COUTx and CCx are switched to
the Compare Timer 2 output signal during their active phase. If BCMP
is cleared, only the COUTx outputs are switched to the Compare
Timer 2 output signal during the active phase in multi-channel PWM
mode. CMSELx3 must be set for that functionality.
In block commutation mode: Error mode select bit
If BCEM is set in block commutation mode, in rotate right or rotate left
mode additionally a “wrong follower” condition causes the setting of
BCERR if EBCE is set.
Multi-channel PWM mode selection
These bits select the operating mode of the multi-channel PWM
modes.
PWM1
0
0
1
1
PWM0 Function
0
Block commutation mode (for hall sensor inputs)
1
4-phase multi-channel PWM mode
0
5-phase multi-channel PWM mode
1
6-phase multi-channel PWM mode
Enable interrupt of block commutation mode error
If EBCE is set, the emergency interrupt for a block commutation mode
error condition of the CCU is enabled. In block commutation mode, an
emergency error condition occurs if a false signal state at INT2 - INT0
or a wrong follower state (if selected by bit BCEM) is detected (see
also Table 6-10).
User’s Manual
6-86
2001-05