AS5047P (14-bit magnetic angle encoder, SPI)
ams AS5047P: absolute on-axis magnetic rotary encoder, 14 bit (0.022°) over SPI (mode 1, up to 10 MHz, 16-bit frames with even parity; the answer to a read comes with the next frame). Read ANGLECOM (0x3FFF, command word 0xFFFF). A diametral magnet on the shaft end, 0.5–2.5 mm above the chip. 3.3 V: VDD and VDD3V3 together, 1 µF + 100 nF; 5 V: VDD 5 V, 1 µF at VDD3V3. In the simulation it reads the rotor angle of the motor named in "Motor" (divided by the gear ratio for an output-side encoder).
Key data
- Category
- ICs
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- AS5047P-ATSM
- Reference prefix
- U
- Pins
- 14
- Land pattern
- TSSOP-14_4.4x5mm_P0.65mm
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- as5047p
- Supply pins
- 11 / 13
Pins 14
| Pin | Name | Use |
|---|---|---|
| 1 | CSnInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| 2 | CLKInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| 3 | MISOOutput pin | Logic output: drives the next input; do not tie outputs together |
| 4 | MOSIInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| 11 | VDDSupply pin | Supply input: decouple with 100 nF close to the pin |
| 12 | VDD3V3Supply pin | Supply input: decouple with 100 nF close to the pin |
| 7 | AOutput pin | Logic output: drives the next input; do not tie outputs together |
| 6 | BOutput pin | Logic output: drives the next input; do not tie outputs together |
| 14 | I/PWMOutput pin | Logic output: drives the next input; do not tie outputs together |
| 10 | UOutput pin | Logic output: drives the next input; do not tie outputs together |
| 9 | VOutput pin | Logic output: drives the next input; do not tie outputs together |
| 8 | W/PWMOutput pin | Logic output: drives the next input; do not tie outputs together |
| 13 | GNDGround pin | Ground |
| 5 | TESTGround pin | Ground |
Parameters 3
motorReference of the motor whose shaft carries the magnet (e.g. M1); empty = the first PMSM motor
ratioMotor turns per encoder turn: 1 on the rotor, the gearbox ratio for an output-side encoder
offsetAngle the encoder reads with the rotor at 0°
PCB
TSSOP-14_4.4x5mm_P0.65mm| Package | Land pattern | Status | Source |
|---|---|---|---|
| TSSOP-14 · AS5047P-ATSM | TSSOP-14_4.4x5mm_P0.65mm | Verified land pattern | KiCad Package_SO:TSSOP-14_4.4x5mm_P0.65mm; AS5047P datasheet v2-00 pin assignment: 1 CSn, 2 CLK, 3 MISO, 4 MOSI, 5 TEST, 6 B, 7 A, 8 W/PWM, 9 V, 10 U, 11 VDD, 12 VDD3V3, 13 GND, 14 I/PWM |
| |||