Programming Procedure For Ams AS5xxx Series
Programming Procedure For Ams AS5xxx Series
SD4Y Programmer
Programmer Introduction
Programming Procedure for the AMS AS5xxx
Series
Table of Contents
Table of Contents ................................................................................................................................ 2
1 Introduction .......................................................................................................................... 4
2 Main Features ...................................................................................................................... 5
3 Supported Devices: .............................................................................................................. 5
4 SD4Y Programmer operation conditions UPROG1.4 .......................................................... 6
4.1 Outputs ................................................................................................................................. 6
4.2 Inputs ................................................................................................................................... 6
4.3 Absolute maximum ratings Inputs ........................................................................................ 7
4.4 ESD Protection and Operating Temperature ....................................................................... 7
5 Programmer Hardware Description ..................................................................................... 8
5.1 SD4Y Programmer Hardware Description ........................................................................... 8
5.2 Additional Hardware ........................................................................................................... 11
5.2.1 Standard Adapter for 1 Wire Interface / SPI Interface and I2C Interface .......................... 11
5.2.2 Relay Board ....................................................................................................................... 12
6 SD4Y Programmer GUI Installation ................................................................................... 13
7 Programming of the ams AS5xxx series ............................................................................ 14
7.1 ams AS5145 ....................................................................................................................... 14
7.1.1 Hardware ............................................................................................................................ 14
7.1.2 Programming Procedure and Function Description for the ams AS5145 .......................... 15
7.2 ams AS5045B .................................................................................................................... 20
7.2.1 Hardware ............................................................................................................................ 20
7.2.2 Programming Procedure and Function Description for the ams AS5045B ....................... 21
7.3 ams AS5043 ....................................................................................................................... 26
7.3.1 Hardware ............................................................................................................................ 26
7.3.2 Programming Procedure and Function Description for the ams AS5043 .......................... 27
7.4 ams AS5045 ....................................................................................................................... 32
7.4.1 Hardware ............................................................................................................................ 32
7.4.2 Programming Procedure and Function Description for the ams AS5045 .......................... 33
7.5 ams AS5140 ....................................................................................................................... 38
7.5.1 Hardware ............................................................................................................................ 38
7.5.2 Programming Procedure and Function Description for the ams AS5140 .......................... 39
7.6 ams AS5040 ....................................................................................................................... 44
Revision History
1 Introduction
The SD4Y production programmer is designed for high-speed programming for the AMS magnetic
position sensors in the production.
The programmer supports all interfaces for programming the AS5x4x, AS5x3x and AS514x
magnetic position sensor.
All mandatory commands e.g. Analog Read back, which are necessary and mandatory for
programming the AMS magnetic position sensors, are implemented.
The SD4Y is fully ESD protected and the power supply is galvanic isolated from the internal uC.
Internal Voltage measurements are checking the supply and programming voltage to be sure, there
is no internal damage.
2 Main Features
3 Supported Devices:
The following list is showing the AMS magnetic position sensors, which are integrated in the
programmer uC & GUI. Drivers are available for LabView 2010 32bit and 32 bit Windows dll.
AS5030
AS5040
AS5043
AS5045
AS5045B
AS5047D
AS5115
AS5132
AS5134
AS5140
AS5145
AS5147
The following devices are supported by hardware & drivers. GUI is provided by ams.
AS5x6y Family
AS5403
4.1 Outputs
4.2 Inputs
VDDRS232 11 12 13 V
Digital I/O in 3 3,3 3,6 V
3.3V mode
Digital I/O in 5V 4.5 5 5.5 V
mode
Analog input 0 n.a. 3.3 V
voltage on Prog
The SD4Y Programmer has two possible input connectors for the PC
1) USB
2) RS232 and external Power Supply (12V max)
USB:
The USB connector can be used for operate the SD4Y Programmer without an additional Supply.
Important: The max allowed current consumption on the VDD is 50mA. Otherwise the USB
controller turns off.
A firmware upgrade is only possible with the USB connector.
RS232:
To use the RS232 an additional Supply is necessary. The max. Voltage is 12V.
Important: The max allowed current consumption on the VDD is 150mA. Otherwise the
RS232 controller turns off.
SD4Y-Programmer Connector
The SD4Y Programmer has a 20 pin connector for the DUT (Device under test)
This Connector has the same PIN Out like the AMS AS5000 Programmer.
Connection of the SD4Y Programmer to an AMS Sensor during programming and analog
readback mode
Programming: During programming the programmer is switching internal the programming caps to
the Programming Pin.
Additional Programming Capacitors are not necessary and not allowed. The max allowed capacitor
on the Programming Pin on the Application board is 100pF.
The cable length has to be as short as possible.
AnalogReadBack: During the analog read back, programmer is disconnecting automatically the
internal programming capacitors
The max allowed capacitor on the Programming Pin on the Application board is 100pF during
analog read back. Otherwise the not fused fuses can be destroyed.
The cable length has to be as short as possible.
5.2.1 Standard Adapter for 1 Wire Interface / SPI Interface and I2C Interface
The standard adapter is necessary for AMS Sensors with 1-Wire UART (e.g. AS5162 or AS5403)
and AMS Sensors with a standard SPI Interface. Additional there is the possibility to use this
adapter board for AMS Sensor with I2C Interface.
Additional for the AS5403 there is a PWM_Sync Input included for triggered SPI or UART Read.
Board:
The Relay Board is for the following sensors and measurements necessary.
1) AS5262 Sensor: With this relay board there is the possibility to program both dies with one
programmer
2) Using External VDD.
3) Using a DVM to measure the right DAC Value of the AS5262 --> DAC Calibration
Board:
To use the SD4Y Programmer GUI some additional steps are necessary to run the software.
7.1.1 Hardware
PINOUT: 20 PIN Connector to AS5145/AS5045
Connector on the SD4Y Programmer
Pinout AS5145
7.1.2 Programming Procedure and Function Description for the ams AS5145
b) Press the Button. The Status will change to the green checkmark.
c) Please check if the latest firmware is used. For a firmware update, please connect
the programmer to the USB , choose the right COM and press the FW upgrade
Button
If the update was successful, the FW- Version will change.
By selecting the SSI tab, information of the angular position and the status bits appear:
- Status flag: The Status Flag displays the status bits extracted from the SSI.
7) Push the “set to OTP-GUI” for setting the zero point or use the manual setting of the zero
15) If the values in the AS5145 CS area are right, push Button for permanent
programming.
16) Push Analogue. The analog read back is mandatory, after programming!
Warning: It’s not allowed to connect a capacitor to the VPRog. This can destroy all OTP
Bits during the analog read back
17) In the “Resistance” area is the OTP Fuse resistance Information of all Customer Bits.
Programmed Fuse: 50 – 200 Ohm
Unprogrammed Fuse: >10 kOhm
Bad Fuse: 200 Ohm – 10 kOhm
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
18) Verification between written data and analogue data is mandatory, to be sure no bit
is missing.
19) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
−
7.2.1 Hardware
PINOUT: 20 PIN Connector to AS5045B
Connector on the SD4Y Programmer
Pinout AS5145
e) Press the Button. The Status will change to the green checkmark.
f) Please check if the latest firmware is used. For a firmware update, please connect
the programmer to the USB , choose the right COM and press the FW upgrade
Button
If the update was successful, the FW- Version will change.
By selecting the SSI tab, information of the angular position and the status bits appear:
7) Push the “set to OTP-GUI” for setting the zero point or use the manual setting of the zero
15) If the values in the AS5045B CS area are right, push Button for permanent
programming.
16) Push Analogue. The analog read back is mandatory, after programming!
Warning: It’s not allowed to connect a capacitor to the VPRog. This can destroy all OTP
Bits during the analog read back
17) In the “Resistance” area is the OTP Fuse resistance Information of all Customer Bits.
Programmed Fuse: 50 – 200 Ohm
Unprogrammed Fuse: >10 kOhm
Bad Fuse: 200 Ohm – 10 kOhm
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
18) Verification between written data and analogue data is mandatory, to be sure no bit
is missing.
19) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
−
7.3.1 Hardware
PINOUT: 20 PIN Connector to AS5043
Connector on the SD4Y Programmer
Pinout AS5043
7.3.2 Programming Procedure and Function Description for the ams AS5043
h) Press the Button. The Status will change to the green checkmark.
i) Please check if the latest firmware is used. For a firmware update, please connect
the programmer to the USB , choose the right COM and press the FW upgrade
Button
If the update was successful, the FW- Version will change.
By selecting the SSI tab, information of the angular position and the status bits appear:
7) Push the “set to OTP-GUI” for setting the zero point or use the manual setting of the zero
15) If the values in the AS5043 CS area are right, push Button for permanent
programming.
16) Push Analogue. The analog read back is mandatory, after programming!
Warning: It’s not allowed to connect a capacitor to the VPRog. This can destroy all OTP
Bits during the analog read back
17) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,1 V
Unprogrammed Fuse: >1V
Bad Fuse: 0,1V – 1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
18) Verification between written data and analogue data is mandatory; to be sure no bit
is missing.
19) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.4.1 Hardware
Pinout AS5045
7.4.2 Programming Procedure and Function Description for the ams AS5045
k) Press the Button. The Status will change to the green checkmark.
l) Please check if the latest firmware is used. For a firmware update, please connect
the programmer to the USB , choose the right COM and press the FW upgrade
Button
If the update was successful, the FW- Version will change.
By selecting the SSI tab, information of the angular position and the status bits appear:
7) Push the “set to OTP-GUI” for setting the zero point or use the manual setting of the zero
15) If the values in the AS5045 CS area are right, push Button for permanent
programming.
16) Push Analogue. The analog read back is mandatory, after programming!
Warning: It’s not allowed to connect a capacitor to the VPRog. This can destroy all OTP
Bits during the analog read back
17) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,1 V
Unprogrammed Fuse: >1V
Bad Fuse: 0,1V – 1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
18) Verification between written data and analogue data is mandatory, to be sure no bit
is missing.
19) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.5.1 Hardware
PINOUT : 20 PIN Connector to AS5140
Connector on the SD4Y Programmer
Pinout AS5140
7.5.2 Programming Procedure and Function Description for the ams AS5140
b) Press the Button. The Status will change to the green checkmark.
c) Please check if the latest firmware is used. For a firmware update, please connect
the programmer to the USB , choose the right COM and press the FW upgrade
Button
If the update was successful, the FW- Version will change.
By selecting the SSI tab, information of the angular position and the status bits appear:
8) Push the “set to OTP-GUI” for setting the zero point or use the manual setting of the zero
point in the OTP Tab area.
10) Select necessary Bits for programming in the AS5140 CS ( Customer settings)
16) If the values in the AS5140 CS area are right, push Button for permanent
programming.
17) Push Analogue. The analog read back is mandatory, after programming!
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
19) Verification between written data and analogue data is mandatory, to be sure no bit is
missing.
20) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.6.1 Hardware
PINOUT : 20 PIN Connector to AS5040
Connector on the SD4Y Programmer
Pinout AS5040
7.6.2 Programming Procedure and Function Description for the ams AS5040
23) Press the Button. The Status will change to the green checkmark.
24) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
By selecting the SSI tab, information of the angular position and the status bits appear:
30) Push the “set to OTP-GUI” for setting the zero point .
32) Select necessary Bits for programming in the AS5040 CS ( Customer settings)
38) If the values in the AS5040 CS area are right, push Button for permanent
programming.
39) Push Analogue. The analog read back is mandatory, after programming!
40) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,1 V
Unprogrammed Fuse: >1V
Bad Fuse: 0,1V – 1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
41) Verification between written data and analogue data is mandatory, to be sure no bit is
missing.
42) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.7.1Hardware
PINOUT : 20 PIN Connector to AS5030
Connector on the SD4Y Programmer
Pinout AS5030
7.7.2 Programming Procedure and Function Description for the ams AS5030
3) Press the Button. The Status will change to the green checkmark.
4) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
By selecting the SSI tab, information of the angular position and the status bits appear:
48) Push the “set to OTP-GUI” for setting the zero point .
50) Select necessary Bits for programming in the AS5030 CS ( Customer settings)
56) If the values in the AS5040 CS area are right, push Button for permanent
programming.
57) Push Analogue. The analog read back is mandatory, after programming! Important:
Analog Read Back for AS5030 is working with Hardware Revision 1.4 or higher
58) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,1 V
Unprogrammed Fuse: >1V
Bad Fuse: 0,1V – 1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
59) Verification between written data and analogue data is mandatory; to be sure no bit is
missing.
60) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.8.1 Hardware
PINOUT : 20 PIN Connector to AS5134
Connector on the SD4Y Programmer
Pinout AS5134
7.8.2 Programming Procedure and Function Description for the ams AS5134
3) Press the Button. The Status will change to the green checkmark.
4) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
By selecting the SSI tab, information of the angular position and the status bits appear:
10) Push the “set to OTP-GUI” for setting the zero point .
12) Select necessary Bits for programming in the AS5134 CS ( Customer settings)
16) Push the read button if a digital reading is necessary and for verification.
17) Several reading is possible
18) If the values in the AS5134 CS area are right, push Button for permanent
programming.
19) Push Analogue. The analog read back is mandatory, after programming! Important:
Analog Read Back for AS5134is working with Hardware Revision 1.4 or higher
20) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,4 V
Unprogrammed Fuse: >2,1V
Bad Fuse: 0,4V – 2,1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
21) Verification between written data and analogue data is mandatory; to be sure no bit
is missing.
22) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
7.9.1 Hardware
PINOUT : 20 PIN Connector to AS5132
Connector on the SD4Y Programmer
Pinout AS5132
7.9.2 Programming Procedure and Function Description for the ams AS5030
24) Press the Button. The Status will change to the green checkmark.
25) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
By selecting the SSI tab, information of the angular position and the status bits appear:
15) If the values in the AS5132 CS area are right, push Button for permanent
programming.
16) Push Analogue. The analog read back is mandatory, after programming! Important:
Analog Read Back for AS5132 is working with Hardware Revision 1.4 or higher
17) In the “Volt CS[V]” area is the OTP Fuse voltage Information of all Customer Bits.
Programmed Fuse: < 0,4 V
Unprogrammed Fuse: >2,1V
Bad Fuse: 0,4V – 2,1 V
If a bad fuse is detected the GUI will show an alert. A reprogramming of this bad fuse is not
allowed.
18) Verification between written data and analogue data is mandatory; to be sure no bit
is missing.
19) With Save Date , the Resistance values of the OTP will be stored in a TXT-file
AS5162 and AS5262 programming procedure is explained by an application note from ams AG.
For programming the DUAL Die sensor and for calibration of the DAC the relay board is necessary.
Also the GUI is written and programmed by ams AG, as an executable software and can be
downloaded from www.ams.com
9.1.1 Hardware
PINOUT: 20 PIN Connector to AS5147
Connector on the SD4Y Programmer
Pinout AS5147
9.1.2 Programming Procedure and Function Description for the ams AS5147
27) Press the Button. The Status will change to the green checkmark.
28) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
7) Select necessary Bits for programming in the Device Programming ( Customer settings)
13) If the values are right, push Button for permanent programming.
14) If the programming and the internal procedure was correct, the programmer shows:
Programming successful:
9.2.1 Hardware
PINOUT: 20 PIN Connector to AS5047D
Connector on the SD4Y Programmer
Pinout AS5047D
3) Press the Button. The Status will change to the green checkmark.
4) Please check if the latest firmware is used. For a firmware update, please connect the
programmer to the USB , choose the right COM and press the FW upgrade Button
20) Select necessary Bits for programming in the Device Programming ( Customer settings)
26) If the values are right, push Button for permanent programming.
27) If the programming and the internal procedure was correct, the programmer shows:
Programming successful:
Copyright
Disclaimer
Whilest every effort has been made to ensure that programming algorithms are correct at the time
of their release, it is always possible that programming problems may be encountered, especially
when new devices and their associated algorithms are initially released.
It’s recommended that all users are doing the programmer check (hardware internal check and
check for the analog read back) and always that a sample of a devices has been programmed
correctly, before programming a large batch. Additional it’s recommended to do the programmer
check several times in the production.
SD4Y Ltd. can not be held responsible for any third party claims which arise out of the use of this
programmer including ‘consequential loss’ and ‘loss of profit’.
Additional SD4Y Ltd. cannot be held for any programming problems which are ‘out of our control’
Contact Information
SD4Y