Spark Logic

AS5048A magnetic rotary encoder pinout

The AS5048A reads the absolute angle of a rotating diametrically magnetized magnet. It reports 14-bit angular position over SPI and provides a separate PWM output.

TSSOP-14

14 contacts Current package

ams OSRAM ·

TSSOP-14 pinout

Top view. Start at the package pin-1 index and follow the numbered leads.
Selected pin details

14 · PWM

Push-pull output · Outputs

Pulse-width-modulated angle output. Leave open if unused.

ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.

Electrical limits · Link to this pin

All 14 pins

PinSignalDirectionFunction
1CSn InputInput Active-low SPI chip select.
2CLK InputInput SPI clock.
3MISO OutputOutput Serial data from sensor to host.
4MOSI InputInput Serial data from host to sensor.
5TEST Tie to groundTie to ground This test pin must connect to ground.
6TEST Leave openLeave open Leave this test contact open in normal operation.
7TEST Leave openLeave open Leave this test contact open in normal operation.
8TEST Leave openLeave open Leave this test contact open in normal operation.
9TEST Leave openLeave open Leave this test contact open in normal operation.
10TEST Leave openLeave open Leave this test contact open in normal operation.
11VDD5V Supply inputSupply input Main input in both the 5 V and 3.3 V configurations.
12VDD3V Supply or regulator outputSupply or regulator output Tie to VDD5V for 3.3 V operation. In 5 V operation, fit the specified 10 µF capacitor and attach no external load.
13GND Supply returnSupply return Connect to the common ground plane or bench return.
14PWM Push-pull outputPush-pull output Pulse-width-modulated angle output. Leave open if unused.

Signal assignments

PWM

Angle can also be measured from the PWM timing without using the serial interface.

Electrical limits

ParameterLimitConditions and source
Supply configurations3.0–3.6 V or 4.5–5.5 V3.0–3.6 V or 4.5–5.5 V Select the wiring for VDD3V according to the supply configuration. ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.
Angle code14 bits · 0 to 1638314 bits · 0 to 16383 One turn is 360°, so one ideal code step is approximately 0.022°. This is resolution. ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.
SPI transfer16 bits · even parity16 bits · even parity Read the response and error flag on the frame after the command. ams OSRAM DS000298 v1-11, Figures 4–5 and 11, and the SPI interface section.

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.