as5046 austriamicrosystems, as5046 Datasheet - Page 20

no-image

as5046

Manufacturer Part Number
as5046
Description
Programmable 12-bit 360? Magnetic Angle Encoder With Absolute 2-wire Serial And Analog Interfaces
Manufacturer
austriamicrosystems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
as50462
Manufacturer:
2000+
Quantity:
230
AS5046 Programmable 360° Magnetic Angle Encoder – Preliminary Data Sheet
12 Programming the AS5046
After power-on, programming the AS5046 is enabled with
the rising edge of CSn and Prog = logic high. 16 bit
configuration data must be serially shifted into the OTP
register via the Prog-pin. The first “CCW” bit is followed
by the zero position data (MSB first) and the Analog
Output Mode setting as shown in Table 9. Data must be
valid at the rising edge of CLK (see Figure 13). Following
this sequence, the voltage at pin Prog must be raised to
the programming voltage V
pulses (t
exit the programming mode, the chip must be reset by a
power-on-reset. The programmed data is available after
the next power-up.
Note: During the programming process, the transitions in
the programming current may cause high voltage spikes
generated by the inductance of the connection cable. To
avoid these spikes and possible damage to the IC, the
connection wires, especially the signals PROG and VSS
must be kept as short as possible. The maximum wire
length between the V
PROG (Figure 15) should not exceed 50mm (2 inches).
To suppress eventual voltage spikes, a 10nF ceramic
capacitor should be connected close to pins PROG and
VSS. This capacitor is only required for programming, it
Revision 1.0
Prog
CSn
SCL
PROG
t
Prog enable
) must be applied to program the fuses. To
t
Datain
PROG
CCW
t
1
Datain valid
PROG
switching transistor and pin
Z9
Figure 13: Programming Access – OTP Write Cycle (section of Figure 14)
(see Figure 14). 16 CLK
see text
Z8
t
clk
Z7
www.austriamicrosystems.com
Z6
Zero Position
Z5
Z4
Z3
8
is not required for normal operation. The clock timing t
must be selected at a proper rate to ensure that the
signal PROG is stable at the rising edge of CLK (see
Figure 13). Additionally, the programming supply voltage
should be buffered with a 10µF capacitor mounted close
to the switching transistor. This capacitor aids in
providing peak currents during programming. The
specified programming voltage at pin PROG is 7.3 – 7.5V
(see section 5.7). To compensate for the voltage drop
across the V
programming voltage may be set slightly higher (7.5 -
8.0V, see Figure 15).
OTP Register Contents:
CCW
Z [9:0]: Programmable Zero / Index Position
FB_intEN: OPAMP gain setting: 0=external, 1=internal;
RefExtEN:
ClampMd EN:
Output Range (OR0, OR1):
Disable shutdown of analog output :
ccw=0 – angular value increases with clockwise rotation
ccw=1 – angular value increases with counterclockwise rotation
Z2
Z1
Counter Clockwise Bit
this bit also sets device address bit A2 !
[1:0]
see 11.1.2
DAC reference: 0=internal, 1=external;
this bit also sets device address bit A1 !
Z0
PROG
Analog output span: 0=0-100%,
1=10-90%*VDD;
this bit also sets device address bit A0
Analog Output Range Selection
00 = 360°
10 = 90°
FB_int
EN
A2
switching transistor, the applied
RefExt
EN
A1
Analog Modes
Clamp
Md En
A0
Range1
Output
01 = 180°
11 = 45°
Range0
Output
16
Page 20 of 33
clk

Related parts for as5046