as5030 austriamicrosystems, as5030 Datasheet - Page 16

no-image

as5030

Manufacturer Part Number
as5030
Description
8-bit High-speed Absolute Magnetic Rotary Encoder
Manufacturer
austriamicrosystems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AS5030
Manufacturer:
AMS
Quantity:
20 000
Part Number:
as5030-ATST
Manufacturer:
AMS
Quantity:
1 001
Part Number:
as5030-ATSU
Manufacturer:
AUSTRIAM
Quantity:
20 000
AS5030 8-bit Programmable Magnetic Rotary Encoder
5.2
Data transmission with the AS5030 is handled over the 2-wire or 3-wire interface. The transmission protocol begins with sending
a 5-bit command to the AS5030, followed by reading or writing 16 or 18 bits of data:
5.2.1
C2
Lock
AGC
Angle
5.2.2
These settings are temporary; they cannot be programmed permanently. The settings will be lost when the power supply is
removed.
EN PROG
ULP/LPn
PSM
HYS
DIS AGC
rst
FA
5.2.3
Note: to prohibit unintentional access to the OTP register, OTP PROG/write access is only enabled after the EN PROG
command (see 5.2.2) has been sent. OTP access is locked again by sending a RD ANGLE or SET PWR MODE command.
EN PROG has not to be sent before a READ OTP.
During the 18bit OTP read/write transfer, each bit needs 4 clock pulses to be validated.
READ OTP
ANALOG OTP RD reads the contents of the OTP register as an analog voltage at pin PROG (see 5.4)
sens
zero position
Rev. 1.8
Command
ANGLE
EN PROG
SET PWR
MODE
DIS HYST
DIS AGC
Command
ANALOG
Command
OTP RD
RD
READ
OTP
AS5030 Read / Write Commands
displays status of hardware pin C2 (pin #15)
indicates that the AGC is locked. Data is invalid when this bit is 0
16-bit Read Command
6-bit AGC register. Indicates the strength of the magnet (e.g. for pushbutton applications)
000000
111111
ideally, the vertical distance of the magnet should be chosen such that the AGC value is in the middle (around
100000b)
8-bit Angle value; represents the rotation angle of the magnet. One step = 360°/256 = 1.4°
16-bit Write Command
18-bit OTP Read Commands
00000
Bin
01111
01001
10000
10001
10011
10101
Bin
b
b
Bin
Hex
00
indicates a strong magnetic field
indicates a weak magnetic field
this command must be sent with a fixed 16-bit code (8CAE
selects the Ultra Low Power Mode, when bit PSM is set: 0 = Low Power Mode, 1 = Ultra Low Power Mode
enables power saving modes: 0 = normal operation, 1 = reduced power mode selected by bit ULP/LPn
disables the hysteresis of the digital serial and PWM outputs:
0 (default) = 1-bit hysteresis, 1 = no hysteresis
disables the automatic gain control. The AGC will be frozen to a gain setting written in bits AGC 5:0 (D6:D1),
bit FA must be set.
General Reset: 0 = normal operation, 1 = perform general reset (required after return from reduced power
modes)
Freeze AGC; 0 = normal operation, 1= freeze AGC with the values stored in bits AGC 5:0. The PWM output
will be invalid when bit FA is set.
reads the contents of the OTP register in digital form. The reserved area may contain any value
reads the sensitivity setting of the Hall elements : 00 = high sensitivity, 11 = low sensitivity
reads the programmed zero position; the actual angle of the magnet which is displayed as 000
Hex
0F
09
D15
C2
Hex
10
11
13
15
D17
lock
ULP/
D14
HYS
LPn
D15
1
0
D16
PSM
reserved for factory settings
reserved for factory settings
D13
D14
0
0
D15
D13
D12
0
0
D14
www.austriamicrosystems.com
D12
D11
0
0
AGC 5:0
D13
D11
1
0
D10
D12 D11
D10
rst
1
D9
D10
D9
0
0
D8
D9
D8
0
0
sens
sens
1:0
1:0
D7
H
D8
D7
) to enable subsequent OTP access.
1
0
0
D6
0
D7
D6
0
D5
D6
D5
1
D5
D4
Angle 7:0
D4
AGC 5:0
0
zero position
zero position
D4
D3
7:0
7:0
D3
1
D3
D2
D2
1
D2
D1
D1
1
D1
Page 16 of 33
D0
D0
FA
D0
0

Related parts for as5030