Application guide for the Fairchild FCM8531 dual‑core processor showing how to configure the AMC Hall interface for motor control.
This guide explains how to use the AMC Hall interface library with the Fairchild FCM8531 dual‑core processor. It covers the theory behind the Hall‑based angle predictor, configuration steps in the MCDS IDE, and provides example source files and firmware snippets.
The document details PWM settings, Hall signal filtering, protection options, communication mailbox registers, command codes, and the required initialization routines for Hall‑mode operation. It also lists the generated header and source files that should not be edited manually. This manual is written in Chinese.
| Recommended PWM frequency | 15 kHz – 20 kHz |
|---|---|
| Hall signal input configuration 0 | HA=P14, HB=P15, HC=P16 |
| Hall signal input configuration 1 | HA=P24, HB=P25, HC=P26 |
| Command code for Hall pin configuration | 0x80 |
The PWM control modes are sine‑wave mode and square‑wave mode; the default is sine‑wave mode.
The run command uses CMD_RUN with index 0x10.