ams Datasheet Page 19
[v2-06] 2014-Oct-14 Document Feedback
AS5055A − Registers
The on-chip registers are shown in Figure 22.
Figure 22:
Registers
POR OFF (0x3F22)
Writing the value 0x5A to the POR OFF Register (0x3F22)
deactivates the POR cell and reduces the current consumption
in low power mode (I
OFF
).
Software Reset (0x3C00)
Writing to the Software Reset Register initiates a Software
Reset. With the RES SPI bit of the Data Package set to 1 it is
possible to reset the SPI registers. After a software reset a new
angle conversion is started; this is needed to set the AS5055A
into an initial state. This angle is not readable by the
microcontroller.
The AS5055A is ready as soon as INT/ is driven low or a minimum
time (t
readout
) has elapsed.
Figure 23:
Software Reset Command
Name Address Bits Mod Default Description
POR OFF 0x3F22 7:0 R/W 0x0000 Power On Reset OFF
Software Reset 0x3C00 13:0 W 0x0000 Software Reset
Master Reset 0x33A5 13:0 W 0x0000 Master Reset
Clear EF 0x3380 13:0 R 0x0000 Clear Error Flag
NOP 0x0000 13:0 W 0x0000 No Operation
AGC 0x3FF8 5:0 R/W 0x0020 Automatic Gain Control
Angular Data 0x3FFF 13:0 R 0x0000 Measured Angle
Error Status 0x335A 13:0 R 0x0000 Error Status Register
System Config 0x3F20 9:13 R/W 0x000 System Configuration Register 1
Bit 1514131211109876543 2 1 0
Content011 11000000000 0PAR
Registers
Page 20 ams Datasheet
Document Feedback [v2-06] 2014-Oct-14
AS5055A − Registers
Figure 24:
Data Package
Master Reset (0x33A5)
Writing to the Master Reset Register initiates a Master Reset.
This is similar to the Software Reset with the difference that no
data package is needed.
Figure 25:
Master Reset Command
Clear Error Flag (0x3380)
Reading from the Clear Error Flag Register clears the Error Flag
which is contained in every Read Data Frame. The Read data is
0x0000 which indicates a successful clear command.
Figure 26:
Clear Error Flag Command
Bit151413121110 9 8 76 5 4 3 2 1 0
DC
RES
SPI
DC PAR
Bit Name Description
15:3 DC Don’t Care
2 RES SPI If set to 1 the SPI registers are reset as well
1 DC Don’t Care
0 PAR Parity bit (even) calculated on the upper 15 bits
Bit 1514131211109876543 2 1 0
Content011 00111010010 1PAR
Bit 1514131211109876543 2 1 0
Content111 00111000000 0PAR
ams Datasheet Page 21
[v2-06] 2014-Oct-14 Document Feedback
AS5055A − Registers
Possible Conditions which force the Error Flag to be set:
Wrong parity
Wrong command
Wrong number of clocks
Note(s): If the error flag is set to 1 because of a communication
problem the flag remains set until a Clear Error Flag Command
is executed.
No Operation (0x0000)
The No Operation (NOP) command represents a dummy write
to the AS5055A. If no error happens the chip responds with
0x0000.
Figure 27:
NOP Command
AGC – Automatic Gain Control (0x3FF8)
Writing a value different than zero to this register, stops the AGC
loop and keeps a constant AGC value.
Figure 28:
AGC
Angular Data (0x3FFF)
Figure 29:
Angular Data
Bit 1514131211109876543 2 1 0
Content000 00000000000 0PAR
Name Read/Write Bit Position Description
AGC R/W 5:0 Automatic Gain Control value
Name Read/Write Bit Position Description
Alarm Lo R 13 Alarm flag, which indicates a too weak magnetic field
Alarm Hi R 12 Alarm flag, which indicates a too strong magnetic field
Angle Value R 11:0 Angular value in 12 bit binary code

AS5055A-BQFM

Mfr. #:
Manufacturer:
ams
Description:
Magnetic Sensors Board Mount Hall Effect / Magnetic Sensors 15B Rotary Position Sensor (Encoder)
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet