NXP UM11545 user manual for the eCompass component, covering prerequisites, design, integration and calibration.
The eCompass component is a development model that provides an eCompass algorithm implementation using a 3-axis accelerometer and a 3-axis magnetometer with platform independent interfaces. The platform interface abstracts the underlying communication driver in the SDK, tool chains and MCUs.
This manual describes the component's prerequisites, design, directory structure and integration with the MCUXpresso SDK. It also covers the magnetic calibration method, which requires rotating the board along all three axes or twisting it in a figure 8 motion.
| Document number | UM11545 |
|---|---|
| Revision | Rev. 1 — 28 January 2021 |
| Sensors used | 3-axis accelerometer and 3-axis magnetometer |
| Tested platform | FRDM-K64F (Cortex M4F core) with MCUXpresso SDK |
| Calibration method | Hard iron compensation by rotating the board along all 3-axes or twisting it in a figure 8 motion |
It provides an eCompass algorithm implementation using a 3-axis accelerometer and a 3-axis magnetometer with platform independent interfaces.
The user must rotate the board along all 3-axes or twist the board in a figure 8 motion to ensure all 3-axes orientations are captured.
The component was limit tested on the NXP FRDM-K64F with a Cortex M4F core, integrating with the MCUXpresso SDK.
It provides abstraction to the underlying communication driver in the SDK, tool chains and MCUs.