Motorola M68HC08 Manual page 56

Low power bldc drive for fans using the mc68hc908qy4 reference design
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

Software Design
Designer Reference Manual
56
Freescale Semiconductor, Inc.
Table 6-4. Commutation Table
HS Pattern Result
0
1
2
3
4
5
6
7
The s/w implementation for counter-clockwise direction of rotation of the
above mentioned commutation table is described below:
const unsigned char BLDC_COMMUTATION_TABLE_CCW[8] =
{
TURN_OFF
,
VECTOR_B
,
VECTOR_D
,
VECTOR_C
,
VECTOR_F
,
VECTOR_A
,
VECTOR_E
,
TURN_OFF
};
where:
#define TURN_OFF
#define VECTOR_A
#define VECTOR_B
#define VECTOR_C
#define VECTOR_D
#define VECTOR_E
#define VECTOR_F
The output vector is then generated on port using command:
Software Design
For More Information On This Product,
Go to: www.freescale.com
Commutation Vector
CCW
OFF
B
D
C
F
A
E
OFF
/* turn-off */
/* turn-off */
0x00
0x06
0x24
0x21
0x09
0x18
0x12
Commutation Vector
CW
OFF
E
A
F
C
D
B
OFF
DRM046 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents