Programming Tool
Programming Tool
is now
ams AG
The technical content of this austriamicrosystems document is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail: [email protected]
Programming Tool
1 General Overview
This operational manual describes the function of the AS5000 Programmer in combination with the programming
boards. This tool can program the austriamicrosystems AS5000 series magnetic rotary encoders. The graphical user
interface (GUI) runs on PC running Windows XP or later and controls the programmer via the USB interface.
id
All major access modes to the OTP memories can be established. Be aware that austriamicrosystems provides the
AS5000 Programmer as a reference for programming and reading of mentioned devices (refer to Appendix A) under
laboratory conditions (no warranty for mass production).
al
Note: Since firmware version v2.10 the AS5000-Programmer contains a boot loader, which provides an update function
for new software release. Please refer to the corresponding application note AN5000-60 (available on our
lv
webpage).
2 Hardware Components
il
2.1 Description of the Hardware Components
st
te G
on A
nt
LCD display (programmer v1.3 or older only)
lc s
USB cable
am
Programming board
AS5000 programmer (AS5xxx-PB)
Figure 1 shows the three components which are needed to program the austriamicrosystems magnetic rotary encoder.
Take care that the connector between programming box and programming box is plugged in the right way.
ni
Warning:
In case of wrong connection, the components in the AS5000 programmer or the encoder can be destroyed!
ch
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
id
Pin # Signal Comment
al
1 Vzap Programming voltage
2 Vzap Programming voltage
3 D10 Encoder signal
lv
4 ADC2 Device autodetection voltage
5 D9 Encoder signal
6 ADC1 Vzap feedback
7 D8 Encoder signal
il
8 D11 Encoder signal
9 D7 Encoder signal
st
10
11
te G D6
VDD
Encoder signal
Encoder power supply
12 VDD Encoder power supply
on A
13 GND Ground
14
nt GND Ground
15 D5 Encoder signal
lc s
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
Connector to the
AS5000 programmer
Jumper J9:
id
Gain = 1
(AS5043 only)
al
ZIF socket
il lv
st
Location of pin 1 of
the encoder
te G
on A
nt Device Selection
jumper
lc s
The programming board (AS5xxx-PB) is specific for a group of devices. By jumper setting on this board the build in
firmware in the programming box automatically detects the selected device. It is not recommended to change the
jumper setting to a different encoder type than installed in the socket.
To place or remove a device form the socket, push the black frame of the socket down. This socket has more
connectors as the AS50xx/ AS51xx part and therefore it is important to align the device to the left side of the socket.
The pin 1 of the device must be on the bottom left side. Figure 2 shows the detailed placed device in the socket.
The jumper J9 is specific for the AS5043/AS5143. This Jumper is used to close the feedback loop used for the analog
output operation mode. With this jumper the gain can set to 1.
ca
The jumper J6 is by default closed because the AS5000 Programmer provides 3.3V operation. In case of 5 V operation
the jumper must be removed and the configuration can be changed over the GUI.
ni
ch
Te
www.austriamicrosystems.com
3 Installation
The preliminary software is developed for a Microsoft Windows XP operating system with Service Pack 2. In addition
id
the dotnet (.NET) framework version 2.0 or more must be installed on the PC. This package can be downloaded free of
charge from the Microsoft webpage:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
al
Following Procedure is recommended before starting the GUI:
lv
1. check on your PC if Service Pack 2 is installed
2. install the mentioned .net package to your computer
3. execute AS5000GUI_setup.exe
4. Finally start the GUI using the shortcut in the start menu or desktop.
il
st
te G
on A
nt
lc s
ca am
ni
ch
Te
www.austriamicrosystems.com
4 Graphical User Interface (GUI)
id
al
il lv
st
te G
on A
nt
lc s
By default the GUI is in the auto detection mode. Any austriamicrosystems device connected on the USB port (one
device at the same time) will be automatically detected and displayed in the right top corner.
Note: The autodetect mode can be disabled and forced to any other device type by selecting the device manually.
ca
Once a PB board inserted, tabs will be displayed allowing go into two main sections: SSI (or TWI) and OTP.
ni
ch
Te
www.austriamicrosystems.com
4.1 Programming the AS5040/AS5045/AS5140/AS5145
id
AS5040-PB ZIF socket board
Device selection for autodetect:
- Jumper position 2: AS5040
al
- Jumper position 3: AS5045
Pin 1 - Jumper position 4: AS5140
- Jumper position 5: AS5145
lv
Figure 5: AS5040-PB Programming board
il
By selecting the SSI tab, information of the angular position and the status bits appear:
st
te G
Selected die
on A
(dual die AS52xx devices only)
nt
Status bits and field alarm
lc s
am
- Die selection: This option is for dual die AS52xx devices only. For AS50xx and AS51xx devices Die 0 (default)
must be selected.
Te
- Value field is the raw angle extracted from the SSI stream. The angle range is 0 (0°) to 1023 (359.6°)
- Status field displays the status bits extracted from the SSI stream. Green light means that the airgap between
the magnet and encoder is correct. Orange light means the magnet is too close of too far.
- CCW checkbox is the angle direction. To invert the rotating direction, check CCW.
- Zero Position field: Set button writes the actual angle value into the Zero Position register of the encoder. This
programming is not permanent. The actual value will be 0 after zero position programming. To reset the zero
position register, or to set a new zero position, click on Reset first.
- Read interval is the SSI stream readout and refresh rate the GUI.
Revision 1.10, 04-Mar-2010 Page 6 of 24
www.austriamicrosystems.com
id
al
il lv
st
te G
on A
nt
lc s
This example is the effect when the function Zero Position SET has been performed.
Before programming, the encoder shows the position 651 (Figure 6). One click on Zero Position Set makes the software
writing the value 651 into the OTP Zero Position register (not permanent programming).
Selecting Zero Position Reset will write the value 0 to the OTP Zero Position register.
Note: The Zero Position function is the same for all the AS50xx, AS51xx, AS52xx rotary encoders offering this feature.
Selecting the OTP tab will read the OTP configuration from the IC.
ca
ni
ch
Te
www.austriamicrosystems.com
id
al
il lv
st
te G
on A
nt
lc s
AS5040/AS5045:
Read reads the OTP configuration from the permanent fuse register.
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is possible
to check the effect of the new configuration.
Zap! writes permanently the checked OTP bits to the encoder’s fuses.
AS5140/AS5145:
ca
Load reads the OTP configuration from the permanent fuse register.
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is possible
to check the effect.
ch
Zap! writes permanently the checked OTP bits to the encoder’s fuses.
Te
www.austriamicrosystems.com
4.2 Programming the AS5043
Programming AS5043 encoders requires the AS5043-PB
ZIF socket board.
id
AS5043-PB ZIF socket board
Device selection for autodetect:
- Jumper position 1: AS5043
al
Pin 1
lv
Figure 9: AS5043-PB Programming board
il
By selecting the SSI tab, information of the angular position and the status bits appear:
st
te G
on A
nt
Selected die
lc s
- Die selection: This option is for dual die AS52xx devices only. For AS50xx and AS51xx devices Die 0 (default)
must be selected.
- Value field is the raw angle extracted from the SSI stream. The angle range is 0 (0°) to 1023 (359.6°)
- Status field displays the status bits extracted from the SSI stream. Green light means that the airgap between the
Te
magnet and encoder is correct. Orange light means the magnet is too close of too far.
- CCW checkbox is the angle direction. To invert the rotating direction, check CCW.
- Zero Position field: Set button writes the actual angle value into the Zero Position register of the encoder. This
programming is not permanent. The actual value will be 0 after zero position programming. To reset the zero
position register, or to set a new zero position, click on Reset first.
- Read interval is the SSI stream readout and refresh rate the GUI.
www.austriamicrosystems.com
id
al
il lv
st
te G
on A
nt
lc s
am
Figure 11: OTP tab of AS5043, with FBintEN option checked by user
• AS5043:
Read reads the OTP configuration from the permanent fuse register.
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is
possible to check the effect of the new configuration.
ca
Zap! Writes permanently the checked OTP bits to the encoder’s fuses.
ni
ch
Te
www.austriamicrosystems.com
4.3 Programming the AS5245
id
AS5245-PB ZIF socket board
Device selection for autodetect:
- Jumper position 2: AS5245
al
lv
Pin 1
il
Figure 12: AS5245-PB Programming board
st
te G
By selecting the SSI tab, information of the angular position and the status bits appear:
on A
nt
lc s
Selected die
(dual die AS52xx devices only)
am
- Die selection: This option is for dual die AS52xx devices only. For AS50xx and AS51xx devices Die 0 (default)
must be selected.
- Value field is the raw angle extracted from the SSI stream. The angle range is 0 (0°) to 1023 (359.6°)
- Status field displays the status bits extracted from the SSI stream. Green light means that the airgap between
the magnet and encoder is correct. Orange light means the magnet is too close of too far.
- CCW checkbox is the angle direction. To invert the rotating direction, check CCW.
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
- Zero Position field: Set button writes the actual angle value into the Zero Position register of the encoder. This
programming is not permanent. The actual value will be 0 after zero position programming. To reset the zero
position register, or to set a new zero position, click on Reset first.
- Read interval is the SSI stream readout and refresh rate the GUI.
id
al
il lv
st
Selected die
te G
(dual die AS52xx devices only)
on A
nt
lc s
am
• AS5245:
Load reads the OTP configuration from the permanent fuse register.
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is
possible to check the effect.
ni
Zap! writes permanently the checked OTP bits to the encoder’s fuses.
ch
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
id
AS5134-PB ZIF socket board
Device selection:
- Jumper position 1: AS5134
al
il lv
Figure 15: AS5134-PB Programming Board
st
te G
on A
nt
lc s
am
AGC value
- Value field is the raw angle extracted from the interface. The angle range is 0° to 359°
Te
- Status field (AGC) displays the status bits depending on the set AGC values. Green light means that the
airgap between the magnet and encoder is correct. Red light means the magnet is too far away.
- Zero Position field: Set button writes the actual angle value into the Zero Position register of the encoder. This
programming is not permanent. The actual value will be 0 after zero position programming. To reset the zero
position register, or to set a new zero position, click on Reset first.
- Read interval is the readout and refresh rate the GUI.
- Digital interface opens an additional window (see Figure 17), which provides all communications commands
like WRTIE_CONFIG or EN_PROG (for entering the exentended mode).
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
id
Figure 17: Communication command window
al
il lv
st
te G
on A
nt
lc s
ca am
ni
• AS5134:
Read reads the OTP configuration from the permanent fuse register.
Te
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is
possible to check the effect of the new configuration.
Zap! writes permanently the checked OTP bits to the encoder’s fuses.
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
id
al
lv
Figure 19: AS5x63-CB Connection Board (left) and AS5163-PB Programming Board (right)
il
Programming AS5163/AS5263 encoders requires the AS5163-PB/AS5263-PB socket board and the AS5x63-CB
connection board.
st
te G
The connection board provides the load, needed for programming and operating the AS5163/AS5263.
Further details concerning all programming options are provided in application note AN5163-10 (available on our
on A
webpage).
nt
4.6 Programming the AS5115/AS5215
lc s
ca am
ni
ch
Figure 20: AS115-PB Programming Board (left) and AS5215-PB Programming Board (right)
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
id
al
il lv
Figure 21: TWI tab of AS5115
st
te G
The AS5115-PB and AS5215-PB does not support an angle readback of the analogue outputs.
on A
nt
lc s
am
Selected die
ca
• AS5115/AS5215:
Read reads the OTP configuration from the permanent fuse register.
Te
Write writes the bits checked by the user into the volatile OTP register. Selecting the SSI after the configuration is
possible to check the effect of the new configuration.
Zap! writes permanently the checked OTP bits to the encoder’s fuses.
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
5.1 AS5040-PB-1.1
id
al
il lv
st
te G
on A
nt
lc s
am
5.2 AS5043-PB-1.1
ca
ni
ch
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
5.3 AS5115-PB1.1
id
al
lv
5.4 AS5134-PB-1.1
il
st
te G
on A
nt
lc s
ca am
ni
ch
5.5 AS5163-PB-1.0
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
5.6 AS5215-PB-1.1
id
al
il lv
5.7 AS5245-PB-1.1
st
te G
on A
nt
lc s
ca am
ni
ch
5.8 AS5263-PB-1.0
Te
www.austriamicrosystems.com
Appendix A
id
Programming
AS5030 AS5040 AS5043 AS5115 AS5130 AS5134 AS5163 AS5215 AS5245 AS5263 Supported by
al
Board
Part
number
PB PB PB PB PB PB PB PB PB PB firmware ≥
AS5030 ● Future Release
lv
AS5040 ● 0.12
AS5043 ● 0.12
AS5045 ● 0.12
il
AS5046 ● Future Release
AS5115 ● 2.24
st
te G
AS5130 ● Future Release
AS5134 ● 0.10
on A
AS5140 ● 0.10
nt
AS5145 ● 0.10
AS5163 ● 0.13
lc s
AS5215 ● 2.24
AS5245 ● 0.10
AS5263
ca am ● 0.13
ni
ch
www.austriamicrosystems.com
Index
1 General Overview...................................................................................................................................................... 1
2 Hardware Components.............................................................................................................................................. 1
2.1 Description of the Hardware Components........................................................................................................ 1
2.2 Description of the programming board.............................................................................................................. 3
3 Installation ................................................................................................................................................................. 4
3.1 Hardware setup................................................................................................................................................. 4
3.2 Installing the GUI on the PC ............................................................................................................................. 4
4 Graphical User Interface (GUI).................................................................................................................................. 5
4.1 Programming the AS5040/AS5045/AS5140/AS5145 ....................................................................................... 6
4.2 Programming the AS5043................................................................................................................................. 9
4.3 Programming the AS5245............................................................................................................................... 11
id
4.4 Programming the AS5134............................................................................................................................... 13
4.5 Programming the AS5163/AS5263................................................................................................................. 15
4.6 Programming the AS5115/AS5215................................................................................................................. 15
al
5 Programming boards (PB) Schematics ................................................................................................................... 17
5.1 AS5040-PB-1.1............................................................................................................................................... 17
5.2 AS5043-PB-1.1............................................................................................................................................... 17
lv
5.3 AS5115-PB1.1 ................................................................................................................................................ 18
5.4 AS5134-PB-1.1............................................................................................................................................... 18
5.5 AS5163-PB-1.0............................................................................................................................................... 18
5.6 AS5215-PB-1.1............................................................................................................................................... 19
il
5.7 AS5245-PB-1.1............................................................................................................................................... 19
5.8 AS5263-PB-1.0............................................................................................................................................... 19
st
te G
Appendix A ....................................................................................................................................................................... 20
Revision History ............................................................................................................................................................... 22
on A
Contact ............................................................................................................................................................................. 23
nt
Sales Offices................................................................................................................................................................ 23
Copyright .......................................................................................................................................................................... 24
lc s
ca am
ni
ch
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
Revision History
Revision Date Description
R1.0 March.29, 2008 New copy
R1.1 May 22, 2008 All paragraphs, new pictures included
R1.2 June 16, 2008 AS5134 device added
R1.3 September 4, 2008 New devices added, minor corrections
R1.4 September 26, 2008 Minor corrections
R1.5 December 15, 2008 Minor corrections
id
R1.6 January 26, 2009 Layout modification, PB schematics
R1.7 March 3, 2009 Supported devices table added
R1.8 August 10, 2009 AS5x40, AS5x45 chapter added, screenshot updated.
al
R1.9 February 04, 2010 AS5134 updated, AS5143 removed, AS5245 added
R1.10 March 04, 2010 AS5115, AS5215, AS5163 and AS5263 added
il lv
st
te G
on A
nt
lc s
ca am
ni
ch
Te
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
Contact
Headquarters
austriamicrosystems AG
A 8141 Schloss Premstätten, Austria
Phone: +43 3136 500 0
Fax: +43 3136 525 01
[email protected]
www.austriamicrosystems.com
austriamicrosystems USA, Inc.
id
Sales Offices 8601 Six Forks Road
austriamicrosystems Germany GmbH Suite 400
Tegernseer Landstrasse 85 Raleigh, NC 27615, USA
al
D-81539 München, Germany Phone: +1 919 676 5292
Phone: +49 89 69 36 43 0 Fax: +1 509 696 2713
Fax: +49 89 69 36 43 66
lv
austriamicrosystems USA, Inc.
austriamicrosystems Italy S.r.l. 4030 Moorpark Ave
Via A. Volta, 18 Suite 116
il
I-20094 Corsico (MI), Italy San Jose, CA 95117, USA
Phone: +39 02 4586 4364 Phone: +1 408 345 1790
st
Fax: +39 02 4585 773
te G Fax: +1 509 696 2713
on A
austriamicrosystems France S.A.R.L. nt austriamicrosystems AG
124, Avenue de Paris Suite 811, Tsimshatsui Centre
F-94300 Vincennes, France East Wing, 66 Mody Road
Phone: +33 1 43 74 00 90
lc s
Korea 135-080
austriamicrosystems AG Phone: +82 2 557 8776
Klaavuntie 9 G 55
ch
www.austriamicrosystems.com
AS5000 Programmer OPERATIONAL MANUAL
Copyright
Devices sold by austriamicrosystems are covered by the warranty and patent indemnification provisions appearing in its
Term of Sale. austriamicrosystems makes no warranty, express, statutory, implied, or by description regarding the
information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems
reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this
product into a system, it is necessary to check with austriamicrosystems for current information. This product is intended for
use in normal commercial applications.
Copyright © 2009 austriamicrosystems. Trademarks registered ®. All rights reserved. The material herein may not be
reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. To the
best of its knowledge, austriamicrosystems asserts that the information contained in this publication is accurate and correct.
id
However, austriamicrosystems shall not be liable to recipient or any third party for any damages, including but not limited to
personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or
consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical
al
data herein. No obligation or liability to recipient or any third party shall arise or flow out of austriamicrosystems rendering of
technical or other services.
il lv
st
te G
on A
nt
lc s
ca am
ni
ch
Te
www.austriamicrosystems.com