Page 16 ams Datasheet
Document Feedback [v2-06] 2014-Oct-14
AS5055A − SPI Interface
SPI Write Data Frame
Figure 18:
SPI Write Data Frame
The parity bit PAR is calculated for the upper 15 bits.
In a SPI write transaction, the write command frame (e.g. Write
ADD[n]) is followed by a data frame (e.g. DATA [x]). In addition
to writing an address in the AS5055A, a write command frame
causes the old contents of the addressed register (e.g. DATA [y])
to be sent on MISO in the following frame. This is followed by
the new contents of the addressed register (DATA [x]) as shown
in Figure 19.
Figure 19:
SPI Write Transaction
Bit 15 1413121110987654321 0
Data 15:2 DC PAR
Bit Name Description
15:2 Data 14 bit write data
1 DC Don’t Care
0 PAR Parity bit (even) calculated on the upper 15 bits
Write ADD[n] DATA(x)
CSn
Write ADD[m]
Data ADD[n] Data ADD[m]DATA(x)
Command CommandData to write into ADD[n]
Data content ADD[n] Data content ADD[m]
New Data content
of ADD[n]
MOSI
MISO
DATA(y)
Data to write into ADD[m]
Next
command
Command
DATA(y)
New Data content
of ADD[m]
ams Datasheet Page 17
[v2-06] 2014-Oct-14 Document Feedback
AS5055A − SPI Interface
SPI Connection to the microcontroller
Figure 20:
Single Slave Mode
µC AS5055A
MOSI
MISO
SCK
SS/
INT/
MOSI
MISO
SCK
SS/
INT/
Wire Mode
µC AS5055A
4 wire mode
MISO
Angle 1 Angle 2 Angle 3
MOSI
0xFFFF
Read angle 1
0xFFFF
Read angle 2
0xFFFF
Read angle 3
0xFFFF
Read angle 4
SS/
MISO
SS/
3 wire mode (Read only)
Angle 1 Angle 2 Angle 3
1
MOSI
MISO
SCK
SS/
INT/
Wire Mode
0xFFFF
MOSI
MISO
SCK
SS/
INT/
1
µC AS5055A
MISO
SS/
3 wire mode (Bi-Directional)
0xFFFF
Read angle 1
Angle 1
0xFFFF
Read angle 2
Angle 2
MOSI
MISO
SCK
SS/
INT/
Wire Mode
MOSI
MISO
SCK
SS/
INT/
0
INT/
INT/
INT/
Page 18 ams Datasheet
Document Feedback [v2-06] 2014-Oct-14
AS5055A − SPI Interface
Daisy Chain, 4 Wire
Figure 21:
Daisy Chain, 4 Wire
µC
AS5055A
1
INT/
MOSI
MISO
SCK
SS/
MOSI
MISO
SCK
SS/
Wire Mode
En_INT/
AS5055A
2
MOSI
MISO
SCK
SS/
Wire Mode
En_INT/
AS5055A
3
MOSI
MISO
SCK
SS/
Wire Mode
En_INT/
1
0
1
1
INT/
INT/
INT/
MISO
MOSI
0xFFFF
Read angle 3
0xFFFF
Read angle 2
0xFFFF
Read angle 1
SS/
Angle 3 Angle 2 Angle 1
0xFFFF
Read angle 3
0xFFFF
Read angle 2
0xFFFF
Read angle 1
INT/

AS5055A-BQFT

Mfr. #:
Manufacturer:
ams
Description:
Magnetic Sensors Board Mount Hall Effect / Magnetic Sensors 12B 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