AS5045
Data Sheet
11 Programming the AS5045
After power-on, programming the AS5045 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 Mode setting bits. Data must be valid at the rising edge of CLK (see
Figure 10 ).
After writing the data into the OTP register it can be permanently programmed by rising the Prog pin to the
programming voltage V PROG . 16 CLK pulses (t PROG ) must be applied to program the fuses ( Figure 11 ). To 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 switching transistor and pin Prog should not exceed 50mm (2 inches). To suppress eventual
voltage spikes, a 10nF ceramic capacitor should be connected close to pins VPROG and VSS. This capacitor is only
required for programming, it is not required for normal operation. The clock timing t clk must be selected at a proper
rate to ensure that the signal Prog is stable at the rising edge of CLK (see Figure 10 ). 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 6.8).
To compensate for the voltage drop across the V PROG switching transistor, the applied programming voltage may be
set slightly higher (7.5 ~ 8.0V, see Figure 12 ).
OTP Register Contents:
CCW
Z [11:0]:
PWM dis:
Counter Clockwise Bit
ccw=0 – angular value increases in clockwise direction
ccw=1 – angular value increases in counter clockwise direction
Programmable Zero Position
Disable PWM output
MagCompEn: When set, activates LIN alarm both when magnetic field is too high and too low (see Table 5 )
PWMhalfEn:
When set, PWM frequency is 122Hz or 2μs / step (when PWMhalfEN = 0, PWM frequency is 244Hz,
1μs / step)
11.1 Zero Position Programming
Zero position programming is an OTP option that simplifies assembly of a system, as the magnet does not need to
be manually adjusted to the mechanical zero position. Once the assembly is completed, the mechanical and
electrical zero positions can be matched by software. Any position within a full turn can be defined as the permanent
new zero position.
For zero position programming, the magnet is turned to the mechanical zero position (e.g. the “off”-position of a
rotary switch) and the actual angular value is read.
This value is written into the OTP register bits Z11:Z0 (see Figure 10 ) and programmed (see Figure 11 ).
Note: The zero position value may also be modified before programming, e.g. to program an electrical zero position
that is 180° (half turn) from the mechanical zero position, just add 2048 to the value read at the mechanical zero
position and program the new value into the OTP register.
11.2 Repeated OTP Programming
Although a single AS5045 OTP register bit can be programmed only once (from 0 to 1), it is possible to program
other, unprogrammed bits in subsequent programming cycles. However, a bit that has already been programmed
should not be programmed twice. Therefore it is recommended that bits that are already programmed are set to “0”
during a programming cycle.
www.austriamicrosystems.com
Revision 1.7
18 – 33
相关PDF资料
AS5134 PB BOARD PROGRAM AS5134
AS5140 PB BOARD PROGRAM AS5140
ASDMB-ADAPTER-KIT ASDMB MEMSPEED P II OSC KIT
ASFLMPLP-ADAPTER-KIT ASFLMPLP MEMSPEED P II OSC KIT
AT24C01-10SI-1.8 IC EEPROM 1KBIT 400KHZ 8SOIC
AT24C01B-TSU-T IC EEPROM 1KBIT 1MHZ SOT23-5
AT24C02C-XHM-B IC EEPROM 2KBIT 1MHZ 8TSSOP
AT24C04AN-10SI-2.7 IC EEPROM 4KBIT 400KHZ 8SOIC
相关代理商/技术参数
AS5045_V1 制造商:AMSCO 制造商全称:austriamicrosystems AG 功能描述:12 Bit Programmable Magnetic Rotary Encoder
AS5045-AB 制造商:ams 功能描述:AS5045 Adapter Board
AS5045-ADAPTER 制造商:AMS 功能描述:Adapter Board to Test and Evaluate AS5045 Rotary Encoder
AS5045ASST 制造商:ams 功能描述:T&R / SSOP 16
AS5045-ASST 功能描述:IC ENCODER PROG 12-BIT 16-SSOP RoHS:是 类别:传感器,转换器 >> 磁性 - 霍尔效应,数字式开关,线性,罗盘 (IC) 系列:- 标准包装:1 系列:- 传感范围:20mT ~ 80mT 类型:旋转 电源电压:4.5 V ~ 5.5 V 电流 - 电源:15mA 电流 - 输出(最大):- 输出类型:数字式,PWM,8.5 位串行 特点:可编程 工作温度:-40°C ~ 150°C 封装/外壳:20-SSOP(0.209",5.30mm 宽) 供应商设备封装:20-SSOP 包装:Digi-Reel® 其它名称:AS5132-HSST-500DKR
AS5045ASSU 制造商:AMS 功能描述:IC MAGNETIC ROTARY ENCODER 12BIT SSOP16 制造商:AMS 功能描述:IC, MAGNETIC ROTARY ENCODER 12BIT SSOP16 制造商:AMS 功能描述:IC, MAGNETIC ROTARY ENCODER 12BIT SSOP16; IC Function:Encoder IC; Brief Features:360 Contactless High Resolution Angular Position Encoding, Two 12-bit Absolute Output; Supply Voltage Min:3V; Supply Voltage Max:3.6V; No. of Pins:16 ;RoHS Compliant: Yes
AS5045-ASSU 功能描述:板机接口霍耳效应/磁性传感器 RoHS:否 制造商:Honeywell 类型:Bipolar Hall-Effect Digital Position Sensor 工作电源电压:3 V to 24 V 电源电流:3.5 mA 最大输出电流:20 mA 工作点最小值/最大值:5 G, 55 G 最小/最大释放点(Brp):- 55 G, - 5 G 最大工作温度:+ 150 C 安装风格:SMD/SMT 封装 / 箱体:SOT-23
AS5045B 制造商:AMSCO 制造商全称:austriamicrosystems AG 功能描述:12-Bit Programmable Magnetic Position Sensor