AS5048A magnetic rotary encoder connection guide
AS5048A magnetic rotary encoder TSSOP-14 wiring guide with power, signal assignments, and bench checks.
TSSOP-14
14 contacts Current packageRead absolute angle with a 3.3 V host
RequiredTie VDD5V and VDD3V together on the 3.3 V rail. Fit both bypass capacitors and ground test pin 5 only. Center a diametrically magnetized magnet over the sensor.
- +3.3 V
- VDD5V (11)
- VDD3V (12)
- Host 3.3 V
- C1.1
- C2.1
- Ground
- Chip select
- CSn (1)
- Host CS
- Serial clock
- CLK (2)
- Host SCK
- Host to encoder
- MOSI (4)
- Host MOSI
- Encoder to host
- MISO (3)
- Host MISO
Bench checks
- Start at 1 MHz in SPI mode 1, most significant bit first. Send a read of address 0x3FFF in one 16-bit frame and clock the reply in the next frame.
- Check response parity and the error flag. Rotate the magnet and confirm that the code changes and wraps once per revolution.
ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.
TSSOP-14 wiring map
8 · TEST
Leave this test contact open in normal operation.
Models and documents
This map covers the SPI AS5048A. The I²C AS5048B has different functions on pins 1–4.
- AS5048A
- SPI and PWM version.
- AS5048A manufacturer documentation· ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.
