background image

AS5045 12-BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER  
Adapter PCB Operation Manual

 

Revision A.02, 14-Mar-07                                     www.austriamicrosystems.com   

Page 10 of 12 

 

9.2

 

Reading the Adapter PCB with the AS5045 Demoboard Software: 

Further information on the AS5045 Demoboard Software is available in the AS5045 Demoboard Operation Manual 

(see: 7 Supporting Tools) 
 

The AS5045 Adapter PCB can be read as “external encoder” in the same way as the internal encoder. Switching 

from internal to external encoder can be done on the bottom left corner of the demoboard software screen : 

Encoder = onboard / external. Additionally, when Encoder = external is selected, the buttons "Permanent write" 
and "Read" are enabled in the "Zero Position" and "Incremental Mode" screens to allow OTP programming of the 

external encoder 

 

Changing the Zero Position: 

The programming options zero position and ccw operation can be modified at any time during normal operation. 
Permanently programming these registers will set the default setting after power-up. Programmed settings can 

again be modified during normal operation but will be reset to default when the power supply is disconnected.  

 

OTP programming of the external AS5045 encoder: 
To program the external AS5045 encoder, a programming voltage of 7.5 to 8V DC (130mA) must be applied to 

pins Vzapp and GND of the 3-pin connector at the right hand side of the demoboard. A 10µF buffer cap is 

recommended for this voltage (see Figure 10). 

Programming is not recommended with long wires between demoboard and external encoder, as the inductance 
of the cable may generate high voltage spikes, that can cause wrong programming or even harm the IC. The 

maximum wire length between the demoboard connector and the PROG pin of the external encoder should be 

50mm (2”). Additionally, a 10nF ceramic capacitor should be connected close to pin PROG and VSS.  


An OTP (one time programming) cycle is automatically initiated, when button "Permanent write" is pressed. 

The default (non-programmed) logic state is "0" , consequently the programmed logic state is "1". 

It is possible to write "1"s into the OTP register at subsequent programming cycles. However, a programmed "1" 

cannot be cleared any more after programming. 
 

Note that the chip will not be programmed, as long as no programming voltage is applied to Vzapp, although 

the software will issue a warning message that the chip will be permanently programmed. 

 
 

ams 

AG 

Technical 

content 

still 

valid

Summary of Contents for AS5045

Page 1: ...chnical 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 ams_sales ams com Please visit our website at www ams com ...

Page 2: ...e operation it can be supplied with 3 3V 5V or 7 5 12V DC supply voltages Figure 1 AS5045 Adapter PCB top and bottom view Features 100mil connector for direct connection to AS5045 demo board Provision for a 600mil DIP socket Hole in PCB to center a 6mm magnet at the bottom of the IC LED for Mode output LED for PWM output LEDs for magnet status outputs MagInc MagDec On board 5V linear voltage regul...

Page 3: ... indicates a distance reduction between the magnet and the device surface See Error Reference source not found 2 MagDECn DO_OD Magnet Field Magnitude DECrease active low indicates a distance increase between the device and the magnet See Error Reference source not found 3 NC must be left unconnected 4 NC must be left unconnected 5 NC must be left unconnected 6 Mode select between slow open low VSS...

Page 4: ... misalignment due to the non linear magnetic field distribution along the circumference of the magnet The recommended magnet diameter is 4 6mm 5 1 2 Magnet distance and material To achieve the required field strength at a reasonable distance 0 5 5mm it is recommended to use rare earth magnets such as Samarium Cobalt SmCo or Neodyne Iron Boron NdFeB magnets 5 1 3 Magnet misalignment In theory the m...

Page 5: ...ls Power Supply options Supply voltage apply at ext voltage regulator IC2 or IC3 digital I O level remark 3 0 3 6V VDD5V and VDD3V3 not required 3 0 3 6V short VDD5V and VDD3V3 4 5 5 5V VDD5V not required 4 5 5 5V 7 5 20V ext voltage regulator pin 1 J2 3 3V type e g LE33C ST Micro 3 3V short VDD5V and VDD3V3 7 5 20V ext voltage regulator pin 1 J2 5 0V type e g 75L05 5 0V PCB delivery status if alr...

Page 6: ...distance between magnet and chip surface changes When both outputs are on the magnetic field is not within the recommended range see datasheet Programming zapping the Chip For programming the AS5045 3 digital signals are required CSn Prog and CLK see datasheet For permanent writing VPROG must be elevated to 7 5V during the programming cycle For immediate programming this PCB can be connected direc...

Page 7: ...mensions 7 Supporting Tools austriamicrosystems provides the following tools for developments using the AS5045 rotary encoder IC AS5045 Demoboard see Figure 8 AS5045 Demoboard Operation Manual AS5045 Demoboard Software AS5045 Adapter PCB see Figure 1 These supporting tools are available at local distributors http www austriamicrosystems com 06contactcenter sales_start htm or can be ordered online ...

Page 8: ...oftware The AS5045 demoboard can be used in several ways 8 1 1 as standalone unit supplied by a 9V battery Connect a 7 5V 12V supply to pins GND and 9V at the right side of the board No other connections are required 8 1 2 as standalone unit supplied by an USB port Connect the demoboard to a PC using a USB cable included in demoboard shipment The board is supplied by the 5V supply of the USB port ...

Page 9: ...Manual see 7 Supporting Tools 9 1 Connecting the AS5045 adapter PCB to the demoboard The AS5045 Adapter PCB is intended as a standalone device that allows easy and quick testing of the AS5045 without the need of having to make your own PCB It allows access to each IC pin via a standard 100mil pitch 600mil Dual In Line connector has LEDs on all digital outputs and comes with an onboard 5V linear vo...

Page 10: ...pter PCB to prevent accidental damage of the IC when an input voltage is applied to the regulator and the 5V output is fed to the VDD3V3 supply pin Figure 9 Configuring the Adapter PCB for 3 3V operation See Figure 10 AS5045 Demoboard 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 MagINCn MagDECn NC NC NC Mode VSS Prog_DI DO CLK CSn PWM NC NC VDD3V3 VDD5V AS5045 IC1 7 2 3 4 5 6 1 10n 1µF µC Cap only requi...

Page 11: ... is disconnected OTP programming of the external AS5045 encoder To program the external AS5045 encoder a programming voltage of 7 5 to 8V DC 130mA must be applied to pins Vzapp and GND of the 3 pin connector at the right hand side of the demoboard A 10µF buffer cap is recommended for this voltage see Figure 10 Programming is not recommended with long wires between demoboard and external encoder as...

Page 12: ...T United Kingdom Phone 44 118 973 1797 Fax 44 118 973 5117 austriamicrosystems AG Klaavuntie 9 G 55 FI 00910 Helsinki Finland Phone 358 9 72688 170 Fax 358 9 72688 171 austriamicrosystems AG Bivägen 3B S 19163 Sollentuna Sweden Phone 46 8 6231 710 austriamicrosystems USA Inc 8601 Six Forks Road Suite 400 Raleigh NC 27615 USA Phone 1 919 676 5292 Fax 1 509 696 2713 austriamicrosystems USA Inc 4030 ...

Page 13: ...austriamicrosystems for current information This product is intended for use in normal commercial applications Copyright 2006 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 inform...

Reviews: