Spark Logic

AK8963 three-axis magnetometer connection guide

AK8963 three-axis magnetometer (QFN-16 · 3 × 3 mm) connection guide. Connect and bypass the supply rails. Connect an I²C host.

PackageContacts
QFN-16 · 3 × 3 mm 16
WLCSP-14 · 1.59 × 1.59 mm 14

Asahi Kasei Microdevices

Connect and bypass the supply rails

Required

The example uses a shared 3.3 V supply. Fit one local 100 nF capacitor from each supply pin to VSS. With separate rails keep VID ≤ VDD when both are on. A direct transition between VDD-only and VID-only is prohibited in either direction. When VID is at 0 V, keep digital inputs other than SDA and SCL at 0 V, even if VDD remains on.

  • +3.3 V
    • Host 3.3 V
    • C1.1
    • C2.1
  • Ground
    • Host ground
    • C1.2
    • C2.2
C1 100 nF (VDD) between +3.3 V and Ground+3.3 VC1 100 nF (VDD)Ground
C2 100 nF (VID) between +3.3 V and Ground+3.3 VC2 100 nF (VID)Ground

Bench checks

  • With power off, confirm each supply and return connection and verify that the rails are not shorted.

MS1356-E-02 §§ 6.1–6.2 and 9, pp. 12, 33–34.

Connection scenarios

Connect a 4-wire SPI host

Use SPI mode 3 with logic levels set by VID. Ground CAD0 and CAD1. This example ties unused RSTN to VID. Use separate MOSI and MISO lines.

  • +3.3 V
    • Host 3.3 V
    • C1.1
    • C2.1
  • Ground
    • Host ground
    • C1.2
    • C2.2
  • Chip select
    • →
    • Host CS
  • Serial clock
    • →
    • Host SCK
  • Host to sensor
    • →
    • Host MOSI
  • Sensor to host
    • →
    • Host MISO
C1 100 nF (VDD) between +3.3 V and Ground+3.3 VC1 100 nF (VDD)Ground
C2 100 nF (VID) between +3.3 V and Ground+3.3 VC2 100 nF (VID)Ground

Bench checks

  • Read WIA (0x00) and confirm 0x48 before configuring measurements.
  • Once power-on reset has completed, write 0x0F to CNTL1 (0x0A) and read ASAX–ASAZ (0x10–0x12). Write 0x00 to CNTL1 to return to power-down, then wait at least 100 µs before writing the next mode.

MS1356-E-02 §§ 5.3.4, 6.3 and 9.2, pp. 10, 13, 34.

QFN-16 · 3 × 3 mm wiring map

External wiring example · Connect a 4-wire SPI host

Highlighted contacts are used in the required step or selected circuit. Select a contact to highlight its wiring nets.

QFN-16 · 3 × 3 mm

1 · DRDY · Bottom side, contact 1 from the left

Marking-side view (datasheet §10.2). Pin 1 is at the lower left. Pins 9 and 16 are NC.
Selected pin details

1 · DRDY

Output · Interrupts

Active-high data-ready signal. The host can also read the data-ready status bit.

Asahi Kasei Microdevices MS1356-E-02 (October 2013), §§ 4.3, 5–7 and 9–11.

Electrical limits · Pin in the reference

Models and documents

Separate maps cover the AK8963N QFN and AK8963C wafer-level packages. Match the package-specific magnetic axes in the datasheet.

AK8963N
QFN-16 version.