background image

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

 

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

Page 2 of 12 

 

2

 

General Description 

The AS5045 is a system-on-chip, combining 
integrated Hall elements, analog front end and 

digital signal processing in a single device. It 

provides incremental output signals and the 

absolute angular position of a magnet that is placed 
either above or below the device.  

The AS5045 can be configured to specific customer 

requirements by programming the integrated OTP 

(one time programmable) register. An internal 
voltage regulator allows the AS5045 to operate at 

either 3.3 V or 5 V supplies.  

 

Figure 2: Typical arrangement AS5045 and magnet

 

 

3

 

Pin Configuration  

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

 

Figure 3: Pin configuration SSOP16 

4

 

Pin Description 

P

P

i

i

n

n

 

 

S

S

y

y

m

m

b

b

o

o

l

l

 

 

T

T

y

y

p

p

e

e

 

 

D

D

e

e

s

s

c

c

r

r

i

i

p

p

t

t

i

i

o

o

n

n

 

 

MagINCn 

DO_OD 

Magnet Field Magnitude INCrease; 

active low, 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.
 

NC 

must be left unconnected 

NC 

must be left unconnected 

NC 

must be left unconnected 

6 Mode 

select between slow (open, low :VSS) 

and fast (high) mode. Internal pull-
down resistor. 

VSS 

Negative Supply Voltage (GND) 

8 Prog_DI  DI_PD 

OTP Programming Input and Data 

Input for Daisy Chain mode. Internal 
pull-down resistor (~74k

Ω

). 

Connect to VSS if not used 

9 DO 

DO_T Data Output of  

Synchronous Serial Interface 

10 CLK 

DI, 
ST 

Clock Input of  

Synchronous Serial  Interface; 
Schmitt-Trigger input 

11 CSn 

DI_PU, 
ST 

Chip Select, active low; Schmitt-

Trigger input, internal pull-up resistor 
(~50k

Ω

12 PWM 

DO 

Pulse Width Modulation of approx. 
1kHz; LSB in Mode3.x 

13 

NC 

Must be left unconnected 

14 

NC 

Must be left unconnected 

15 VDD3V3  S 

3V-Regulator Output, internally 
regulated from VDD5V.Connect to 
VDD5V for 3V supply voltage. Do not 
load externally. 

16 

VDD5V 

Positive Supply Voltage, 3.0 to  5.5 V 

 

Table 1: Pin description

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: