SPI
16-bit SPI frames with even parity. The reply arrives in the following frame.
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.
Leave this test contact open in normal operation.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | CSn Input | Input | Active-low SPI chip select. |
| 2 | CLK Input | Input | SPI clock. |
| 3 | MISO Output | Output | Serial data from sensor to host. |
| 4 | MOSI Input | Input | Serial data from host to sensor. |
| 5 | TEST Tie to ground | Tie to ground | This test pin must connect to ground. |
| 6 | TEST Leave open | Leave open | Leave this test contact open in normal operation. |
| 7 | TEST Leave open | Leave open | Leave this test contact open in normal operation. |
| 8 | TEST Leave open | Leave open | Leave this test contact open in normal operation. |
| 9 | TEST Leave open | Leave open | Leave this test contact open in normal operation. |
| 10 | TEST Leave open | Leave open | Leave this test contact open in normal operation. |
| 11 | VDD5V Supply input | Supply input | Main input in both the 5 V and 3.3 V configurations. |
| 12 | VDD3V Supply or regulator output | Supply 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. |
| 13 | GND Supply return | Supply return | Connect to the common ground plane or bench return. |
| 14 | PWM Push-pull output | Push-pull output | Pulse-width-modulated angle output. Leave open if unused. |
| Parameter | Limit | Conditions and source |
|---|---|---|
| Supply configurations3.0–3.6 V or 4.5–5.5 V | 3.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 16383 | 14 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 parity | 16 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. |
This map covers the SPI AS5048A. The I²C AS5048B has different functions on pins 1–4.