You are on page 1of 53

A1335

Precision Hall-Effect Angle Sensor IC


with I 2C, SPI, and SENT Interfaces
FEATURES AND BENEFITS DESCRIPTION
• 360° contactless high-resolution angle position sensor The A1335 is a 360° contactless high-resolution programmable
• CVH (Circular Vertical Hall) technology magnetic angle position sensor IC. It is designed for digital
• Available with either a single die or dual independent die systems and is capable of communicating via an I2C, SPI, or
housed within a single package SENT interface.
• Programmable range—can scale 22.5° to full-scale
This system-on-chip (SoC) architecture includes a front
digital output
end based on Circular Vertical Hall (CVH) technology,
• Digital output format selectable among SPI, I2C, and
programmable microprocessor-based signal processing, and
SENT (Single-Edge Nibble Transmission)
features an interface capable of supporting I2C, SPI, and SENT.
• SENT output is SAEJ2716 JAN2010 compliant, with
Besides providing full-turn angular measurement, the A1335
Allegro proprietary enhanced programmable features
also provides scaling for angle measurement applications less
• Customer-programmable SENT tick times, ranging
than 360°. It includes on-chip EEPROM technology, capable of
from 0.5 to 6 µs
supporting up to 100 read/write cycles, for flexible programming
• SPI interface allows use of multiple independent sensor
of calibration parameters.
ICs for applications requiring redundancy
• Refresh rate: 32 µs, 12-bit resolution Digital signal processing functions, including temperature
• Wide range of diagnostics enable automotive applications compensation and gain/offset trim, as well as advanced output
to achieve ASIL-D compliance linearization algorithms, provide an extremely accurate and
• Programmable via Manchester encoding on the VCC linear output for both end-of-shaft applications as well as
line, reducing external wiring off‑axis applications.
• Automotive temperature range: –40°C to 150°C
The A1335 is ideal for automotive applications requiring high-
Continued on the next page… speed 360° angle measurements, such as: electronic power
Packages: steering (EPS), transmission, torsion bar, and other systems
that require accurate measurement of angles. The A1335
linearization schemes were designed with challenging off-axis
applications in mind.
The A1335 is available as a single die in a 14-pin TSSOP, or
dual die in a 24-pin TSSOP. Both packages are lead (Pb) free
Not to scale
with 100% matte-tin leadframe plating.
Single SoC, 14-pin TSSOP Dual Independent SoCs, 24-pin
(suffix LE) TSSOP (suffix LE)

V+
SOC Die
VCC (also To all internal circuits Analog Front End
programming)
Regulator
BYP
Multisegment
CVH Element

SENT SENT
Interface Digital
CBYP(VCC) Diagnostics Subsystem
SDA/MISO

SCL/SCLK
CBYP(BYP) I2C/SPI
SA0/CS Interface
32-bit
SA1/MOSI Microprocessor ADC

ISEL
VCC
(Programming)
DGND EEPROM

AGND

Functional Block Diagram


A1335-DS
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Features and Benefits (continued)


• Two types of linearization schemes offered: harmonic • 1 mm thin (TSSOP) package
linearization and segmented linearization • Improved air-gap performance, based on continuous
• Microprocessor-based output linearization background calibration
• EEPROM with Error Correction Control (ECC) for trimming
calibration

Selection Guide
Part Number System Die Package Packing*
A1335LLETR-T Single 14-pin TSSOP 4000 pieces per 13-in. reel
A1335LLETR-DD-T Dual 24-pin TSSOP 4000 pieces per 13-in. reel
*Contact Allegro for additional packing options

Table of Contents
Specifications 3 Message Structure 21
Absolute Maximum Ratings 3 SENT Output Mode 27
Thermal Characteristics 3 Shared SENT Protocol 28
Pin-Out Diagram and Terminal List 4 Sequential SENT (SSENT) 30
Operating Characteristics 5 Addressable SENT (ASENT) 32
Functional Description 8 Sensor Magnetic Data Sampling 33
Overview 8 Sensor States: Offline Bus Sync, and
Operation 8 Online 34
Diagnostic Features 11 User-Initiated Diagnostic Support 34
Programming Modes 12 SENT Message Frame Descriptions 36
Manchester Serial Interface 13 SENT Data Programming Parameters 37
Entering Manchester Communication Mode 13 ASENT/SSENT Specific Fields 40
Transaction Types 13 SSENT Specific Fields 41
Writing to EEPROM 13 Application Information 44
Reading from Memory 14 Serial Interface Description 44
Error Checking 14 Magnetic Target Requirements 45
Manchester Message Structure 15 On-Axis Applications 45
Manchester Interface Reference 16 Off-Axis Applications 45
Manchester Access Code 17 Effect of Orientation on Signal 46
Manchester Exit Code 18 Linearization 48
Read 18 Correction for Eccentric Orientation 49
Read Response 19 Harmonic Coefficients 50
Write 19 PCB Layout 50
SENT Output Mode 20 Package Outline Drawings 51

Allegro MicroSystems, LLC 2


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SPECIFICATIONS

Absolute Maximum Ratings


Characteristic Symbol Notes Rating Unit
Forward Supply Voltage VCC 24 V
Reverse Supply Voltage VRCC –18 V
All Other Pins VIN –0.5 to 5.5 V
Operating Ambient Temperature TA L temperature range –40 to 150 ºC
Maximum Junction Temperature TJ(max) 165 ºC
Storage Temperature Tstg –65 to 170 ºC

THERMAL CHARACTERISTICS: May require derating at maximum conditions; see application information
Characteristic Symbol Test Conditions* Value Unit
LE-14 package 82 ºC/W
Package Thermal Resistance RθJA
LE-24 package 117 ºC/W

*Additional thermal information available on the Allegro website.

Allegro MicroSystems, LLC 3


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces
Terminal List Table
Pin Number
Pin Name1
LE-14 LE-24 Function
DGND 1 14 DGND
VCC_1 5 5 Device power supply and input for EEPROM writing pulses. Used
BYP 2 13 SA0/CS to enter/exit Manchester Serial Communication mode; serves as
12 SA1/MOSI
VCC_2 – 17 programming data input once mode has been entered.
DGND 3
NC 4 11 SCL/SCLK AGND_1 7 3
Device analog ground terminal.
VCC 5 10 SDA/MISO AGND_2 – 15
NC 6 9 SENT BYP_1 2 2 Internal bypass node, connect with bypass capacitor to DGND (die 1).
AGND 7 8 ISEL
BYP_2 – 14 Internal bypass node, connect with bypass capacitor to DGND (die 2).
DGND_1 1, 3, 14 1, 24
LE-14 Package Device digital ground terminal.
DGND_2 – 12,13
(Single SoC)
Selects between I2C operation (set to logic low)
ISEL_1 8 18 or SPI operation (set to logic high) (for SENT/Manchester operation set
low) (die 1)
Selects between I2C operation (set to logic low)
DGND_1 1 24 DGND_1
ISEL_2 – 6 or SPI operation (set to logic high) (for SENT/Manchester operation set
BYP_1 2 23 SA0_1/CS_1 low) (die 2).
AGND_1 3 22 SA1_1/MOSI_1
NC 4, 6 4, 16 Not Connected; connect to GND for optimal ESD performance.
NC 4 21 SCL_1/SCLK_1
I2C: SA0 digital input. Sets slave address bit 0 (LSB)2; tie to BYP for 1,
VCC_1 5 20 SDA_1/MISO_1
tie to DGND for 0.
19 SENT_1 SA0_1/
ISEL_2 6
13 23 SPI: Chip Select input, active low (die 1).
C̄ S̄¯ _1
SENT_2 7 18 ISEL_1 Manchester: LSB of the ID value for Die 1. tie to BYP for 1, to DGND
SDA_2/MISO_2 8 17 VCC_2 for 0. Must be in I2C operation (ISEL set to a logic low).
SCL_2/SCLK_2 9 16 NC
I2C: SA0 digital input. Sets slave address bit 0 (LSB)2; tie to BYP for 1,
SA1_2/MOSI_2 10 15 AGND_2 tie to DGND for 0.
SA0_2/
SA0_2/CS_2 11 14 BYP_2 – 11 SPI: Chip Select input, active low (die 2).
C̄ S̄¯ _2
DGND_2 12 13 DGND_2 Manchester: LSB of the ID value for Die 2. tie to BYP for 1, to DGND
for 0. Must be in I2C operation (ISEL set to a logic low).

LE-24 Package I2C: SA1 digital input: Sets slave address bit 1 (LSB)2; tie to BYP for 1,
tie to DGND for 0.
(Dual SoC) SA1_1/
12 22 SPI: Master Output / Slave Input terminal (die 1).
MOSI_1
Manchester: MSB of the ID value for Die 1. tie to BYP for 1, to DGND
for 0. Must be in I2C operation (ISEL set to a logic low).
I2C: SA1 digital input: Sets slave address bit 1 (LSB)2; tie to BYP for 1,
tie to DGND for 0.
SA1_2/
– 10 SPI: Master Output / Slave Input terminal (die 2).
MOSI_2
Manchester: MSB of the ID value for Die 2. tie to BYP for 1, to DGND
for 0. Must be in I2C operation (ISEL set to a logic low).
SCL_1/ Digital input: Serial clock (I2C: SCL, SPI: SCLK); open drain, pull up
11 21
SCLK_1 externally to 3.3 V (die 1).
SCL_2/ Digital input: Serial clock (I2C: SCL, SPI: SCLK); open drain, pull up
– 9
SCLK_2 externally to 3.3 V (die 2).
I2C: Digital data terminal: digital output of evaluated target angle, also
SDA_1/
10 20 programming data input; open drain, pull up externally to 3.3 V (die 1).
MISO_1
SPI: Master Input / Slave Output terminal (die 1).
I2C: Digital data terminal: digital output of evaluated target angle, also
SDA_2/
– 8 programming data input; open drain, pull up externally to 3.3 V (die 2).
MISO_2
SPI: Master Input / Slave Output terminal (die 2).
SENT transmission output terminal (die 1); Manchester output in
SENT_1 9 19
Manchester mode; open drain, pull-up to external supply.
SENT transmission output terminal (die 2); Manchester output in
SENT_2 – 7
Manchester mode; open drain, pull-up to external supply.
1 Thenumber following the underscore refers to the die number in a dual SOC variant
2 For
additional information, refer to the Programming Reference addendum, EEPROM Description and Programming section, regarding the
INTF register, I2CM field.

Allegro MicroSystems, LLC 4


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

OPERATING CHARACTERISTICS: valid throughout full operating voltage and ambient temperature ranges, unless other-
wise specified

Characteristic Symbol Test Conditions Min. Typ.1 Max. Unit2

Electrical Characteristics
Supply Voltage VCC 4.5 5 5.5 V
Supply Current ICC – 15 20 mA
VCC Low Flag Threshold VCCLOW(TH) 4.4 4.55 4.75 V
Supply Zener Clamp Voltage VZSUP IZCC = ICC + 3 mA, TA = 25°C 26.5 – – V
Reverse Battery Voltage VRCC IRCC = –3 mA, TA = 25°C – – –18 V
Power-On Time3,4 tPO TA = 25°C 2 – 40 ms
SPI Interface Specifications5
Digital Input High Voltage3 VIH MOSI, SCLK,  C̄¯ S̄¯  pins 2.8 – 3.63 V
Digital Input Low Voltage3 VIL MOSI, SCLK,  C̄¯ S̄¯  pins – – 0.5 V
SPI Output High Voltage VOH MISO pins, TA = 25°C 2.93 3.3 3.69 V
SPI Output Low Voltage VOL MISO pins – 0.3 – V
SPI Clock Frequency3 fSCLK MISO pins, CL = 50 pF 0.1 – 10 MHz
Chip Select to First SCLK Edge3 tCS Time from C̄¯ S̄
¯  going low to SCLK falling edge 50 – – ns
Data Output Valid Time3 tDAV Data output valid after SCLK falling edge – 45 – ns
MOSI Setup Time3 tSU Input setup time before SCLK rising edge 10 – – ns
MOSI Hold Time3 tHD Input hold time after SCLK rising edge 50 – – ns
SCLK to C̄¯ S̄¯  Hold Time3 tCHD Hold SCLK high time before C̄¯ S̄¯  rising edge 5 – – ns
Load Capacitance3 CL Loading on digital output (MISO) pin – – 50 pF
I2C Interface Specifications (VPU = 3.3 V on SDA and SCL pins)
Bus Free Time Between Stop
tBUF 1.3 – – µs
and Start3
Hold Time Start Condition3 tHD(STA) 0.6 – – µs
Setup Time for Repeated Start
tSU(STA) 0.6 – – µs
Condition3
SCL Low Time3 tLOW 1.3 – – µs
SCL High Time3 tHIGH 0.6 – – µs
Data Setup Time3 tSU(DAT) 100 – – ns
Data Hold Time3 tHD(DAT) 0 – 900 ns
Setup Time for Stop Condition3 tSU(STO) 0.6 – – µs
Logic Input Low Level (SDA and
VIL(I2C) – – 0.9 V
SCL pins)13
Logic Input High Level (SDA and
VIH(I2C) 2.1 – 3.63 V
SCL pins)

Continued on the next page…

Allegro MicroSystems, LLC 5


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

OPERATING CHARACTERISTICS (continued): valid throughout full operating voltage and ambient temperature ranges,
unless otherwise specified

Characteristic Symbol Test Conditions Min. Typ.1 Max. Unit2

I2C Interface Specifications (VPU = 3.3 V on SDA and SCL pins), continued
Logic Input Current3 IIN VIN = 0 V to VCC –1 – 1 µA
Output Voltage (SDA pin) VOL(I2C) RPU = 1 kΩ, CB = 100 pF, TA = 25°C – – 0.6 V
Logic Input Rise Time (SDA and
tr(IN) – – 300 ns
SCL pins)3
Logic Input Fall Time (SDA and
tf(IN) – – 300 ns
SCL pins)3
SDA Output Rise Time3 tr(OUT) RPU = 1 kΩ, CB = 100 pF – – 300 ns
SDA Output Fall Time3 tF(OUT) RPU = 1 kΩ, CB = 100 pF – – 300 ns
SCL Clock Frequency13 fCLK – – 400 kHz
SDA and SCL Bus Pull-Up Resistor RPU – 1 – kΩ
Total Capacitive Load on SDA Line3 CB – – 100 pF
Pull-Up Voltage3 VPU RPU = 1 kΩ, CB = 100 pF 2.97 3.3 3.63 V
SENT Interface Specifications3
SENT Message Duration tSENT Tick time = 3 µs – – 1 ms
Minimum Programmable SENT Tick time = 0.5 µs, 3 data nibbles, SCN, and
tSENTMIN – 96 – µs
Message Duration CRC, nibble length = 27 ticks
VSENT(L) 5 kΩ ≤ Rpullup ≤ 50 kΩ – – 0.10 V
SENT Output Signal Minimum Rpullup = 5 kΩ 0.9 × VS – – V
VSENT(H)
Maximum Rpullup = 50 kΩ 0.7 × VS – – V
VSENTtrig(L) – – 1.4 V
SENT Trigger Signal
VSENTtrig(H) 2.8 – – V
Minimum Time Frame for SENT
Ttrig(MIN) 2 – – µs
Trigger Signal
From end of trigger pulse to beginning of SENT
Triggered Delay Time tdSENT message frame. – 7 – Tick
TSENT (SENT_MODE 3 and SENT_MODE 4)
Maximum Sink Current ILIMIT Output FET on, TA = 25°C – 30 – mA
Magnetic Characteristics
Magnetic Field6 B Range of input field 300 – 1000 G

Continued on the next page…

Allegro MicroSystems, LLC 6


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

OPERATING CHARACTERISTICS (continued): valid throughout full operating voltage and ambient temperature ranges,
unless otherwise specified
Characteristic Symbol Test Conditions Min. Typ.1 Max. Unit2

Angle Characteristics
Output7 RESANGLE – 12 – bit
Effective resolution8 B = 300 G, TA = 25ºC, ORATE = 0 – 10.1 – bits
Angle Refresh Rate9 tANG ORATE = 0 – 32 – µs
All linearization and computations disabled, see
Response Time10 tRESPONSE – 60 – µs
figure 1
TA = 25°C, ideal magnet alignment, B = 300 G,
– ±0.5 – degrees
target rpm = 0, no linearization
Angle Error11 ERRANG
TA = 150°C, ideal magnet alignment, B = 300 G,
–1.3 – +1.3 degrees
target rpm = 0, no linearization
TA = 25°C, 50 samples, B = 300 G, no internal
– 0.6 – degrees
filtering
Angle Noise11, 12 NANG
TA = 150°C, 50 samples, B = 300 G, no internal
– 0.8 – degrees
filtering
TA = 150°C, B = 300 G –1.4 1.4 degrees
Temperature Drift ANGLEDRIFT
TA = –40°C, B = 300 G – ±1.2 – degrees
ANGLEDRIFT- B = 300 G, typical maximum drift observed after
Angle Drift Over Lifetime – ±0.5 – degrees
LIFE AEC Q100 qualification testing
1 Typical data is at TA = 25°C and VCC = 5 V and it is for design information only.
21 G (gauss) = 0.1 mT (millitesla).
3 Parameters for this characteristic are determined by design. They are not measured at final test.
4 End user can customize what power-on tests are conducted at each power-on that causes a range of power-on times. For more information, see the description
of the CFG register.
5 During the power-on phase, the A1335 SPI transactions are not guaranteed.
6 The A1335 operates in Magnetic fields lower than 300 G, but with reduced accuracy and resolution.
7 RES
ANGLE represents the number of bits of data available for reading from the die registers.
8 Effective Resolution is calculated using the formula below:

(
log2 (360) - log2 3 X
32


l=1
)
l

where σ is the Standard Deviation based on thirty measurements taken at each of the 32 angular positions, I = 11.25, 22.5, … 360.
9 The rate at which a new angle reading is ready. This value varies with the ORATE selection.
10 This value assumes no post-processing and is the response time to read the magnetic position with no further computations. Actual response time is dependent on
EEPROM settings. Settings related to filter design, signal path computations, and linearization will increase the response time.
11 Error and noise values are with no further signal processing. Angle Error can be corrected with linearization algorithm, and Angle Noise can be reduced with
internal filtering and slower Angle Refresh Rate value.
12 This value represents 3-sigma or thrice the standard deviation of the measured samples.
13 Parameter is tested at wafer probe only.

Angle Applied Magnetic Field

50
Transducer Output

0
t
Response Time, tRESPONSE

Definition of Response Time

Allegro MicroSystems, LLC 7


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

FUNCTIONAL DESCRIPTION
Overview
The A1335 incorporates a Hall sensor IC that measures the direc- value is calculated.
tion of the magnetic field vector through 360° in the x-y plane
• Microprocessor The preprocess signal is subjected to various
(parallel to the branded face of the device). The A1335 computes
user-selected computations. The type and selection of computa-
the angle based on the actual physical reading, as well as any
tions used involves a trade-off between precision and increased
internal parameters that have been set by the user. The end user
response time in producing the final output.
can configure the output dynamic range, output scaling, and
filtering. P1 Angle Averaging. The raw angle data is received in a periodic
stream, and several samples are accumulated and averaged, based
This device is an advanced, programmable internal microproces- on user-selected output rate. This feature increases the effective
sor-driven system-on-chip (SoC). It includes a Circular Vertical resolution of the system. The amount of averaging is determined
Hall (CVH) analog front end, a high-speed sampling A-to-D con- by the user-programmable ORATE (output rate) field. The user
verter, digital filtering, a 32-bit custom microprocessor, a digital can configure the quantity of averaged samples by powers of
control interface capable of supporting I2C, SPI and SENT, and two to determine the refresh rate, the rate at which successive
digital output of processed angle data. averaged angle values are fed into the post-processing stages. The
Advanced linearization, offset, and gain adjustment options available rates are set as follows:
are available in the A1335. These options can be configured in Table 1: Refresh Rates of Averaged Samples
onboard EEPROM providing a wide range of sensing solutions ORATE Quantity of Samples Refresh Rate
in the same device. Device performance can be optimized by [2:0] Averaged (µs)
enabling individual functions or disabling them in EEPROM to 000 1 32
minimize latency.
001 2 64
Operation 010 4 128
011 8 256
The device is designed to acquire angular position data by sam-
100 16 512
pling a rotating bipolar magnetic target using a multi-segmented
circular vertical Hall-effect (CVH) detector. The analog output 101 32 1024
is processed, and then digitized, and compensated before being 110 64 2048
loaded into the output register. Refer to Figure 1 for a depiction 111 128 4096
of the signal process flow described here.
P1a IIR Filter (Optional). The optional IIR filter can provide
• Analog Front End In this stage, the applied magnetic signal is more advanced multi-order filtering of the input signal. Filter
detected and digitized for more advanced processing. coefficients can be user-programmed, and the FI bit can be pro-
grammed by the user to enable or disable this feature.
A1 CVH Element. The CVH is the actual magnetic sensing ele-
ment that measures the direction of the applied magnetic vector. P2 Angle Compensation The A1335 is capable of compensating
for drift in angle readings that result from changes in the device
A2 Analog Signal Conditioning. The signal acquired by the
temperature through the operating ambient temperature range.
CVH is sampled.
The device comes from the factory pre-programmed with coeffi-
A3 A-to-D Converter. The analog signal is digitized and handed cient settings to allow compensation of linear shifts of angle with
off to the Digital Front End stage. temperature.
• Digital Front End In this preprocessing stage, the digitized P2a Prelinearization Rotation (Optional, but required if lin-
signal is conditioned for analysis. earization used). The linearization algorithms require input func-
tions that are both continuous and monotonically increasing. The
D1 Digital Signal Conditioning. The digitized signal is deci- LR bit sets which relative direction of target rotation results in an
mated and band pass filtered. increasing angle value. The bit must be set such that the input to
D2 Raw Angle Computation. For each sample, the raw angle the linearization algorithm is increasing.

Allegro MicroSystems, LLC 8


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

CVH
A1 Element
Analog
Front End
A2 Analog Signal
(Applied Magnetic Conditioning
Signal Detection)

A to D
A3 Converter

Digital Digital Signal


D1 Conditioning
Front End
(Digital Logic for
Processing) Raw Angle
D2 Computation
Sample Rate
(Resolution)
Angle
P1 Averaging
(Optional) P1a
IR Filter
Angle
P2 Compensation

(Optional) P2a
Prelinearization
Rotation

P2b
(Optional)
Gain Offset
Minimum/
P3 Maximum
Angle Check*

P4 Gain Adjust*
Microprocessor P4b
(Angle Processing) (Optional)
P4a Prelinearization
(Optional) 0 Offset
Harmonic
Linearization (Optional) P4c SRAM
Segmented
Linearization

(Optional) EEPROM
P5 Postlinearization
0 Offset
(Optional) P5a
Postlinearization
Rotation
(Optional)
P6 Angle Clamping*

P7 Angle Rounding
to 12 Bits
(Optional) P7a
Angle Primary Serial Interface
Inversion
(Optional)
Die Adjust
* Short Stroke Applications Only

Figure 1: Signal Processing Flow (refer by index number to text descriptions)

Allegro MicroSystems, LLC 9


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

P2b Gain Offset (Optional). Allows zeroing out of the angle P4c Segmented Linearization (Optional). Applies user-pro-
prior to applying Gain. Set via the GAIN_OFFSET field. Angle = grammed error correction coefficients (set in the LINC registers)
Angle - GAIN_OFFSET. to the raw angle measurements. Use the SL bit to enable seg-
mented linearization.
P3 Minimum/Maximum Angle Check (Short Stroke Appli-
cations Only). The device compares the raw angle value to the P5 Postlinearization 0 Offset (Optional). This computation
angle value boundaries set by the user programming the MIN_ assigns the final angle offset value, to set the low expected angle
ANGLE_S or MAX_ANGLE_S fields. If the angle is excessive, value to code 0 in the output dynamic range, after all linearization
an error flag is set at ERR[AH] (high boundary violation) or and processing has been completed. Set using the ZERO_OFF-
ERR[AL] (low boundary violation). This feature is useful for SET field.
applications that use angle strokes less than 360 degrees (short
P5a Postlinearization Rotation (Optional). This feature allows
stroke). (Note: This feature is only active if the Short Stroke bit
the user to chose the polarity of the final angle output, relative to
has been set.)
the result of the Prelinearization Rotation direction setting (LR
P4 Gain Adjust (Short Stroke Applications Only). This bit bit, described above). Set using the RO bit.
adjusts the output dynamic range of the device. For example, if
P6 Angle Clamping (Short Stroke Applications Only). The
the application only requires 45 degrees of stroke, the user can
A1335 has the ability to apply digital clamps to the output signal.
set this field such that a 45-degree angular change would be
This feature is most useful for applications that use angle strokes
distributed across the entire 4095 → 0 code range. Set using the
less than 360 degrees. If the output signal exceeds the upper
GAIN field. (Note: This feature is only active if the Short Stroke
clamp, the output will stay at the clamped value. If the output
bit has been set.)
signal is lower than the lower clamp, the output will stay at the
P4a Harmonic Linearization (Optional). Applies user-pro- low clamp value. Set using the CLAMP_HI and CLAMP_LO
grammed error correction coefficients (set in the LINC registers) fields. (Note: This feature is only active if the Short Stroke bit
to the raw angle measurements. Use the HL bit to enable har- has been set.)
monic linearization.
P7 Angle Rounding to 12 Bits. All of the internal calculations
P4b Prelinearization 0 Offset (optional but required if for angle processing in the A1335 take place with 16-bit preci-
Segmented Linearization is used). The expected angle values sion. This step rounds the data into a 12-bit word for output
should be distributed throughout the input dynamic range to opti- through the Primary Serial Interface.
mize angle post-processing. This is mostly needed for applica-
P7a Angle Inversion (Short Stroke Application Only). Rota-
tions that use full 360-degree rotations. This value establishes the
tion within the high and low clamp values. [CLAMP_HI - (Angle
position that will correspond to zero error. This value should be
- CLAMP_LO)]. (Note: This feature is only active if the Short
set such that the 360 ≥ degree range corresponds to the 4095 ≥ 0
Stroke bit has been set.)
code range. Setting this point is critical if segmented linearization
is used. This is required prior to going through linearization, as P8 Die Adjust (Optional). Rotates final angle 180 degrees. Used
the compensation requires a continuous input function to operate to compensate for the 180 degree offset between die in dual SoC
correctly. Set using the LIN_OFFSET field. packages.

Allegro MicroSystems, LLC 10


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Diagnostic Features angle measurements will be generated by the sensor. The


test is implemented by changing the transducer switch
The A1335 was designed with diagnostic requirements in mind configuration from normal mode into a test configuration,
and supports many on-chip diagnostics as well as error/status allowing a test current to drive the CVHD in place of the
flags, enabling the host microcontroller to assess the operational
magnetic field. By changing the direction of the test current
status of each die.
and sequencing different elements within the CVH, the self-
In addition, the A1335 supports three different on-chip user- test emulates a changing magnetic field angle. The measured
initiated diagnostics. angle is monitored to determine a passing or failing device.
A failure of the CVH self-test will assert the ST flag. If the
USER-INITIATED DIAGNOSTICS self-test was initiated via the Extended Access Command, test
results for the individual Hall elements will be stored in the
The following three internal self-tests may be configured to run SRAM CmdStatus field (0x00) and the primary serial interface
at power-on, and may also be initiated at any time by the system ERD register (0x0E through 0x11).
microcontroller via Extended Access commands through the
• SRAM BIST
SPI/I2C interface. A failure of any one of the three self-tests will
The SRAM Built-In Self-Test (BIST) verifies proper
assert the Self-Test Failure Flag, ST, within the extended error
functionality of the SRAM. The test may be run in either long
register. The specific failing test can be identified by performing
or short mode, and can be configured to halt on error. A failure
an extended address-read (address 0xFFFC).
of the SRAM BIST will assert the ST flag. When enabled
• CVH Self-Test to run on power-up, the short test mode is used, requiring
The CVH self-test is a signal path diagnostic used to verify approximately 100 µs to complete. For more information on
both analog and digital system integrity. Test execution SRAM BIST options, consult the A1335 programming guide.
requires approximately 36 ms, during which time no new

Table 2: Status and Error Flags


Fault Condition Description Sensor Response
VCC < VCCLOW(TH)(min) Indicates potential for reduced angle accuracy UV error flag is set
VCC > 8.8 V Indicates possible system level power supply failure OV error flag is set*
MAG_HIGH programmable from 0-1240 G in 40 G steps. Monitors Mag Field
Field > MAG_HIGH MH flag is set
level in case of mechanical failure
MAG_LOW programmable from 0-620 G in 20 G steps. Monitors Mag Field
Field < MAG_LOW ML flag is set
level in case of mechanical failure
–60°C > TA > 180°C Ambient temperature beyond maximum rating detected TR flag is set
Processor Halt Monitors digital logic for proper functionality WT and WC Flags set
Single-Bit EEPROM Error (correctable) Detects and corrects a single-bit EEPROM Error ES error flag is set
Multi-Bit EEPROM Error (uncorrectable) Detects a multi-bit uncorrectable EEPROM ERROR EU error flag is set
Single-Bit SRAM Error (correctable) Detects and corrects a single-bit SRAM Error SS Error flag is set
Multi-Bit SRAM Error (uncorrectable) Detects a multi-bit uncorrectable SRAM ERROR SU Error flag is set
Angle-Processing Errors New angle measurement did not occur within the maximum time allotted. AT flag is set
Angle value (prior to scaling by Gain) is outside the range set by MIN_ANGLE
Angle Out of Range The AL or AH flag is set
and MAX_ANGLE. Short Stroke only.
Determine if system power was lost. Also detects a reset of the internal
Loss of VCC POR and RC flags are set
microprocessor
Indicates a failure of one of the three internal self-tests. SRAM BIST, ROM
Self-Test Failure Checksum Verification, and CVH self-test. Tests can be individually configured ST flag set
to run at power-up and may also be user initiated.
* EEPROM programming pulses result in OV flag assertion.

Allegro MicroSystems, LLC 11


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

• ROM Checksum In addition to setting the undervoltage (UV) flag, a VCC ramp
Verification of the ROM checksum may be configured to take will also change the state of the output pins (SDA/MISO and
place at power-on. In addition, the checksum is continuously SENT) as the part enters and exits the reset condition. This is
recalculated in the background during normal operation shown in Figure 2.
(independent of power-on configuration). This test may be
For more information on diagnostic features and flags, refer to
initiated at any time by the system microcontroller via an
the programmers guide for a more complete description of the
Extended Access Command (0xFFE0). If the self-test was
available flags and settings.
initiated via the Extended Access Command, the failing
checksum is stored in the CmdStatus SRAM register (0x00). A
bad ROM checksum asserts the Self-Test Failure Flag, ST.

VCC (V)

VCC Low Flag Threshold, VCCLOW(TH)


4.4

POR
3.8
3.7
POR
UV UV
Error Error
Flag Flag
Set Set

Angle Angle t
State of SDA/MISO High Output Accurate Output High
and SENT Pins Impedance Accuracy Angle Output Accuracy Impedance
Reduced Reduced

Figure 2: Relationship of VCC and Output

Programming Modes tion development and bench-testing. The EEPROM provides


persistent storage at end of line for final parameters. At Power-on
The EEPROM can be written through the dedicated I2C or SPI initialization, the EEPROM contents are read into the correspond-
interface pins or via Manchester encoding on the VCC pin, allow- ing SRAM. Provided the Lock Microprocessor [LM] bit within
ing process coefficients to be entered and options selected. (Note: EEPROM is not set, SRAM can be overwritten during operation
programming EEPROM also requires the VCC line to be pulsed, (Use Caution). The EEPROM is permanently locked by setting
which could adversely affect other devices if powered from the the lock EEPROM [LE] bit in the EEPROM.
same line). Certain operating commands also are available by
writing directly to SRAM. The EEPROM and SRAM provide The A1335 EEPROM is programmed via either the I2C, the SPI,
parallel data structures for operating parameters. The SRAM or the VCC pin Serial Interface, with additional power provided
provides a rapid test and measurement environment for applica- by pulses on the VCC pin to set the EEPROM bit fields.

Allegro MicroSystems, LLC 12


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

MANCHESTER SERIAL INTERFACE


To facilitate addressable device programming when using the Transaction Types
unidirectional SENT output mode with no need for additional
wiring, the A1335 incorporates a serial interface on the VCC As shown in Figure 3, the A1335 receives all commands via the
line. (Note: The A1335 may be programmed via the SPI or I2C VCC pin, and responds to Read commands via the SENT pin.
interfaces, with additional wiring connections. For detailed This implementation of Manchester encoding requires the com-
information on part programming, refer to the A1335 program- munication pulses be within a high (VMAN(H)) and low (VMAN(L))
ming manual). This interface allows an external controller to read range of voltages on the VCC line. Writing to EEPROM is sup-
and write registers in the A1335 EEPROM and volatile memory. ported by two high voltage pulses on the VCC line.
The device uses a point-to-point communication protocol, based Each transaction is initiated by a command from the controller;
on Manchester encoding per G.E. Thomas (a rising edge indi- the A1335 does not initiate any transactions. Two commands are
cates a 0 and a falling edge indicates a 1), with address and data recognized by the A1335: Write and Read.
transmitted MSB first. The addressable Manchester code imple-
mentation uses the logic states of the SA0/SA1 pins to set address Writing to EEPROM
values for each die. In this way, individual communication with When a Write command requires writing to non-volatile
up to four A1335 die is possible. EEPROM, after the Write command, the controller must also
To prevent any undesired programming of the A1335, the serial send two Programming pulses, high-voltage strobes via the VCC
interface can be disabled by setting the Disable Manchester bit pin. These strobes are detected internally, allowing the A1335 to
(0x30B bit 23) to a 1. With this bit set, the A1335 will ignore any boost the voltage on the EEPROM gates.
Manchester input on VCC.

Entering Manchester Communication Mode


Provided the Disable Manchester bit is not set in EEPROM, the
A1335 continuously monitors the VCC line for valid Manchester
commands. The part takes no action until a valid Manchester Write/Read Command -
Access Code is received. Manchester Code

There are two special Manchester code commands used to


activate or deactivate the serial interface and specify the output
format used during Read operations:
VCC ECU
1. Manchester Access Code: Enters Manchester Communica-
tion Mode; Manchester code output on the SENT pin.
A1335
2. Manchester Exit Code; returns the SENT pin to normal SENT
(angle data) output format. Read Manchester Code
Once the Manchester Communication Mode is entered, the SENT
GND
output pin will cease providing angle data, interrupting any data
transmission in progress.

Figure 3: Top-Level Programming Interface

Table 3: EEPROM Value for Serial Communication


Address Bits Parameter Name Description
0x30B 23 Disable Manchester (DM) When set (logic 1) the A1335 ignores any Manchester input on the VCC line

Allegro MicroSystems, LLC 13


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Reading Data Using Manchester Encoding Error Checking


A Read command with the desired register number is sent from The serial Manchester interface uses a cyclic redundancy check
the controller to the A1335. The device responds with a Read (CRC) for data-bit error checking (synchronization bits are
Response frame using the Manchester protocol. ignored during the check).
In addition to the contents of the requested memory location, a The CRC algorithm is based on the polynomial
Return Status field is included with every Read Response. This
g(x) = x3 + x + 1 ,
field provides the ID used to communicate with the part and any
errors which may have occurred during the transaction. These bits and the calculation is represented graphically in Figure 4.
are: The trailing 3 bits of a message frame comprise the CRC token.
• ID – ID (SA1/SA) unless BC = 1 (ID will be 00) The CRC is initialized at 111.
• BC – Broadcast; ID field was zero or SPI mode active
• AE – Abort Error; edge detection failure after sync detect
• OR– Overrun Error; A new Manchester command has been
received before the previous request could be completed C0 C1 C2 Input Data
• CS – Checksum error; a prior command had a checksum error
Table 4: Return Status Bits
Return Status Bits (5 bits) 1x 0 1x 1 0x 2 1x 3 = x3 + x + 1
5 4 3 2 1 0
Figure 5: Manchester CRC Calculation
ID BC AE OR CS

Synchronize Return Status Data (16 Bits) CRC

0 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 ... 0/1 0/1 0/1 0/1 0/1
MSB

Figure 4: Manchester Read Response

Allegro MicroSystems, LLC 14


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Manchester Message Structure


The general format of a command message frame is shown in When the A1335 is operating in I2C Mode (ISEL pin set to a
Figure 6. Note that, in the Manchester coding used, a bit value of logic low), the Die ID value is determined by the state of the SA0
1 is indicated by a falling edge within the bit boundary, and a bit and SA1 pins.
value of zero is indicated by a rising edge within the bit bound-
Table 6: Pin Values
ary.
SA1 SA0 ID Value
0 0 ID0
0 1 ID1
1 0 ID2
1 1 ID3

Using the 4 bits of the Chip Select field, die can be selected
via their ID value, allowing up to four die to be individually
addressed and providing for different group addressing schemes.
If Chip Select is all zeros or the A1335 is operating in SPI mode
(ISEL pin set to a logic high), no ID comparison will be made,
allowing all A1335s to be addressed at once.
Figure 6: General Format for Serial Interface
Example: If Chip Select = 1010, all die with ID3 or ID1 will be
Commands
selected.
A brief description of each bit is provided in Table 5.
Note: If the sharing a SENT line with multiple chips/dies, reading
Table 5: Manchester Command General Format must be done one die at a time.
Parameter Table 7: Chip Select
Bits Values Description
Name
Chip Select
Used to identify the beginning of
2 Synchronization 00 ID3 ID2 ID1 ID0
a serial interface command
0 [As required] Write operation
1 Read/Write
1 [As required] Read operation
Used to select a set of target
4 Chip Select 0/1
chips/die, based on ID value.
6 Address 0/1 [Read/Write] Serial address
Requested serial register
16 Data 0/1
contents (Write operation only)
3 CRC 0/1 Incorrect value indicates errors

Allegro MicroSystems, LLC 15


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Manchester Interface Reference

Table 8: Manchester Interface Protocol Characteristics1


Characteristics Symbol Note Min. Typ. Max. Unit
Input/Output Signal Timing
Defined by the input message bit rate sent from
Bit Rate 4 – 100 kbps
the external controller
Data bit pulse width at 4 kbps 243 250 257 µs
Bit Time tBIT
Data bit pulse width at 100 kbps 9.5 10 10.5 µs
Bit Time Error errTBIT Deviation in tBIT during one command frame –11 – +11 %
Required delay from the end of the second
VCC <
Write Delay tWRITE(E) EEPROM Program pulse to the leading edge of – – –
6.0 V
a following command frame
Delay from the trailing edge of a Read
Read Delay tSTART_READ command frame to the leading edge of the Read ¼ × tbit – ¾ × tbit µs
Acknowledge frame
EEPROM Programming Pulse
EEPROM Programming Pulse Delay from last bit cell of write command to start
tsPULSE(E) 40 – – μs
Setup Time of EEPROM programming pulse
Input Signal Voltage
Manchester Code High Voltage VMAN(H) Applied to VCC line 7.8 – – V
Manchester Code Low Voltage VMAN(L) Applied to VCC line – – 5.7 V
Output Signal Voltage (Applied on SENT Line)
Minimum Rpullup = 5 kΩ 0.9 × VS – – V
Manchester Code High Voltage VMAN(H)
Maximum Rpullup = 50 kΩ 0.7 × VS – – V
Manchester Code Low Voltage VMAN(L) 5 kΩ ≤ Rpullup ≤ 50 kΩ – – 0.1 V
1Determined by design.

Allegro MicroSystems, LLC 16


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

The following command messages can be exchanged between the


device and the external controller:
• Manchester Access Code
• Manchester Exit Code
• Read
• Read Response
• Write
For EEPROM address information, refer to the EEPROM
Structure section. For serial address locations, refer to the serial
register map.

Table 9: Manchester Access Code


Function Transmits the Access Code to the A1335. Enters Serial Communication mode with the desired output protocol.
Syntax Sent by the external controller on the A1335 VCC pin.
Related Commands Related command: Serial Exit Code

Access Code
Synchronize Chip Select (16 bits) CRC
Pulse Sequence
0 0 0 0/1 0/1 0/1 0/1 1 1 1 1 1 1 0/1 0/1 0/1 0/1 . . . 0/1 0/1 0/1 0/1 0/1
MSB

Access Codes:
Options Manchester Access Code = 0x62D2
Selects Manchester output on the SENT pin.
The Manchester Access Code operates as a broadcast pulse, meaning the Chip Select field is inconsequential. For
example, if two A1335s configured with ID0 and ID1 respectively are sharing a common VCC line, a Manchester
Examples
Access Code with a Chip Select Value of 0x1 results in both sensors entering Manchester Serial Communication
mode.

Allegro MicroSystems, LLC 17


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 10: Manchester Exit Code


Function Returns the A1335 to normal operation.
Sent by the external controller on the A1335 VCC pin.
Syntax
Manchester Exit Code = Any value other than 0x62d2
Related Commands Manchester Access Codes

Exit Code
Synchronize Chip Select (16 bits) CRC
Pulse Sequence
0 0 0 0/1 0/1 0/1 0/1 1 1 1 1 1 1 0/1 0/1 0/1 0/1 . . . 0/1 0/1 0/1 0/1 0/1
MSB

Options None
Similiar to the Manchester Access code, acts as a broadcast pulse. To exit the serial communication mode, the Exit
Examples
Code can be any value besides the Access Code (such as 0x0000).

Table 11: Read


Determines the serial address within the A1335, from which the next Read Response will transmit data.
Function The A1335 must first receive a Manchester Access Code before responding to a read command.

Syntax Sent by the external controller on the A1335 VCC pin.


Related Commands Read Response

Read/Write
Serial Register
Synchronize Chip Select Address CRC
Pulse Sequence
0 0 1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
MSB
Options None
Examples

Allegro MicroSystems, LLC 18


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 12: Read Response


Transmits to the external controller data retrieved from the A1335 serial register in response to the most recent Read
Function
command.
Sent by the A1335 on the SENT pin.
Syntax
Sent after a Read command.
Related Commands Read
Read Response with Manchester output.

Synchronize ID BC AE OR CS Data (16 Bits) CRC


Pulse Sequence
0 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 ... 0/1 0/1 0/1 0/1 0/1
MSB
See “Return Data using Manchester Encoding” for bit definitions.
Read from an Even address returns Even byte [15:8] and Odd byte [7:0].
Options Since the Manchester format will only respond to a valid Read command,
Read from an Odd address
the NRreturns Odd
bit is not byte [7:0] only. Data bits [15:8] will be zeroes.
applicable.
Examples –

Table 13: Write


Function Transmits to the A1335 data prepared by the external controller.

Syntax Sent by the external controller on the A1335 VCC pin.

Related Commands
Read/Write
Serial Register Data
Synchronize Chip Select Address (16 bits) CRC
Pulse Sequence
0 0 0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 . . . 0/1 0/1 0/1 0/1
MSB MSB

Data is written to Address and Address+1 if Even address (16-bit write).


Options
If Odd address, only 8 bits are written (LSB of 16-bit data field).
Examples

Allegro MicroSystems, LLC 19


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT Output Mode


The SENT output converts the measured magnetic field angle to • SENT_MODE
a binary value mapped to the Full-Scale Output (FSO) range of • SENT_DRIVER
0 to 4095, shown in Figure 7. This data is inserted into a binary • DATA_MODE
pulse message, referred to as a frame, that conforms to the SENT • SCN_MODE
data transmission specification (SAEJ2716 JAN2010). • SENT_ENABLE
• SENT_TICK
The SENT frame can be configured by setting the following
parameters in EEPROM (shown in Table 14):

4095 (1111 1111 1111)

SENT Data Value


Angle (°)

(LSB)
2048 (1000 0000 0000)

0000 (0000 0000 0000)

Figure 7: Angle is Represented as a 12-bit Digital Value

Table 14: Main SENT Parameter Location*


Address Bits Parameter Name Description
10:4 SENT_TICK Sets Tick rate coefficient
0x317
2:0 SENT_MODE Sets frame update rate, enables TSENT, SSENT, ASENT
22:20 SENT_DRIVER SENT pin drive strength
18:16 DATA_MODE Set data nibble format
0x319
14:12 SCN_MODE Configure Status and Communication nibble contents
15 CIS CRC nibble includes the Status and Communication Nibble data
* For information on SSENT/ASENT configurations bits, see specific SSENT/ASENT section

Allegro MicroSystems, LLC 20


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

MESSAGE STRUCTURE The duration of a nibble is denominated in ticks. The period of


a tick is set by the SENT_TICK parameter. The duration of the
Data within a SENT message frame is represented as a series of nibble is the sum of the low-voltage interval plus the high-voltage
nibbles, with the following characteristics: interval.
• Each nibble is an ordered pair of a low-voltage interval The parts of a SENT message are arranged in the following
followed by a high-voltage interval required sequence (see Figure 9):
• The low-voltage interval acts as the delimiting state which acts 1. Synchronization and Calibration: Flags the start of the
as a boundary between each nibble. The length of this low- SENT message.
voltage interval is fixed at 5 ticks.
2. Status and Communication Nibble: Provides A1335 status
• The high-voltage interval performs the job of the information and the optional serial data determined by the setting of the
state and is variable in duration in order to contain the data SENT_SERIAL parameter.
payload of the nibble
3. Data: Angle information and optional data.
• The slew rate of the falling edge may be adjusted using the 4. CRC: Error checking.
SENT_DRIVER parameter.
5. Pause Pulse (optional): Fill pulse between SENT message
frames.

0 5 12 0 5 27 Table 15: Nibble Composition and Value


Ticks Ticks
Quantity of Ticks
Binary Decimal
Low- High- (4-bit) Equivalent
Message Message Voltage Voltage Total Value Value
Signal Signal Interval Interval
Voltage Voltage
5 7 12 0000 0
Low High Low High 5 8 13 0001 1
Interval Interval Interval Interval
5 9 14 0002 2
Nibble Data Value = 0000 Nibble Data Value = 1111

Figure 8: General Value Formation for SENT 5 21 26 1110 14


0000 (left), 1111 (right) 5 22 27 1111 15

SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED

12 to 27 12 to 27 12 to 27 12 to 27
56 ticks ticks ticks ticks ticks

Status and Pause


Nibble Name Synchronization Data 1 Data 6 CRC Pulse
and Calibration Commun-
ication (MSB) (optional)

tSENT
Figure 9: General Format for SENT Message Frame

Allegro MicroSystems, LLC 21


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Synchronization and Calibration Pulse Hard Error Flag:


SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED
• Latched indefinitely if any of the following occur:
□□ Watchdog Timeout
56 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks □□ EEPROM hard error (multi-bit fault)
Synchronization Status Data 1 Pause
Nibble Name Data 6 CRC
□□ SRAM hard error
and and (MSB) Pulse
Calibration Communication (optional)

tSENT □□ Self-test error

Figure 10: Synchronization and Calibration Pulse □□ Any reset other than a POR or Hard/Soft reset
within the SENT Message Frame • Temporarily sets but clears after the following conditions pass:

The Synchronization and Calibration pulse is 56 ticks wide, mea- □□ Processor in “Idle Mode” (not generating new angle
sured from falling-edge to falling edge, and delineates the start of readings).
a new message frame. The host microcontroller uses this pulse to □□ POR/Hard/Soft Reset
rescale the subsequent nibble values to correct for clock variation
between the controller and the sensor. Soft Error Flag:
• Latched temporarily, clears on next SENT frame unless
Status and Communication Nibble condition is still asserted.
SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED □□ Any unmasked errors asserted
□□ Processor in “Idle Mode”
56 ticks
Synchronization
12 to 27 ticks
Status
12 to 27 ticks
Data 1
12 to 27 ticks 12 to 27 ticks
Pause
b) ID data: Die ID bits set via SA0 and SA1 pins.
Nibble Name Data 6 CRC

• ID[0]: Value set by the logic level of the SA0 pin.


and and (MSB) Pulse
Calibration Communication (optional)

tSENT • ID[1]: Value set by the logic level of the SA1 pin.
Figure 11: Status and Communication Nibble c) Serial Data: Two bits, consisting of the SerialSync and Seri-
within the SENT Message Frame alData bits. Together they form the Short Serial Message (per
J2716 Section 5.2.4.1).
The Status and Communication Nibble (SCN) provides diagnos- • SerialSync: Indicates the start of a 16-bit serial message
tic information along with other status and environmental data.
• SerialData: Serial data, transmitted one bit at a time, MSB
Nibble contents are controlled via the SCN_MODE field within
first.
EEPROM. By default, contents of the SCN are not included in
the 4 bit CRC at the end of each SENT frame. The CIS bit within Table 16: SCN Bit Contents
EEPROM enables CRC coverage of the SCN contents. It should SCN_ Bit 3 Bit 2 Bit 1 Bit 0
be noted that this option is not specified in the J2716 SENT stan- MODE
dard. With the CIS bit set the CRC is no longer compliant with 000 0 0 Soft Hard
that outlined in the SENT specification. 001 SerialSync SerialData Soft Hard
The SCN has three different types of bit values which may be 010 ID[1] ID[0] Soft Hard
present, depending on the SCN_MODE setting. These are: 011 0 0 0 Soft+Hard

a) Soft/Hard Error: Overall condition of the A1335, separated 100 0 0 ID[1] ID[0]
into Soft and Hard error flags. Detailed error information can 101 SerialSync SerialData ID[1] ID[0]
be obtained via the expanded data nibbles, set via DATA_ 110 Soft Hard ID[1] ID[0]
MODE, or through the slow serial communication. 111 SerialSync SerialData 0 Soft+Hard

Allegro MicroSystems, LLC 22


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Short Serial Message Format Table 18: Serial Output Data


The SENT specification allows additional data transfer via spe- Message ID
Data (8 bits)
(4 bits)
cific bits within the SCN. This data stream is also referred to as
the “Slow Channel”. 8-bit Alive counter (increments by one, every 0-15
0 (8)
rotation of the Message ID field))
The A1335 implements “Short Serial Message Format” as Temperature in degrees Celsius, offset by +64 (subtract
1 (9)
described in paragraph 5.2.4.1 of the SAE-J2716 specification. A 64 to get measured temperature)
16-bit data packet is transmitted one bit at a time over consecu- Magnetic field reading in gauss, divided by 8 (multiply
2(10)
tive SENT message frames, starting with the MSB. The begin- by 8 to obtain gauss rating)
ning of each 16-bit packet is indicated by a “1” in the SerialSync 3 (11) STATUS, bits [23:16] See Table 19.
bit. The message data is transmitted bit-by-bit via the SerialData 4 (12) STATUS, bits [15:8] See Table 19.
bit. The 16-bit message packet is separated into 3 different fields: 5 (13) STATUS, bits [7:0] See Table 19.
a) Message ID (4 bits): 6 (14) First byte of the customer programmable field1
Four leading bits of the serial data packet, used to identify 7 (15) Second byte of customer programmable field2
data contents. Data rotates through the 16 message IDs as 1 The most significant 4 bits correspond to EEPROM register 0x307, bits [23:20]. The least
shown in Table 16. The Message ID may be considered the 4 significant 4 bits correspond to EEPROM register 0x317, bits [23:20].
2 Corresponds to EEPROM register 0x317, bits [19:12].
LSB of a 12-bit alive counter that increments every 16 SENT
frames
b) Message Data (8 bits): SENT Data Nibbles:
Eight bits of data. The 12-bit angle value is embedded in the first three data nibbles
c) CRC (4 bits): of every SENT frame and transmitted MSB first. Additional
CRC checksum, used to validate the Message ID and Data. information may be transmitted by extending the number of data
Same CRC algorithm as that used for the SENT message nibbles, up to 6. The contents and number of data nibbles in
frame. every SENT frame is configured using the DATA_MODE field in
EEPROM.
Sixteen separate SENT frames are needed to construct a complete
16-bit serial message. To transmit all 8 unique serial data mes- SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED

sages (Message ID 0-7) a total of 128 SENT transmission are


necessary. 256 SENT transmissions are required for a complete
rotation of the 16 message IDs.
56 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks
Synchronization Status Data 1 Pause
Nibble Name (MSB) Data 6 CRC Pulse
and and
Calibration Communication (optional)

Table 17: Short Serial Message Format in SENT Status tSENT

and Communication Nibble


Figure 12: SENT Data Nibbles
SNC Bit Nibble #
within the SENT Message Frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SerialSync 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SerialData Message ID Data CRC

Allegro MicroSystems, LLC 23


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT Data Mode Options

DATA_MODE = 0002 (0)


1 2 3
Data Nibble 1,2,3 = Angle
Angle Reading

DATA_MODE = 0012 (1)


1 2 3 4 5 6
Data Nibble 1,2,3 = Angle Angle Reading Alive[7:0] ~Angle[11:8]
Data Nibble 4,5 = 8-bit Alive Counter Wraps every
Data Nibble 6 = 1s complement of 256 frames.
Data Nibble 1 When combined with SCN_MODE = 3, this implements the “Single Secure Sensor” requirement outlined in
SAE-J2716 Appendix A.

DATA_MODE = 0102 (2)


1 2 3 4 5 6
Data Nibble 1,2,3 = Angle
Data Nibbles 4 = Message ID (see Angle Reading Status
(rotates between upper and
Short Serial Output) lower 12 bits)
Data Nibbles 5,6 = Rotating
Status bits rotate between upper and lower 12 bits of the SENT status flag, distinguished by the LSB. For the
Extended Data (see Short Serial
upper 12 bits the LSB always equals 1. For the lower 12 bits the LSB always equals 0.
Output)
See description of SENT status flags.

DATA_MODE = 0112 (3) 1 2 3 4 5 6

Angle Reading Message Rotating ExData


Data Nibble 1,2,3 = Angle ID (Follows Serial Data)
Data Nibbles 4,5,6 = Rotating
Nibbles 4,5,6 make up a rotating serial data stream following the same rotation pattern as the short serial
Extended Data, same sequence as
message transmission. Allows one 12-bit packet (4 bits for ID, 8 bits for data) to be transmitted every SENT
Serial Message.
frame. Provides a faster method of obtaining extra sensor information normally supplied via the slow serial
transmission.

DATA_MODE = 1002 (4) and 1012 (5)


1 2 3 4
Data Nibble 1,2,3 = Angle Angle Reading ST & ID
Data Nibble 4 = Self Test flag and ID
Nibble 4 provides a self-test failure flag as well as the two address bits set via the SA0 and SA1 pins.

DATA_MODE = 1102 (6) 1 2 3 4 5 6

Data Nibble 1,2,3 = Angle Angle Reading Status ST & ID


Data Nibble 4,5 = Rotating Status Complete rotation
every 4 frames.
Bits (2 MSB identify quadrant)
Nibbles 4,5 rotate through the 24 status flags, six bits at a time. The two MSB of nibble 4 serve as a counter
Data Nibble 6 = Self Test flag and ID
differentiating each of the four status blocks (shown in Table 19).
Nibble 6 provides a self-test failure flag, as well as the two ID bits set via SA0 and SA1 pins

DATA_MODE = 1112 (7) 1 2 3 4 5 6


Data Nibble 1,2,3 = Angle
Angle Reading Data ExtData ST & ID
Data Nibbles 4,5 = Rotating Extended ID Rotates
Data. Same sequence as serial
message Nibbles 4,5 make up a rotating serial data stream following the same rotation pattern as the short serial
Data Nibble 6 = Self Test flag and ID message transmission. LSB of Data_ID indicates if ExtData is upper nibble(1) or lower nibble(0), of the 8-bit
data field. Three MSB of Data_ID indicates data type (maps to Message ID 0 -7)
Nibble 6 provides a self-test failure flag, as well as the two ID bits set via SA0 and SA1 pins

Allegro MicroSystems, LLC 24


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Self-Test and ID Nibble This nibble is particularly useful when sharing SENT lines and
The Self-Test and ID (ST&ID) nibble is optional. It is included using DATA_MODE 4 or 5, as it allows the Self-Test diagnostic
as one of the extended nibbles when using DATA_MODEs 4-7. results and corresponding sensor ID to be quickly determined
This nibble consists of three data bits (MSB is always 0), shown without a significant latency penalty (only one nibble to the
below: SENT frame).
Bit 3 Bit 2 Bit 1 Bit 0 SENT Status Bit Description
0 ST ID[1] ID[0]
The A1335’s extensive status and error flags may be read at any
Figure 13: ST & ID Nibble time via I2C or SPI protocols, or by entering Manchester Com-
munication Mode. To facilitate error/status flag reporting by way
The ST bit, indicates a failure of one of the three internal of the unidirectional SENT protocol, a selection of these flags are
self-tests (CVH self-test, ROM BIST, RAM BIST). If set, this communicated via extra data nibbles when using DATA_MODEs
indicates significant failure of the sensor, and a reset should be 2 or 6. These status flags are also transmitted via the slow serial
initiated. protocol through the SCN.
ID[0] and ID[1] provide the sensor ID value as determined via The flags are 0 if the condition is clear and 1 if the condition is
the logic values of the SA0 and SA1 pins. true. For transient conditions, the flag will clear after the bit is
presented on the SENT output.
Table 19: SENT Status Flag Definitions
Nibble4[3:2]
Bit Definition
DATA_MODE6
23 (11) Reserved (0)
22 (11) Reset other than POR
21 (11) SRAM hard error
20 (11) EEPROM hard error
19 (11) PC watchdog (microprocessor halted)
18 (11) Watchdog timeout (microprocessor locked up)
17 (10) Self-test error
16 (10) Angle timeout (no update in expected time)
15 (10) Temperature sensor out of range
14 (10) In Idle mode; microprocessor is not updating angle content (device is either in Idle mode or booting/self-test)
13 (10) POR (power-on-reset) occurred
Always (1) when using DATA_MODE 2; indicates upper 12 bits
12 (10)
Always (0) during Serial transmission or when using DATA_MODE 6
11 (01) SRAM soft error
10 (01) EEPROM soft error
9 (01) Interface Error (SPI, Manchester Checksum/bit detect error, SENT contention/slot error)
8 (01) Access error (extended error, memory access error, extended overflow)
7 (01) Angle warning (IIR filter reset, angle slippage [computation too long for ORATE], gain overflow [short-stroke] )
6 (01) Angle limit high
5 (00) Angle limit low
4 (00) Magnetic field high
3 (00) Magnetic field low
2 (00) Overvoltage
1 (00) Undervoltage
0 (00) Always 0, indicates lower twelve bits of status when riding in the extended Data nibbles

Allegro MicroSystems, LLC 25


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT CRC Nibble The pulse may behave in one of two ways, based on the SENT_
The CRC nibble is a 4-bit error checking code, implemented per MODE setting.
the SAE-J2716 SENT “recommended” specification. With SENT_MODE set to 2, a Pause Pulse will be inserted
The CRC is calculated using the polynomial x4 + x3 + x2 + 1, until new angle data is available. The inserted Pause Pulse is a
initialized to 0101. minimum of 12 Ticks in length. If a pause longer than 768 Ticks
is required, the pulse will restart requiring a minimum of 12 more
By default, the checksum covers only the contents of the data Ticks.
nibbles (3-6 nibbles). By setting the CIS bit within EEPROM, the
contents of the SCN are included within the CRC nibble. For SENT_MODE values greater than 3-7, the sensor operates in
either triggered or addressable/sequential SENT mode. In these
SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED
modes the sensor outputs a SENT message frame in response
to host action (either a trigger or a function pulse). When not
56 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks
responding to the host the sensor will output a Pause Pulse of
Nibble Name
Synchronization
and
Status
and
Data 1
(MSB) Data 6 CRC
Pause
Pulse
indefinite length (i.e. remains high until host a host request).
Calibration Communication (optional)

SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED SENT_FIXED


tSENT

Figure 14: CRC Nibble within the SENT Message Frame 56 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks 12 to 27 ticks
Synchronization Status Data 1 Pause
Nibble Name (MSB) Data 6 CRC Pulse
and and
Calibration Communication (optional)

SENT Pause Pulse (Optional)


The Pause Pulse is an optional addition to the SENT message
tSENT

frame, transmitted following the CRC nibble. It acts to “fill-in” Figure 15: Pause Pulse within the SENT Message
the frame until the beginning of the next SENT transmission. Frame

Low High
SENT_MODE 2
5 Ticks 7 to 763 Ticks

SENT_MODEs Low High Low (host)


3 through 7 5 Ticks Infinite (until pulled low by host) Minimum 1.8 µs

Figure 16: SENT Pause Pulse

Allegro MicroSystems, LLC 26


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT OUTPUT MODE


The timing and method of SENT transmission may be configured A SENT message frame occurs only when initiated by the
using the SENT_MODE field within EEPROM. The method of host. The A1335 sensor will output a continuous Pause pulse,
SENT transmission falls within the following three categories: during this the host triggers a SENT frame by pulling the
SENT line low for a minimum of TTrig(MIN). Once released
1. Free Running SENT
the sensor responds with a SENT message frame
Angle information is automatically placed on the SENT line
with no prompting from the host. Depending on settings, the 3. Shared SENT
SENT message frames may be transmitted back-to-back, or Two distinct formats. Sequential SENT (SSENT) and
synchronized with each update of the angle value. Addressable SENT (ASENT). Allow sharing a single SENT
line amongst four compatible devices
2. Triggered SENT (TSENT)

SENT_MODE Visual Description


0002 (0) – SENT disabled.
Streaming output with variable message duration and
CRC

CRC
SCN

SCN
sync

sync
data

data
no pause pulse. Angle data is sampled near the end
of the Status and Communication nibble. Maximum
0012 (1) SENT age at time of sampling is 2ORATE × 32 µs. Depending
message SENT message 1 SENT message 2 on Tick time and ORATE setting, same data may be
TSENT1 TSENT2
transmitted multiple times. This mode provides the
quickest data delivery rate

SENT message frames are synchronized with


pause

pause
CRC
SCN

SCN
sync

sync

the device internal update rate. Pause pulse is


data

data

inserted until fresh data becomes available. Angle


0102 (2) SENT data is sampled between 1 to 2 Tick times of the
12
message Ticks Synchronization pulse. Pause pulse varies in length
Min between 12 to 2ORATE × 32 µs (Pulse will restart after
SENT message 1 SENT message 2 768 ticks).
Controller pulls OUT low Controller releases OUT TSENT SCN sampling:
tdSENT (7 ticks) Controller initiates a SENT transmission by pulling the
Sensor IC starts message line low, during a Pause Pulse. When the controller
Angle data latched releases the output, after a delay of tdSENT the SENT
0112 (3) message begins. Angle data is latched at the end of
pause
pause

Waiting
CRC

sync
SCN
sync

data

period, twait the SCN. Data age may be up to 2ORATE × 32 µs when
latched.
This option is useful when the controller requires a
(previous message) SENT message prompt with minimum “age” of the angle data.

Controller pulls OUT low; Controller releases OUT


angle data latched
tdSENT (7 ticks) TSENT Falling edge sampling:
Sensor IC starts message Similar to SENT_MODE = 3, except angle data is
latched once the output line is pulled low.
1002 (4) Useful when multiple ICs are connected to a single
pause

pause

Waiting
CRC
SCN
sync

data

controller. Allows synchronous sampled data to be


period, twait
retrieved one device at a time, by releasing the trigger
for each individual sensor.
(previous message) SENT message

Addressable SENT (ASENT). See Shared SENT


1012 (5) –
section
Sequential SENT (SSENT). See Shared SENT
1102 (6) –
Section.
1112 (7) – Long Sequential SENT. See Shared SENT Section.

Allegro MicroSystems, LLC 27


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SHARED SENT PROTOCOL


Addressable SENT (ASENT) and Sequential SENT (SSENT) are The duration of the low time is measured by the Sensors and
extensions of the Allegro Triggered SENT (TSENT) protocol. interpreted as a designated Function.
ASENT and SSENT allow multiple Allegro sensors with SENT
Functions that are acted upon by all sensors simultaneously are
output capability to co-exist on a single shared SENT bus. The
Host (ECU) is able to select one sensor at a time, addressing that
sensor to respond with a SENT output packet, and thus poll each
sensor on the bus over some period of time.
ASENT and SSENT, like Triggered SENT, require an open-drain
system configuration, in which any sensor, or the Host, can pull
the SENT line low. The SENT line is pulled high by an external
FunctionPulse
resistor to a known VCC. A high level is attainable on the bus
only when no device is actively pulling the line low.
In ASENT and SSENT, each sensor on the bus is assigned a Greater than 7 Ticks Low
Width Defines Function
unique SensorID number between 0 and 3, allowing up to 4 Sen-
sors to co-exist on the bus. This SensorID number is assigned by Figure 18: Function Pulse (Output by Host)
the logic state of the SA0 and SA1 pins.
designated Broadcast Pulses. Functions that are acted upon by
Function Pulses only one sensor are designated Addressing Pulses and are associ-
VCC 5 V Max
Sensor Sensor Sensor Sensor Host
ated with a target sensor ID. A Function Pulse may be defined
ID = 0 ID = 1 ID = 2 ID = 3 (ECU) as both a Broadcast and an Addressing pulse. For instance, all
R sensors will sample and hold data, but only one will transmit a
SENT packet.
A sensor that does not support a specific function will not
C
Bus Capacitance respond to the Function Pulse.
Function Pulses must be greater in duration than the SENT pulse
low time (5 Ticks on the A1335) to not be mistaken as a part of a
Figure 17: Shared SENT Bus Example
normal SENT transmission
This section describes the different function pulses that are refer- The duration of Function Pulses are defined in SENT Ticks in
enced later during the ASENT and SSENT section. order to scale with the SENT frame itself. Min and Max pulse
The host communicates to a sensor or sensors via different Func- durations are set such that they satisfy electrical and timing char-
tion Pulses, which are equivalent in nature to a TSENT trigger acteristics.
pulse, but with defined widths. A Function Pulse is placed on the The various Function Pulses with their expected Tick ranges are
SENT bus by the Host pulling the SENT line low for a defined shown in Table 7 through Table 9.
number of Ticks greater than a normal SENT pulse low period.

Allegro MicroSystems, LLC 28


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 20: ASENT Functional Pulses


Function Type Related Options Min Tick Nom Tick Max Tick Description
Addressed Sensor responds with SENT frame,
Addressing/
F_OUTPUT NO_SAMPLE 15 17 19 containing either held data (from F_SAMPLE) or
Broadcast
current data.
Sensors sample and hold their magnetic data,
unless NO_FSAMPLE=1.
Addressing/ NO_FSAMPLE
F_SAMPLE 31 35 39 If SAMPLE_ADR=1, this is also an
Broadcast SAMPLE_ADR
AddressingPulse, and addressed Sensor
responds with SENT frame.
Addressing/ DIAG_ADR Sensor(s) enter Diagnostics as described in User-
F_DIAG 56 63 70
Broadcast DIAG_ENABLE Initiated Diagnostic Support.

Table 21: SSENT Functional Pulses. SENT_MODE = 6


Function Type Related Options Min Tick Nom Tick Max Tick Description
Addressed Sensor responds with SENT frame,
containing either held data (from Slot 0 sampling
Addressing/ NO_SAMPLE
F_OUTPUT 15 17 19 or F_SAMPLE) or current data.
Broadcast ZERO_SAMPLE
If ZERO_SAMPLING=1 and Slot=0, Sensors will
sample-and-hold their magnetic data.
Sensors sample and hold their magnetic data,
unless NO_FSAMPLE=1.
Addressing/ NO_FSAMPLE
F_SAMPLE 31 35 39 If SAMPLE_ADR=1, this is also an Addressing
Broadcast SAMPLE_ADR
Pulse, and addressed Sensor responds with
SENT frame.
Addressing/ DIAG_ADR Sensor(s) enter Diagnostics as described in User-
F_DIAG 56 63 70
Broadcast DIAG_ENABLE Initiated Diagnostic Support.
All sensors synchronize their Slot Counters such
F_SYNC Broadcast 93 104 115
that the next Slot is for Sensor ID 0.

Table 22: Long SSENT Functional Pulses. SENT_MODE = 7


Function Type Related Options Min Tick Nom Tick Max Tick Description
Addressed Sensor responds with SENT frame,
Per micro containing either held data (from Slot 0 sampling)
Addressing/ NO_SAMPLE
F_OUTPUT 9 controller 81 or current data.
Broadcast ZERO_SAMPLE
spec If ZERO_SAMPLING=1 and Slot=0, Sensors will
sample-and-hold their magnetic data.
All sensors synchronize their Slot Counters such
F_SYNC Broadcast 105 140 171
that the next Slot is for Sensor ID 0.
Addressing/ DIAG_ADR Sensor(s) enter Diagnostics as described in User-
F_DIAG 216 240 264
Broadcast DIAG_ENABLE Initiated Diagnostic Support.

Allegro MicroSystems, LLC 29


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SEQUENTIAL SENT (SSENT) to force all Sensors to reset their SlotCounter to 0.


Long SSENT (SENT_MODE = 7) allows the A1335 to work
SSENT Addressing Protocol with existing shared SENT methodologies. The added overhead
The SSENT protocol requires Sensors on the bus to be polled in decreases the rate at which messages may be transmitted.
sequential order, meaning increasing, consecutive and rotating
In order to reduce the burden on the Host, and also to improve
order by Sensor ID starting with Sensor ID 0. The Slot for a Sen-
detection and recovery from BusContention or system errors
sor is the time at which that Sensor is expected to respond to an
affecting the SENT bus, the SSENT protocol has the following
Addressing Pulse and other Sensors are expected to not respond.
Configuration Options that can be selected.

FrameReqPulse (Host) Delay (Sensor) SENT Frame (Sensor) BusIdle

SlotNumber N

Greater than 7 Ticks Low Delay Sensor Responds if


Width Defines Function 7 Ticks or SensorID = SlotNumber
Sensors Increment Slot Counter SlotMarking

Figure 19: SSENT Sensor Addressing


Each Sensor independently maintains a Slot Counter that is incre- • SLOT_MARKING. When enabled, each Sensor will wait a
mented each time the Sensor detects an Addressing Pulse. This different length of time following an Addressing Pulse, based
Slot Counter becomes the Slot Number, which is used by the Sen- on their Sensor ID. This leaves the SENT bus in a high state
sor to decide which Sensor is being polled by the Host. The Slot for a varying duration before the Sensor pulls the line low to
Counter is compared to the Sensor ID, and if they match, that begin the SENT Frame. All Sensors on the bus (including the
Sensor responds with the SENT Frame, and all other Sensors do addressed Sensor) measure this time to interpret the Sensor
not respond, although they increment their own Slot Counter. ID of the transmitting sensor. By comparing this to the Slot
Counter, each Sensor can recognize if an unexpected Sensor
If the Slot Counter is incremented past the total number of Sen-
responded to the Addressing Pulse. By default, the Sensor
sors on the bus (MAX_SENSOR option), the Slot Counter is
would then drop Offline, since it cannot be known which
returned to 0. Each Sensor must be programmed consistently with
Sensor is out-of-sync. This Option increases the overhead
the total number of Sensors so they all roll over to 0 at the same
on the bus and therefore reduces the maximum rate at which
count. Sensors do not increment their Slot Counter on a Broad-
Sensors can be polled. SlotMarking increases the polling
cast Pulse.
time of a Sensor by the Slot Marking time for that Sensor. All
The SSENT protocol relies on each Sensor maintaining the exact sensors on a bus must be configured with the same choice for
same Slot Number by counting the Addressing Pulses. In order this option.
to synchronize all Sensors to the same Slot Number, the SSENT
protocol has a broadcast F_SYNC pulse that is used by the Host

F_SYNC (Host) BusIdle FrameReq Dly SENT Frame SensorID 0 (Slot 0) BusIdle

BusIdle FrameReq Dly SENT Frame SensorID 1 (Slot 1) BusIdle

BusIdle FrameReq Dly SENT Frame SensorID 2 (Slot 2) BusIdle

BusIdle FrameReq Dly SENT Frame SensorID 0 (Slot 0) BusIdle

Figure 20: SSENT Sensor Addressing – No Slot Marking (3 Sensors on Bus)

Allegro MicroSystems, LLC 30


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

F_SYNC (Host) BusIdle FrameReq Dly SENT Frame SensorID 0 (Slot 0) BusIdle

BusIdle FrameReq DlySlot1 SENT Frame SensorID 1 (Slot 1) BusIdle

BusIdle FrameReq DlySlot2 SENT Frame SensorID 2 (Slot 2) BusIdle

BusIdle FrameReq DlySlot3 SENT Frame SensorID 3 (Slot 3) BusIdle

BusIdle FrameReq Dly SENT Frame SensorID 0 (Slot 0) BusIdle

Figure 21: SSENT Sensor Addressing – With Slot Marking (4 Sensors on Bus)

Table 23: Slot Marking Delay Time


Sensor ID Delay Time in Ticks (Nominal)
0 7*
1 18*
2 36*
3 62*
* Delay time not intended for use by host. Tick values are approximate and will differ from
part to part due to oscillator variance.

• POR_OFFLINE. When enabled, a Sensor will stay with C_NO_SAMPLE=1 and C_ZERO_SAMPLE=0 will
Offline until the Host issues F_SYNC, or one of the other never sample-and-hold, so will always return current data in
synchronization options takes effect (C_IDLE_SYNC). If response to F_OUTPUT.
disabled, a Sensor will power-up with its SlotCounter set • F_SAMPLE: All sensors except those configured for NO_
to 0, and will go directly Online. This allows the Sensors to SAMPLE=1 will sample and hold their data at the rising edge
initialize without any Host interaction. However, if a Sensor of the pulse. If SAMPLE_ADR=0, this is a BroadcastPulse
gets power-on-reset after the bus is in operation, its counter to a Sensor, and that Sensor will not respond. If SAMPLE_
may be out-of-sync with other Sensors, and this could result in ADR=1, this is also an AddressingPulse to a Sensor, and
bus contention. the addressed sensor will return a SENT frame with either
• IDLE_SYNC. When enabled, a Sensor will monitor the bus the sampled or current data. The SAMPLE_ADR must be
for a long high (BusIdle) period greater than 510 ticks and configured the same for all parts on the bus.
reset its Slot Counter to 0. This option could be used if Sensor • F_DIAG: Sensor(s) will enter self-test Diagnostics based on
polling is expected to always be periodic and continuous, such DIAG_ENABLE and DIAG_ADR options. If configured
that the only extended BusIdle time would be after power-up. with DIAG_ADR=0, the Sensor treats F_DIAG as a
SSENT FUNCTION PULSES BroadcastPulse, does not respond, and immediately enters
Diagnostics unless DIAG_ENABLE=0. If configured with
• F_OUTPUT: Addressed sensor will return a SENT frame
DIAG_ADR=1, the Sensor treats F_DIAG as an Addressing
with sampled magnetic data. If there is data from a sample-
Pulse. The addressed Sensor does not respond, but enters
and-hold operation available (F_SAMPLE or via C_ZERO_
diagnostics if DIAG_ENABLE=1.
SAMPLE=1), then that data is returned, otherwise current
data is sampled and returned. A Sensor configured with • F_SYNC: All Sensors will synchronize their Slot Numbers by
C_ZERO_SAMPLE=1 will sample-and-hold on the rising setting their Slot Counters such that the next Addressing Pulse
edge of the F_OUTPUT pulse for Slot 0. A Sensor configured is for Slot 0.

Allegro MicroSystems, LLC 31


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

ADDRESSABLE SENT (ASENT) of the pulse. If SAMPLE_ADR=0, this is a BroadcastPulse


to a Sensor, and that Sensor will not respond. If SAMPLE_
ASENT Addressing Protocol ADR=1, this is also an AddressingPulse to a Sensor, and
the addressed sensor will return a SENT frame with either
The ASENT protocol allows Sensors to be polled in an arbitrary
the sampled or current data. The SAMPLE_ADR must be
order. The Sensor ID is transmitted by the Host following any
configured the same for all parts on the bus.
AddressingPulse as a series of 0, 1, 2, or 3 IncAdrPulses. After
this sequence, the SENT line is left in a high state, and each sen- • F_DIAG: Sensor(s) will enter self-test Diagnostics based
sor will recognize after a time period of about 18 nominal TICKs on C_DIAG_ENABLE and C_DIAG_ADR options. If
that there are no more IncAdrPulses coming. The sensor whose configured with DIAG_ADR=0, the Sensor treats F_DIAG
ID matches the number of IncAdrPulses received will respond. as a BroadcastPulse, does not respond, and immediately
enters Diagnostics unless DIAG_ENABLE=0. If configured
ASENT Function Pulses with DIAG_ADR=1, the Sensor treats F_DIAG as an
• F_OUTPUT: Addressed sensor will return a SENT frame AddressingPulse. The addressed Sensor does not respond, but
with sampled magnetic data. If there is data available from a enters diagnostics if DIAG_ENABLE=1.
sample-and-hold operation (F_SAMPLE), then that data is ASENT Host Requirements:
returned, otherwise current data is sampled and returned. A
Sensor configured with NO_SAMPLE=1 will not sample- • The Host must initiate SENT frame output by selecting
and-hold, so will always return current data in response to appropriate Function pulses.
F_OUTPUT. • The Host must detect timeouts or SENT frame contention
• F_SAMPLE: All sensors except those configured for NO_ following any Function pulse, and take appropriate recover
SAMPLE=1 will sample and hold their data at the rising edge action.

7 Ticks High 5 Ticks Low


IncAdrPulse

Figure 22: ASENT IncAdrPulse (Output by Host)

Allegro MicroSystems, LLC 32


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

FrameReqPulse (Host) IncAdrPulses (0-3)(Host) EndAddress > 18 Ticks High SENT Frame (Sensor)

Greater than 8 Ticks Low Host Adds Pulses for Sensor Recognizes the End Addressed Sensor
Width Defines Function SensorIDs 1, 2, or 3 of the Addressing Phrase Responds
SensorID 0 Selected

SensorID 0 FrameReqPulse (Host) EndAddress SENT Frame (Sensor) BusIdle

SensorID 1 FrameReqPulse (Host) IncAdr EndAddress SENT Frame (Sensor) BusIdle

SensorID 2 FrameReqPulse (Host) IncAdr IncAdr EndAddress SENT Frame (Sensor) BusIdle

SensorID 3 FrameReqPulse (Host) IncAdr IncAdr IncAdr EndAddress SENT Frame (Sensor) BusIdle

Figure 23: ASENT Sensor Addressing

SENSOR MAGNETIC DATA SAMPLING SampleAndHold

Sensors sample their magnetic data based on a combination of SampleAndHold is when the Sensor samples magnetic data on
FunctionPulse and configuration options. There are two types of the rising edge of a specific FunctionPulse and holds it for output
sampling supported: SampleOnOutput and SampleAndHold. in a SENT frame later in time, when addressed. This allows the
data sampling from multiple sensors to be synchronized, with
SampleOnOutput: the tradeoff in latency. The sensor does a SampleAndHold of its
magnetic data in the following cases:
SampleOnOutput is when the Sensor samples magnetic data
within a short time period preceding the transmission of that • An F_SAMPLE function is broadcast, unless the sensor is
data in the SENT frame. This provides the Host with a minimal configured with NO_FSAMPLE = 1.
latency between the data sample and its reception at the Host. • The Host initiates an F_OUTPUT function in SSENT
The sensor uses SampleOnOutput in the following cases: mode, the SlotNumber is for Sensor ID 0, and the sensor is
• An F_OUTPUT function is addressed to that sensor and no configured with ZERO_SAMPLE = 1.
held data is present. Once the Sensor has data held from a SampleAndHold, it trans-
mits it in the SENT frame the next time it is addressed. If the
re
d He sensor is again polled before another SampleAndHold, then that
m ple Sensor will return the same data unless certain events intervene,
Sa in which case the SampleAndHold data is discarded. These
g le
An events are:

ScnNibble DataNibble
• A diagnostic is executed that prevents the SENT interface
F_OUTPUT + Addressing SyncPulse
from obtaining valid magnetic data from the sensors logic
Figure 24: SampleOnOutput Example (CVH_SelfTest).
• The SENT interface is disabled, for instance the SENT line is
taken over by the receipt of a Manchester Access Code.

Allegro MicroSystems, LLC 33


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

If a sensor is polled and no SampleAndHold data is available (for enough to flush any internal synchronization or filtering pipe-
instance, if the part comes online after a SampleAndHold has lines, and sees the SENT bus high. This is necessary to guarantee
been issued), it will sample current data. It is not required that that any subsequent low pulses are measured as their full dura-
all Sensors on a shared bus be configured the same for sampling. tion.
This allows a subset of the Sensors on a shared bus to be syn-
chronized for data sample, while others always perform Sample- Bus Sync:
OnOutput. BusSync is the state in which the Sensor determines to which
Addressing Pulse it should respond. For ASENT, this state is
SENSOR STATES: OFFLINE, BUS SYNC, AND ONLINE unnecessary and it will immediately transition from Offline to
Online. For SSENT, the Sensor will first monitor the SENT bus
until it can synchronize its SlotCounter to the other Sensors on
the bus before responding to any Addressing Pulses, but will
always respond to Broadcast Pulses, even in the BusSync state.
All
Co A sensor configured for SSENT will set its SlotCounter and exit
n
Sa figur BusSync to Online when:
mp ed
F_SAMPLE le Se
He ns
re ors • The Host issues a F_SYNC pulse. The sensor immediately
know the next slot is for Sensor ID 0, and can then respond
correctly.
Figure 25: SampleAndHold (SSENT or ASENT) • IDLE_SYNC is enabled and the bus is high (BusIdle) for at
least a fixed (greater than 510 Ticks) period of time.
All
Co • POR_OFFLINE = 0, and the sensor exits power-on-reset.
n
Sa figur
mp ed
le Se
He ns Online:
re ors
In the Online state, the sensor is actively interpreting the shared
bus looking for and responding to Function Pulses. From Online,
F_OUTPUT SLOT 0 SyncPulse ScnNibble DataNibble a sensor will go Offline when:
• It is powered down or reset.
Figure 26: SampleAndHold
SSENT with ZERO_SAMPLE = 1
• It responds to a CVH self test diagnostic request.
• It detects BusContention (SSENT mode).
Offline:
Offline is when the sensor is not actively interpreting the state of USER-INITIATED DIAGNOSTIC SUPPORT
a shared SENT bus. In the Offline state, the Sensor will not drive
The CVH self-test, which validates signal path integrity from the
the SENT bus. A Sensor is Offline:
Analog front-end through the digital detection and processing
• When unpowered, or after power-up circuitry, may be initiated when using any version of the SENT
• After a reset that would reset the SENT logic (POR) protocol (SENT, TSENT,SSENT, or ASENT), provided the
DIAG_ENABLE bit is set within EEPROM.
• During CVH self test
For ASENT and SSENT configurations, diagnostics are initi-
• After BusContention is detected (unless stated otherwise)
ated via the F_DIAG FunctionPulse, unless disabled by DIAG_
The Sensor exits Offline state into BusSync state once its SENT ENABLE=0. The DIAG_ADR option configures a Sensor to
logic becomes functional, after it monitors the SENT bus long interpret this function as Addressing instead of a Broadcast. Sen-

Allegro MicroSystems, LLC 34


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

sors configured as Broadcast will enter diagnostics as soon as the For SENT and TSENT configurations, user-initiated diagnostics
F_DIAG pulse is detected. Sensors configured as Addressing will are triggered, if enabled by DIAG_ENABLE=1, by a DiagStomp
only enter diagnostics if they are addressed. Sensors will timeout of the frame. A DiagStomp is a deliberate creation of BusConten-
in response to the F_DIAG, whether or not entering diagnostics tion (Stomp) by the Host during the output of a frame by the Sen-
sor. See the section on BusContention/Stomp for an explanation
of the Stomp. Once the BusContention is detected, the Sensor
releases the SENT bus and initiates the diagnostic.

Sensor Starts to Output Frame

SyncPulse ScnNibble
F_DIAG
DIAG_ADR=0 Timeout

Host Pulls Low During Frame (Stomps)


Timeout (Sensors do not respond)
All Sensors with C_DIAG_ENABLE=1 Sensor Aborts Frame, Releases Bus, Runs Diagnostic
Perform Diagnostics Sensor Sees
15 Ticks Low
Figure 27: Broadcast Diagnostic Request for ASENT
and SSENT Figure 29: DiagStomp for SENT or TSENT

If an error is encountered, the CVH self-test returns a Self-Test


Error Flag. Depending on SENT configurations this self-test
failure is indicated by:
1. Hard Error flag set in the Status and Communication Nibble
2. The Self-Test Error flag (bit 17 of the status bits) decoded
via the slow channel serial message. This is possible for
SCN_MODE = 1, 5, and 7.
F_DIAG May be IncAdrPulses
3. Self-Test Error flag (bit 17 of Status bits), via added Sta-
DIAG_ADR=0 Here if ASENT
Timeout
tus bits. This flag is received every other SENT message
frame when using DATA_MODE=2 and every 4th frame for
Timeout (Sensors do not respond) DATA_MODE=6.
Addressed Sensor Enters Diagnostic
Test (if C_DIAG_ENABLE=1) 4. Self-Test Error flag (bit 17 of Status bits), via rotating
extended data nibbles. This follows same rotating scheme as
Figure 28: Addressed Diagnostic Request for ASENT the slow serial channel. Applies to DATA_MODE=3 and 7.
and SSENT
5. The ST bit (bit 2) of the Self-Test and ID nibble. This nibble
is provided in DATA_MODEs 4 through 7.

Allegro MicroSystems, LLC 35


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT Message Frame Descriptions


The general format of a command message frame is shown
in Figure 5. The individual sections of a SENT message are
described in Table 24.
Table 24: SENT Message Frame Section Definitions
Section Description
Synchronization and Calibration
Provide the external controller with a detectable start of the message frame. The large quantity of ticks
Function
distinguishes this section, for ease of distinction by the external controller.
Syntax Tick count: 56
Status and Communication
Provides the external controller with the status of the A1335 and indicates the format and contents of the Data
Function
section.
Nibbles: 1
Tick count: 12 to 27 Field width: 4 bits
Syntax
1:0 Device status (indicates either a hard or soft error condition)
3:2 Message serial data protocol (set by SENT_SERIAL parameter
Data
Function Provides the external controller with data selected by the SENT_DATA parameter.
Nibbles: 3 to 6
Syntax Tick count: 12 to 27 (each nibble)
Field width: 4 bits (each nibble)
CRC
Provides the external controller with cyclic redundancy check (CRC) data for certain error detection routines
Function
applied to the Data nibbles.
Nibbles: 1
Syntax Tick count: 12 to 27 (each nibble)
Field width: 4 bits
Pause Pulse
Additional time can be added at the end of a SENT message frame to synchronize each SENT message with the
Function
internal angle measurement updates, determined by the SENT_UPDATE parameter.
Quantity of ticks: 12 tick minimum and 768 tick maximum (length determined by SENT_UPDATE option and by the
individual structure of each SENT message. If a Pause pulse reaches 768 ticks, it restarts with a minimum length
Syntax
of 12 ticks)
Quantity of bits: n/a

Allegro MicroSystems, LLC 36


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

SENT Data Programming Parameters


Table 25: SCN_MODE (Register Address: 0x319, bits 14:12)
Status and Communication Nibble Format
Function
Defines role of bits within the Status and Communication nibble
Syntax Field width: 3 bits
Related Commands –

SCN_MODE Bit 3 Bit 2 Bit 1 Bit 0


000 0 0 Soft Hard
001 SerialSync SerialData Soft Hard
010 ID[1] ID[0] Soft Hard
Values 011 0 0 0 Soft+Hard
100 0 0 ID[1] ID[0]
101 SerialSync SerialData ID[1] ID[0]
110 Soft Hard ID[1] ID[0]
111 SerialSync SerialData 0 Soft+Hard

Options –
The SerialSync and SerialData bits form a 16-bit message, transmitted over sixteen consecutive SENT frames.
The message contents are arranged as shown below:
SCN Bit Nibble #

Examples 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SerialSync 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SerialData Message ID Data CRC
Short Serial Message

Table 26: SENT_DRIVER (Register Address: 0x319, bits 22:20)


Output Signal Configuration
Function Sets configuration of the output signal slew-rate control. Sets the ramp rate on the gate of the output driver,
thereby changing slew rate at the output.
Syntax Field width: 3 bits
Related Commands –
Fall Time (80% to 20% Typical Values) (µs)
Code
CLOAD = 100 pF CLOAD = 1 nF
000 (Default) 0.031 0.102
001 0.075 0.105
010 0.130 0.226
Values
011 0.180 0.296
100 0.460 0.622
101 0.930 1.100
110 1.900 1.900
111 2.900 2.700
Options –
Examples –

Allegro MicroSystems, LLC 37


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 27: DATA_MODE (Register Address: 0x319, bits 18:16)


Data Nibble Format
Function Quantity and contents of Data nibbles in message. (Does not relate to data contained in the Status and
Communication nibble.)
Syntax Field width: 3 bits
Related Commands –
000: Nibbles 1,2,3: Angle data (nibbles 4,5,6 skipped)
001: Nibbles 1,2,3: Angle data;
Nibbles 4,5: Eight bit alive counter;
Nibble 6: 1’s complement of Nibble1
010: Nibbles 1,2,3: Angle data;
Nibbles 4,5,6: Status bits, alternates between the two 12-bit words.
011: Nibbles 1,2,3: Angle data;
Nibble 4: Message ID (see Short Serial Output);
Nibbles 5,6: Rotating Extended data (see Short Serial Output)

Values 100: Nibbles 1,2,3: Angle data


Nibble 4: Self-test and ID
101: Nibbles 1,2,3: Angle data
Nibble 4: Self-test and ID
110: Nibbles 1,2,3: Angle data
Nibbles 4,5: Status bits. Alternates between four 8-bit frames
Nibble 6: Self-test and ID
111: Nibbles 1,2,3: Angle data
Nibble 4: Message ID [3:1] and Upper/Lower (0/1) indicated via bit 0. (see Short Serial Output)
Nibble 5: Rotating Extended data, 1 nibble at a time (see Short Serial Output)
Nibble 5: Self-test and ID
Options –
Examples –

Allegro MicroSystems, LLC 38


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 28: SENT_MODE (Register Address: 0x317, bits 2:0)


Function Selects between the various SENT update rates. Also used to select various modes of triggerable SENT.
Syntax Field width: 3 bits
Related Commands –
000: Disable, no SENT output.
001: No Pause pulse; new frame immediately follows previous frame.
010: SENT message frame synchronized to internal angle update rate. Pause pulse inserted to ensure each
new SENT transmission corresponds to a fresh angle sample.
011: Triggered SENT mode (TSENT). Pause pulse held indefinitely until receipt of trigger pulse (OUT pulled
low) from the controller, SENT message begins once output is released. Data latched near end of SCN.
Values
100: Triggered SENT mode (TSENT). Pause pulse held indefinitely until receipt of trigger pulse (OUT pulled
low) from the controller, SENT message begins once output is released. Data latched on falling edge of
trigger.
101: Addressable SENT mode (ASENT). See Shared SENT section.
110: Sequential SENT mode (SSENT). See Shared SENT section.
111: Long SSENT. Supports alternative SENT line sharing protocol. See Shared SENT section.
Options –
Examples –

Table 29: SENT_TICK (Register Address: 0x317, bits 10:4)


Tick Duration
Function
Sets the SENT Tick time: SENT_TICK/16 MHz = tick (µs)
Field width: 7 bits
Syntax
Any value from 0 to 127 can be used (although an internal limit of one clock period is forced)
Related Commands –
Code Tick Time (µs) Coefficient
000 0000* 0.0625 1/16 (a minimum of one clock period is forced internally)
000 0001* 0.0625 1/16
000 0010* 0.125 2/16
000 0011* 0.1875 3/16
000 0100* 0.25 4/16
Values 000 1000 0.5 8/16
001 0000 1 16/16
001 1000 1.5 24/16
011 0000 3 48/16
110 0000 6 96/16
111 1110 7.875 126/16
111 1111 7.9375 127/16
Options –
Examples –
Tick Times shorter than 0.5 µs are not guaranteed.

Allegro MicroSystems, LLC 39


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 30: CIS (Register Address: 0x319, bit 15)


Function SENT CRC includes the Status and Communication Nibble (SCN)
Syntax Field width: 1 bit
Related Commands –
0: SCN is not included in the CRC nibble.
Values
1: SCN bits are covered via the CRC nibble (does not conform to the J2716 SENT standard)
Options –
Examples –

Table 31: UI (Register Address: 0x309, bit 23)


Function Enables/Disables User initiated diagnostic (CVH self-test) via SENT.
Syntax Field width: 1 bit
Related Commands –
0: CVH self-test cannot be initiated via SENT (F_DIAG or Stomp)
Values
1: CVH self-test may be initiated through SENT via a F_DIAG pulse or Stomp
Options –
Examples –

ASENT/SSENT SPECIFIC FIELDS

Table 23: DA (Register Address: 0x319, bit 9)


Function Treat F_DIAG as an addressing pulse.
Syntax Field width: 1 bit
Related Commands –
0: F_DIAG is treated as a broadcast pulse. Sensor will enter diagnostic mode on any F_DIAG pulse (if UI = 1)
Values
1: F_DIAG is treated as an addressing pulse. Sensor will only enter diagnostic mode if properly addressed
Options –
Examples –

Table 33: MAXID (Register Address: 0x308, bits 17:16)


Function Specifies highest sensor ID number on the shared SENT bus
Syntax Field width: 2 bits
Related Commands –
00: Highest ID value is 0. Sensor is not sharing the SENT line
01: Highest ID value is 1. Two sensors are sharing the SENT line
Values
10: Highest ID value is 2. Three sensors are sharing the SENT line
11: Highest ID value is 3. Four sensors are sharing the SENT line
Options –
Examples –

Allegro MicroSystems, LLC 40


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 34: NS (Register Address: 0x319, bit 11)


Function No Sample. Sensor does not sample angle on receipt of an F_SAMPLE pulse
Syntax Field width: 1 bit
Related Commands –
0: On receipt of an F_SAMPLE pulse, sensor samples and holds angle data
Values
1: Sensor does not sample and hold data on receipt of an F_SAMPLE pulse
Options –
Examples –

Table 35: FA (Register Address: 0x319, bit 8)


Function F_SAMPLE addressing. Sensor treats the F_SAMPLE pulse as an addressing pulse
Syntax Field width: 1 bit
Related Commands –
0: F_SAMPLE is treated as a broadcast pulse. Sensor will sample and hold angle data on any F_SAMPLE
pulse (unless NS = 1)
Values
1: F_SAMPLE is treated as an addressing pulse. Sensor will only sample and hold angle data on an F_
SAMPLE pulse if properly addressed (unless NS = 1)
Options –
Examples –

SSENT SPECIFIC FIELDS

Table 36: IS (Register Address: 0x319, bit 23)


Function IDLE_SYNC. Sensor resets slot counter if SENT bus idle for more than 510 Ticks (SSENT only).
Syntax Field width: 1 bit
Related Commands –
0: Sensor takes no action for an idle SENT line
Values 1: If SENT line is idle for greater than 510 Ticks, internal slot counter is reset to 0. All sensors sharing a SENT
line should have matching IS settings
Options –
Examples –

Table 37: PO (Register Address: 0x319, bit 19)


Function POR_OFFLINE. Sensor stays offline after power on reset (SSENT only).
Syntax Field width: 1 bit
Related Commands –
0: After a power-on-reset sensor will go online with a slot counter of 0
Values 1: Sensor stays offline following a power-on-reset. Sensor goes online after slot counter synchronization via
an F_SYNC pulse or IDLE_SYNC
Options –
Examples –

Allegro MicroSystems, LLC 41


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 38: SM (Register Address: 0x317, bit 3)


Function SLOT_MARKING enable (SSENT only).
Syntax Field width: 1 bit
Related Commands –
0: No Slot marking pulses
Values
1: Sensor will output a bus high delay after an addressing pulse, based on sensor ID
Options –
Examples –

Table 39: ZS (Register Address: 0x319, bit 10)


Function ZERO_SAMPLING. Sensor samples and holds data at Slot 0 (SSENT only)
Syntax Field width: 1 bit
Related Commands –
0: No special action at slot = 0
Values
1: Sensor performs a sample and hold when its slot counter resets to 0
Options –
Examples –

Table 40: FP_ADJ (Register Address: 0x308, bits 19:18)


Function Pulse Adjust. Only for Long SSENT (SENT_MODE = 7). Increases the lower threshold of F_OUTPUT
Function
pulse by 0-3 Ticks. Reduces possible misinterpretation of F_OUTPUT pulses at sub-1.5 µs Tick times
Syntax Field width: 2 bits
Related Commands –
00: No Change to F_OUTPUT pulse width. Minimum width = 9 Ticks
01: Minimum width of F_OUTPUT increased by 1 Tick. Min = 10 Ticks
Values
10: Minimum width of F_OUTPUT increased by 2 Ticks. Min = 11 Ticks
11: Minimum width of F_OUTPUT increased by 3 Ticks. Min = 12 Ticks
Options –
Examples –

Allegro MicroSystems, LLC 42


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Table 41: EEPROM Registers Map (Factory Reserved Registers Not Shown)
Bits
EADR State
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0x306 – RD LS SB SS 0 IV RO SL HL LR – FI ZERO OFFSET
0x307 – CUST IRR_ERRVAL IIR_FILTER_NUM1
0x308 – ORATE DB FP_ADJ MAXID IIR_FILTER_NUM2
0x309 – UI DH DC SC HAR_MAX (HM) IIR_FILTER_NUM3
0x30A – FR LE LM MAG_HIGH IIR_FILTER_DEN2
0x30B – DM GR LI MAG_LOW IIR_FILTER_DEN3
Linear SEG_LIN_COEFF_2 SEG_LIN_COEFF_1
0x30C
Harmonic HARMONIC_PHASE_1 ADV HARMONIC_AMPLITUDE_1
Linear SEG_LIN_COEFF_4 SEG_LIN_COEFF_3
0x30D
Harmonic HARMONIC_PHASE_2 ADV HARMONIC_AMPLITUDE_2
Linear SEG_LIN_COEFF_6 SEG_LIN_COEFF_5
0x30E
Harmonic HARMONIC_PHASE_3 ADV HARMONIC_AMPLITUDE_3
Linear SEG_LIN_COEFF_8 SEG_LIN_COEFF_7
0x30F
Harmonic HARMONIC_PHASE_4 ADV HARMONIC_AMPLITUDE_4
Linear SEG_LIN_COEFF_10 SEG_LIN_COEFF_9
0x310
Harmonic HARMONIC_PHASE_5 ADV HARMONIC_AMPLITUDE_5
Linear SEG_LIN_COEFF_12 SEG_LIN_COEFF_11
0x311
Harmonic HARMONIC_PHASE_6 ADV HARMONIC_AMPLITUDE_6
Linear SEG_LIN_COEFF_14 SEG_LIN_COEFF_13
0x312
Harmonic HARMONIC_PHASE_7 ADV HARMONIC_AMPLITUDE_7
Linear SEG_LIN_OFFSET SEG_LIN_COEFF_15
0x313
Harmonic HARMONIC_PHASE_8 ADV HARMONIC_AMPLITUDE_8
HAR_MAX>8 HARMONIC_PHASE_9 ADV HARMONIC_AMPLITUDE_9
0x314
HAR_MAX<9 GAIN_OFFSET GAIN (4.8)
HAR_MAX>9 HARMONIC_PHASE_10 ADV HARMONIC_AMPLITUDE_10
0x315
HAR_MAX<10 MAX_ANGLE MIN_ANGLE
HAR_MAX>10 HARMONIC_PHASE_11 ADV HARMONIC_AMPLITUDE_11
0x316
HAR_MAX<11 CLAMP_HIGH CLAMP_HIGH
0x317 – CUSTOMER – SENT_TICK SM SENT_MODE
0x318 – SS ES AW TR SU EU WP WT RC XE ME ST – XO IE CR NR AT AH AL OV UV MH ML
DAW

0x319 – IS SDRV PO DATA_MODE SCN_MODE NS ZS DA FA XS I2C_SLAVE_ADDR DR


CIS

Allegro MicroSystems, LLC 43


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

APPLICATION INFORMATION
Serial Interface Description
The A1335 features I2C-, SPI-, and SENT-compliant interfaces
for communication with a host microcontroller, or Master. A basic
circuit for configuring the A1335 package is shown in Figure 30.

VCC = 5 V VCC

0.1 µF
0.1 µF
VCC 0.1 µF VCC
3.3 V
BYP
BYP 0.1 µF
SA0 CS
SA1 A1335 Host/Master SCLK
1 kΩ 1 kΩ Microprocessor A1335
MOSI
MISO
Host/Master SCL
ISEL ISEL
Microprocessor SDA
DGND
DGND
DGND
AGND
AGND

DGND
DGND
DGND
AGND
(A) Typical A1335 configuration using I2C interface; AGND
(B) Typical A1335 configuration using SPI interface
A1335 set up for serial address 0xC
VCC = 5 V
0.1 µF
VCC
SA0 BYP
0.1 µF
SA1
A1335
Host/Master
SENT
Microprocessor
SCLK
MISO ISEL
DGND
DGND
DGND
AGND
AGND

(C) Typical A1335 configuration using SENT interface (SA0/SA1 may be brought
to BYP or GND to configure Manchester/Shared SENT address)
Figure 30: Typical A1335 configuration

Allegro MicroSystems, LLC 44


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Magnetic Target Requirements Table 42: Target Magnet Parameters


There are two main sensing configurations for magnetic angle Magnetic Material Diameter Thickness
sensing, on-axis and off-axis. On-axis (end of shaft) refers to (mm) (mm)
when the center axis of a magnet lines up with the center of the Neodymium (bonded) 15 4
sensing element. Off-axis (side shaft) refers to when the angle Neodymium 10 4
sensor is mounted along the edge of a magnet. Figures 32 to 35 (sintered)*
illustrate on- and off-axis sensing configurations. Neodymium (sintered) 8 3
Neodymium / SmCo 6 2.5
ON-AXIS APPLICATIONS

Some common on-axis applications for the device include digital


potentiometer, motor sensing, power steering, and throttle sens- N S
Thickness
ing. The A1335 is designed to operate with magnets constructed
with a variety of magnetic materials, cylindrical geometries, and
field strengths, as shown in Table 42. The device has two internal
linearization algorithms that can compensate for much of the Diameter
error due to alignment. Contact Allegro for more detailed infor-
*A sintered Neodymium magnet with 10 mm (or greater) diameter and 4 mm thickness is
mation on magnet selection and theoretical error. the recommended magnet for redundant applications.

OFF-AXIS APPLICATIONS

There are two major challenges with off-axis angle-sensing appli- 14


cations. The first is field strength. All efforts should be conducted 13
12
to maximize magnetic signal strength as seen by the device. The 11
goal is a minimum of 300 G. Field strength can be maximized 10
by using high-quality magnetic material, and by minimizing the 9
Angle Error (±°)

8
distance between the sensor and the magnet. Another challenge 7
is overcoming the inherent nonlinearity of the magnetic field 6
vector generated at the edge of a magnet. The device has two 5

linearization algorithms that can compensate for much of the geo- 4


3
metric error. Harmonic linearization is recommended for off-axis 2
applications. 1
0
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
Eccentricity of SOC Chip Relative to Magnet Rotation Axis (mm)

Figure 31: Simulated Error versus Eccentricity for a


10 mm × 4 mm Neodymium magnet at a 2.7 mm air gap.
Typical Systemic Error versus magnet to sensor eccentricity
(daxial), Note: “Systemic Error” refers to application errors in
alignment and system timing. It does not refer to sensor IC
device errors. The data in this graph is simulated with ideal
magnetization.

Allegro MicroSystems, LLC 45


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Effect of Orientation on Signal

+|B|

0G

Figure 32: The magnetic field flux lines run between the north pole and south pole of the magnet. The peak flux
densities are between the poles.

+|B| 360°

Magnetic Detected
Flux Rotation

0G 0°
Zero 90° 180° 270° 360°
Crossing

Figure 33: As the magnet rotates, the Hall element detects the rotating relative polarity of the magnetic field
(solid line). When the center of rotation is centered on the Hall element, the magnetic flux amplitude is constant
(dashed line).

Allegro MicroSystems, LLC 46


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Hall element

Figure 34: Centering the axis of magnet rotation on the Hall element provides the strongest signal in all degrees
of rotation.

daxial(on-axis) daxial(off-axis)

Axis of AG (off axis)


Rotation

AG (on axis)

AG (on axis, centered)


Magnetic
Flux Lines

Figure 35: The magnetic flux density degenerates rapidly away from the plane of peak north-south polarity. When
the axis of rotation is placed away from the Hall element, the device must be placed closer to the magnetic poles
to maintain an adequate level of flux at the Hall element.

Allegro MicroSystems, LLC 47


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Linearization
Magnetic fields are generally not completely linear throughout sum of ideal periodic waveforms. The A1335 is capable of using
the full range of target positions. This can be the result of non- up to 14 Fourier series components to linearize the output transfer
uniformities in mechanical motion or of material composition. function.
In some applications, it may be required to apply a mathematical
transfer function to the angle that is reported by the A1335. While it can be used for many applications, harmonic lineariza-
tion is most useful for 360-degree applications. The error curve
The A1335 has built-in functions for performing linearization on for a rotating magnet that is not perfectly aligned will most often
the acquired angle data. It is capable of performing one of two have an error waveform that is periodic. This is phenomenon is
different linearization methods: harmonic linearization and piece- especially true for systems where the sensor is mounted off-axis
wise (segmented) linearization. relative to the magnet. Figure 36 illustrates this periodic error.
Segmented linearization breaks up the output dynamic range
An initial set of linearization coefficients is created by character-
into 16 equal segments. Each segment is then represented by the
izing the application experimentally. With all signal processing
equation of a straight line between the two endpoints of the seg-
options configured, the device is used to sense the applied mag-
ment. Using this basic principle, it is possible to tailor the output
netic field at a target zero degrees of rotation reference angle and
response to compensate for mechanical non-linearity.
at regular intervals. For segmented linearization, 16 samples are
One example is a fluid level detector in a vehicle fuel tank. taken: at nominal zero degrees and every 1/16 interval (22.5°) of
Because of requirements to conform the tank and to provide the full 360° rotational input range. Each angle is read from the
stiffening, fuel tanks often do not have a uniform shape. A level ANG[ANGLE] register and recorded.
detector with a linear sensor in this application would not cor-
rectly indicate the remaining volume of fuel in the tank without These values are loaded into the Allegro ASEK programming
some mathematical conversion. Figure 36 graphically illustrates utility for the device, or an equivalent customer software pro-
the general concept. gram, to generate coefficients corresponding to the values. The
user then uses the software load function to transmit the coef-
Harmonic linearization uses the Fourier series in order to com- ficients to the EEPROM. Each of the coefficient values can be
pensate for periodic error components. In the most basic of terms, individually overwritten during normal operation by writing
the Fourier series is used to represent a periodic signal using a directly to the corresponding SRAM.

Meter and
Sender Fill pipe

Linearized rate
Linear Depth

Uniform walls

Angled walls

Wall stiffener cavities


Angled walls, uneven bottom
Fuel Volume 0

Figure 36: An integrated vehicle fuel tank has varying volumes according to depth due to structural elements. As
shown in the chart, this results in a variable rate of fuel level change, depending on volume at the given depth,
and a linearized transfer function can be used against the integral volume.

Allegro MicroSystems, LLC 48


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Correction for Eccentric Orientation

∆daxial ∆daxial ∆daxial ∆daxial

∆daxial = ∆daxial = ∆daxial = ∆daxial =


+ phase, + phase, + phase, + phase,
+ amplitude + + amplitude – amplitude – – amplitude

360

270

Figure 37a: With the axis of


rotation aligned with the Hall
Detected Angle (°)

element, linearization coeffi-


cients are a simple inversion 180
n

of the input.
tio
nc
Fu

t
ge
n
io

r
Ta
rs
ve

n
io
In

at
a riz
ne

ut
Li

p
In
tic
ne
ag

90
M

0
0 90 180 270 360
Target Rotational Position (°)
Figure 37b: Any eccentric-
+V
ity is evaluated as an error.
Error Correction (V)

∆daxial Correction Corrected Angle Output


Systematic eccentricity can
be factored out by appropri-
ate linearization coefficients. Inversion Result
For off-axis applications,
0
the harmonic linearization 0 90 180 270 360
method is recommended. Device Output Position (°)

Allegro MicroSystems, LLC 49


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

HARMONIC COEFFICIENTS PCB Layout


The device supports up to 11 harmonics. Each harmonic is char- Bypass and decoupling capacitor should be placed as close as
acterized by an amplitude and a phase coefficient. possible to corresponding pins, with low impedance traces.
Capacitors should be tied to a low impedance ground plane when-
To apply harmonic linearization, the device:
ever possible.
1. Calculates the error factors.
2. Applies any programmed offsets.
3. Calculates the linearization factor as:
An × sin(n × t + φn )

4095
Interpolated Linear Position
(y-axis values represent

n
16 equal intervals)

io
ct
un
tf
pu
ut

n
O

ctio
fun
Magnetic Input Values

ut
Inp
(15 x-axis values read
and used to calculate A
coefficients) xLIN_10
2432
BIN0 Minimum Full Scale Input

Maximum Full Scale Input

on
ncti
n

t fu
io

A u
ct

Inp
un

–xLIN_3
tf
pu

–640
ut
O

0
BIN2

BIN3

BIN16
BIN10
BIN1

A Coefficients stored in
EEPROM

Figure 38: Sample of Linearization Function Transfer Characteristic

Allegro MicroSystems, LLC 50


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

PACKAGE OUTLINE DRAWINGS

For Reference Only – Not for Tooling Use


(Reference MO-153 AB-1)
NOT TO SCALE
Dimensions in millimeters
Dimensions exclusive of mold flash, gate burrs, and dambar protrusions
Exact case and lead configuration at supplier discretion within limits shown

5.00 ±0.10 0.45 0.65



0º 14
1.12 D

14
0.20 1.70
0.09

D E

4.40 ±0.10 6.40 BSC 6.00


+0.15
0.60
–0.10
A

1.00 REF

1 2
1 2
Branded Face 0.25 BSC
B PCB Layout Reference View
16X C SEATING PLANE
1.10 MAX GAUGE PLANE
0.10 C SEATING
PLANE
0.30
0.19 0.15
0.65 BSC
0.00
NNNNNNNNNNNN
YYWW
A Terminal #1 mark area
LLLLLLLLLLLL
B Reference land pattern layout (reference IPC7351 TSOP65P640X120-14M);
All pads a minimum of 0.20 mm from all adjacent pads; adjust as necessary
to meet application process requirements and PCB layout tolerances; when 1
mounting on a multilayer PCB, thermal vias at the exposed thermal pad land
can improve thermal dissipation (reference EIA/JEDEC Standard JESD51-5) C Standard Branding Reference View
C Branding scale and appearance at supplier discretion N = Device part number
= Supplier emblem
D Hall element, not to scale Y = Last two digits of year of manufacture
W = Week of manufacture
E Active Area Depth = 0.36 mm (Ref) L = Lot number

Figure 39: Package LE, 14-Pin TSSOP (Single Die Version)

Allegro MicroSystems, LLC 51


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

For Reference Only – Not for Tooling Use


(Reference MO-153 AD)
Dimensions in millimeters – NOT TO SCALE
Dimensions exclusive of mold flash, gate burrs, and dambar protrusions
Exact case and lead configuration at supplier discretion within limits shown

7.80±0.10
E
D D 8º 0.45 0.65
3.40 1.00 0º 24
24
0.20
0.09

D E1 E2 D

4.40±0.10 6.40 BSC +0.15 6.10


0.60 –0.10

D 2.20 A

1.00 REF
1.65
1 2
1 2
0.25 BSC
24X C
1.10 MAX
SEATING PLANE B PCB Layout Reference View
0.10 C GAUGE PLANE
SEATING
PLANE
0.30
0.65 BSC
0.19
0.15
0.05
A Terminal #1 mark area NNNNNNNNNN
YYWW
B Reference land pattern layout (reference IPC7351 TSOP65P640X120-25M); LLLL
all pads a minimum of 0.20 mm from all adjacent pads; adjust as necessary
to meet application process requirements and PCB layout tolerances; when
mounting on a multilayer PCB, thermal vias can improve thermal dissipation 1
(reference EIA/JEDEC Standard JESD51-5)
C Standard Branding Reference View
C Branding scale and appearance at supplier discretion N = Device part number
= Supplier emblem
D Hall elements (E1, E2), corresponding to respective die; not to scale Y = Last two digits of year of manufacture
W = Week of manufacture
E Active Area Depth 0.36 mm REF L = Lot number

Figure 40: Package LE, 24-Pin TSSOP (Dual Die Version)

Allegro MicroSystems, LLC 52


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
A1335 Precision Hall-Effect Angle Sensor IC
with I2C, SPI, and SENT Interfaces

Revision Change Pages Responsible Date


– Initial release All W. Wilkinson September 21, 2015

Copyright ©2015, Allegro MicroSystems, LLC


Allegro MicroSystems, LLC reserves the right to make, from time to time, such departures from the detail specifications as may be required to
permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that
the information being relied upon is current.
Allegro’s products are not to be used in any devices or systems, including but not limited to life support devices or systems, in which a failure of
Allegro’s product can reasonably be expected to cause bodily harm.
The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems, LLC assumes no responsibility for its
use; nor for any infringement of patents or other rights of third parties which may result from its use.
I2C™ is a trademark of Philips Semiconductors.

Allegro MicroSystems, LLC 53


115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com

You might also like