0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AS5162-HSOP

AS5162-HSOP

  • 厂商:

    AMSOSRAM(艾迈斯半导体)

  • 封装:

    SOIC-8_150mil

  • 描述:

    POS SENSOR ROTARY 12-BIT 8-SOIC

  • 数据手册
  • 价格&库存
AS5162-HSOP 数据手册
AS5162 12-Bit Magnetic Angle Position Sensor General Description The AS5162 is a contactless magnetic angle position sensor for accurate angular measurement over a full turn of 360°. A sub range can be programmed to achieve the best resolution for the application. It is a system-on-chip, combining integrated Hall elements, analog front end, digital signal processing and best in class automotive protection features in a single device. To measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is required. The magnet may be placed above or below the IC. The absolute angle measurement provides instant indication of the magnet’s angular position with a resolution of 0.022° = 16384 positions per revolution. According to this resolution the adjustment of the application specific mechanical positions are possible. The angular output data is available over a 12 bit ratiometric analog output. The AS5162 operates at a supply voltage of 5V and the supply and output pins are protected against overvoltage up to +20V. In addition the supply pins are protected against reverse polarity up to –20V. Figure 1: Typical Arrangement of AS5162 and Magnet Ordering Information and Content Guide appear at end of datasheet. ams Datasheet [v1-06] 2015-Dec-07 Page 1 Document Feedback AS5162 − General Description Key Benefits & Features The benefits and features of AS5162, 12-Bit Magnetic Angle Position Sensor are listed below: Figure 2: Added Value of Using AS5162 Benefits Features • Great flexibility on angular excursion • 360º contactless high resolution angular position sensing • Simple programming • User programmable start and end point of the application region • Saw tooth mode 1-4 slopes per revolution • Clamping levels • Transition point • Failure diagnostics • Broken GND and VDD detection for all external load cases • High-Resolution output signal • Analog output ratiometric to VDD • Ideal for applications in harsh environments due to contactless position sensing • Wide temperature range: - 40°C to 150°C Applications The AS5162 is ideal for automotive applications like: • Throttle and valve position sensing • Gearbox position sensor • Tumble flap • Chassis height level • Pedal position sensing • Contactless potentiometers Page 2 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − General Description Block Diagram The functional blocks of this device are shown below: Figure 3: AS5162 Block Diagram VDD3V3 VDD High Voltage/ Reverse Polarity Protection Hall Array Frontend Amplifier ADC AS5162 Sin Cos DSP CORDIC Controller 12 12-bit DAC OUT Driver OUT Single Pin Interface (UART) OTP Register (Programming Parameters) GND ams Datasheet [v1-06] 2015-Dec-07 Page 3 Document Feedback AS5162 − Pin Assignment Pin Assignment VDD 1 TP1 2 VDD3V3 3 GND 4 AS5162 Figure 4: SOIC-8 Pin Configuration 8 OUT 7 S 6 TP3 5 TP2 Figure 5: SOIC-8 Pin Description Pin Number Pin Name Pin Type 1 VDD Supply pin 2 TP1 DIO/AIO multi purpose pin 3 VDD3V3 AIO 4 GND Supply pin Ground pin. Connected to ground in the application. 5 TP2 DIO/AIO multi purpose pin Test pin for fabrication. Connected to ground in the application board. 6 TP3 DIO/AIO multi purpose pin Test pin for fabrication. Open in the application. 7 S AIO Test pin for fabrication. Connected to OUT in the application board. 8 OUT DIO/AIO multi purpose pin Page 4 Document Feedback Description Positive supply pin. This pin is over voltage protected. Test pin for fabrication. Connected to ground in the application board. Output of the internal voltage regulator Output pin analog output. Over this pin the programming is possible. ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Absolute Maximum Ratings Absolute Maximum Ratings Stresses beyond those listed in Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in Electrical Characteristics is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 6: Absolute Maximum Ratings Symbol Parameter Min Max Units Comments Electrical Parameters VDD DC supply voltage at pin VDD Overvoltage -20 20 V No operation VOUT Output voltage OUT -0.3 20 V Permanent Vdiff Voltage difference at pin VDD and OUT -20 20 V DC supply voltage at pin VDD3V3 -0.3 5 V Input current (latchup immunity) -100 100 mA Norm: AEC-Q100-004 kV Norm: AEC-Q100-002 VDD3V3 Iscr Electrostatic Discharge ESD Electrostatic discharge ±2 Temperature Ranges and Storage Conditions Tstrg Storage temperature TBody Body temperature RHNC Relative humidity (non-condensing) MSL Moisture Sensitivity Level ams Datasheet [v1-06] 2015-Dec-07 -55 150 5 3 ºC Min -67ºF; Max 302ºF 260 ºC The reflow peak soldering temperature (body temperature) specified is in accordance with IPC/JEDEC J-STD-020 “Moisture/Reflow Sensitivity Classification for Non-Hermetic Solid State Surface Mount Devices”. The lead finish for Pb-free leaded packages is matte tin (100% Sn). 85 % Represents a maximum floor life time of 168h Page 5 Document Feedback AS5162 − Electrical Characteristics Electrical Characteristics Operating Conditions In this specification, all the defined tolerances for external components need to be assured over the whole operation conditions range and also over lifetime. Figure 7: Operating Conditions Symbol Parameter TAMB Ambient temperature Isupp Supply current VDD Supply voltage at pin VDD Conditions Min Typ -40 4.5 5.0 Max Units 150 ºC 12 mA 5.5 V Magnetic Input Specification TAMB = -40ºC to 150ºC, V DD = 4.5V to 5.5V (5V operation), unless otherwise noted. Two-Pole Cylindrical Diametrically Magnetized Source Figure 8: Magnetic Input Specification Symbol Bpk Bpkext Boff Disp Parameter Conditions Min Magnetic input field amplitude Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.25 mm Magnetic input field amplitude (extended) default setting Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.25 mm. Increased sensor output noise. Magnetic offset Constant magnetic stray field Field non-linearity Including offset gradient Displacement radius Offset between defined device center and magnet axis. Dependent on the selected magnet. Including Eccentricity. Page 6 Document Feedback Typ Max Units 30 70 mT 10 90 mT ±5 mT 5 % 1 mm ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Electrical Characteristics Electrical System Specifications TAMB = -40ºC to 150ºC, V DD = 4.5V to 5.5V (5V operation), Magnetic Input Specification, unless otherwise noted. Figure 9: Electrical System Specifications Symbol Parameter RES Resolution Analog Output INLopt INLtemp Conditions Min Typ Max Units Range > 90º 1LSB=1.221mV typ 12 bit Integral non-linearity (optimum) Best aligned reference magnet at 25ºC over full turn 360º. 0.5 deg Integral non-linearity (optimum) Best aligned reference magnet over temperature -40º to 150º over full turn 360º. 0.9 deg INL Integral non-linearity Best aligned reference magnet over temperature -40º to 150º over full turn 360º and displacement 1.4 deg DNL Differential non-linearity Monolitic 0.05 deg ON Output noise (360º segment) 1 LSB after filter peak/peak rms value 0.2 %/VDD tPwrUp Power-up time 0-5V See Figure 10 10 ms tdelay System propagation delay absolute output: delay of ADC, DSP and absolute interface 10kOhm, 100 μF RC filter 300 μs Figure 10: Power-Up Timing Diagram VDD 4.5V OUT pin in HiZ First Valid Data on OUT pin tPwrUp ams Datasheet [v1-06] 2015-Dec-07 Page 7 Document Feedback AS5162 − Electrical Characteristics Timing Characteristics Figure 11: Timing Conditions Symbol Parameter TDETWD WachDog error detection time Conditions Min Typ Max Units 12 ms Power Management - Supply Monitor Figure 12: Power Management - Supply Monitor Conditions Symbol Parameter Conditions Min Typ Max Units VDDUVTH VDD undervoltage upper threshold 3.5 4.0 4.5 V VDDUVTL VDD undervoltage lower threshold 3.0 3.5 4.0 V VDDUVHYS VDD undervoltage hysteresis 300 500 900 mV VDDUVDET VDD undervoltage detection time 10 50 250 μs VDDUVREC VDD undervoltage recovery time 10 50 250 μs VDDOVTH VDD overvoltage upper threshold 6.0 6.5 7.0 V VDDOVTL VDD overvoltage lower threshold 5.5 6 6.5 V VDDOVHYS VDD overvoltage hysteresis 300 500 900 mV ANATOVDET VDD overvoltage detection time (analog path) 10 50 250 μs ANATOVREC VDD overvoltage recovery time (analog path) 10 50 250 μs Page 8 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Detailed Description Detailed Description The AS5162 is manufactured in a CMOS process and uses a spinning current Hall technology for sensing the magnetic field distribution across the surface of the chip. The integrated Hall elements are placed around the center of the device and deliver a voltage representation of the magnetic field at the surface of the IC. Through Sigma-Delta Analog / Digital Conversion and Digital Signal-Processing (DSP) algorithms, the AS5162 provides accurate high-resolution absolute angular position information. For this purpose a Coordinate Rotation Digital Computer (CORDIC) calculates the angle and the magnitude of the Hall array signals. The DSP is also used to provide digital information at the outputs that indicate movements of the used magnet towards or away from the device’s surface. A small low cost diametrically magnetized (two-pole) standard magnet provides the angular position information. The AS5162 senses the orientation of the magnetic field and calculates a 14-bit binary code. This code is mapped to a programmable output characteristic in analog voltage format. This signal is available at the pin (OUT). The application angular region can be programmed in a user friendly way. The start angle position T1 and the end point T2 can be set and programmed according the mechanical range of the application with a resolution of 14 bits. In addition the T1Y and T2Y parameter can be set and programmed according the application. The transition point 0 to 360 degree can be shifted using the break point parameter BP. The voltage for clamping level low CLL and clamping level high CLH can be programmed with a resolution of 9 bits. Both levels are individually adjustable. The output parameters can be programmed in an OTP register. No additional voltage is required to program the AS5162. The setting may be overwritten at any time and will be reset to default when power is cycled. To make the setting permanent, the OTP register must be programmed by using a lock bit the content could be frozen for ever. The AS5162 is tolerant to magnet misalignment and unwanted external magnetic fields due to differential measurement technique and Hall sensor conditioning circuitry. ams Datasheet [v1-06] 2015-Dec-07 Page 9 Document Feedback AS5162 − Detailed Description Operation VDD Voltage Monitor VDD Over Voltage Management. If the supply voltage at pin VDD exceeds the over-voltage upper threshold for longer than the detection time the output is turned off. When the over voltage event has passed and the voltage applied to pin VDD falls below the over-voltage lower threshold for longer than the recovery time the device enters the normal mode and the output is enabled. VDD Under Voltage Management. When the voltage applied to the VDD pin falls below the under-voltage lower threshold for longer than the detection time the output is turned off. When the voltage applied to the VDD pin exceeds the under-voltage upper threshold for longer than the detection time the device enters the normal mode and the output is enabled. Analog Output By default (after programmed CUST_LOCK OTP bit) the analog output mode is selected. The pin OUT provides an analog voltage that is proportional to the angle of the rotating magnet and ratiometric to the supply voltage VDD. It can source or sink currents up in normal operation. A short circuit protection is in place and will switch the output driver in high Z in case of an overload event. Due to an intelligent approach a permanent short circuit will not damage the device. This is also feasible in a high voltage condition up to 20 V and at the highest specified ambient temperature. After the digital signal processing (DSP) a 12-bit Digital-to-Analog converter and output stage provides the output signal. The DSP maps the application range to the output characteristic. An inversion of the slope is also programmable to allow inversion of the rotation direction. The reference voltage for the Digital-to-Analog converter (DAC) is taken from VDD. In this mode, the output voltage is ratiometric to the supply voltage. An on-chip diagnostic feature handles the error state at the output. Depending on the failure the output is in HiZ condition or is driven in the failure band (see Figure 21). Page 10 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Detailed Description Programming Parameters The analog output characteristic is programmable by OTP. Depending on the application, the analog output can be adjusted. The user can program the following application specific parameters. Figure 13: Programming Parameters Parameter Description T1 Mechanical angle start point T2 Mechanical angle end point T1Y Voltage level at the T1 position T2Y Voltage level at the T2 position CLL Clamping Level Low CLH Clamping Level High BP Break point (transition point 0 to 360º) These parameters are input parameters. Using the available programming software and programmer these parameters are converted and finally written into the AS5162 128 bit OTP memory. ams Datasheet [v1-06] 2015-Dec-07 Page 11 Document Feedback AS5162 − Detailed Description Application Specific Angular Range Programming The application range can be selected by programming T1 with a related T1Y and T2 with a related T2Y into the AS5162. The clamping levels CLL and CLH can be programmed independent from the T1 and T2 position and both levels can be separately adjusted. Figure 14: Programming of an Individual Application Range 90 degree Application range electrical range T2 mechanical range T1 100%DC clamping range high CLH CLL 0 degree T2Y 180 degree CLH T1Y BP CLL 0 clamping range low T1 T2 270 degree Figure 14 shows a simple example of the selection of the range. The mechanical starting point T1 and the mechanical end point T2 are defining the mechanical range. A sub range of the internal CORDIC output range is used and mapped to the needed output characteristic. The analog output signal has 12 bit, hence the level T1Y and T2Y can be adjusted with this resolution. As a result of this level and the calculated slope the clamping region low is defined. The break point BP defines the transition between CLL and CLH. In this example the BP is set to 0 degree. The BP is also the end point of the clamping level high CLH. This range is defined by the level CLH and the calculated slope. Both clamping levels can be set independently form each other. Page 12 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Detailed Description Application Specific Programming of the Break Point The break point BP can be programmed as well with 14 bits. This is important when the default transition point is inside the application range. In such a case the default transition point must be shifted out of the application range. The parameter BP defines the new position. Figure 15: Individual Programming of the Break Point BP 90 degree Application range electrical range T2 mechanical range T1 100%DC CLH clamping range high CLH 0 degree T2Y 180 degree T1Y CLL CLL BP 0 clamping range low T1 T2 clamping range low 270 degree Full Scale Mode Duty Cycle Figure 16: Full Scale Mode 0 ams Datasheet [v1-06] 2015-Dec-07 Page 13 Document Feedback AS5162 − Detailed Description For simplification, Figure 16 describes a linear output voltage from rail to rail (0V to VDD) over the complete rotation range. In practice, this is not feasible due to saturation effects of the output stage transistors. The actual curve will be rounded towards the supply rails (as indicated Figure 16). Multiple Slope Output The AS5162 can be programmed to multiple slopes. Where one programmed reference slope characteristic is copied to multiple slopes. Two, three and four slopes are selectable by the user OTP bits QUADEN (1:0). In addition to the steepness of the slope the clamping levels can be programmed as well. Duty Cycle Figure 17: Two Slope Mode 0 Duty Cycle Figure 18: Four Slope Mode 0 Page 14 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Detailed Description Resolution of Parameters The programming parameters have a wide resolution of up to 14 bits. Figure 19: Resolution of the Programming Parameters Symbol Parameter Resolution T1 Mechanical angle start point 14 bits T2 Mechanical angle stop point 14 bits T1Y Mechanical start voltage level 12 bits T2Y Mechanical stop voltage level 12 bits CLL Clamping level low 9 bits CLH Clamping level high 9 bits Break point 14 bits BP Note Figure 20: Overview of the Angular Output Voltage 100 96 Failure Band High Clamping Region High CLH Duty Cycle T2Y Application Region T1Y CLL Clamping Region Low 4 0 ams Datasheet [v1-06] 2015-Dec-07 Failure Band Low Page 15 Document Feedback AS5162 − Detailed Description Figure 20 gives an overview of the different ranges. The failure bands are used to indicate a wrong operation of the AS5162. This can be caused due to a broken supply line. By using the specified load resistors, the output level will remain in these bands during a fail. It is recommended to set the clamping level CLL above the lower failure band and the clamping level CLH below the higher failure band. Analog Output Diagnostic Mode Due to the low pin count in the application a wrong operation must be indicated by the output pin OUT. This could be realized using the failure bands. The failure band is defined with a fixed level. The failure band low is specified from 0 to 4% of the supply range over the total operation range. The failure band high is defined always from 96 to 100%. Several failures can happen during operation. The output signal remains in these bands over the specified operating and load conditions. All different failures can be grouped into the internal alarms (failures) and the application related failures. C LOAD ≤ 33 nF, R PU= 4kΩ to 10kΩ R PD = 4kΩ to 10kΩ load pull-up Figure 21: Different Failure Cases of AS5162 Type Symbol Failure Band MAGRng High/Low Programmable by OTP bit DIAG_HIGH CORDIC overflow COF High/Low Programmable by OTP bit DIAG_HIGH Offset compensation finished OCF High/Low Programmable by OTP bit DIAG_HIGH Watchdog fail WDF High/Low Programmable by OTP bit DIAG_HIGH Oscillator fail OF High/Low Programmable by OTP bit DIAG_HIGH Overvoltage condition OV High/Low Dependant on the load resistor Pull up → failure band high Pull down → failure band low High/Low Switch off → short circuit dependent Failure Mode Out of magnetic range (too less or too high magnetic input) Internal alarms (failures) Application related failures Page 16 Document Feedback Broken VDD BVDD Broken VSS BVSS Short circuit output SCO Note ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Detailed Description For efficient use of diagnostics, it is recommended to program to clamping levels CLL and CLH. Analog Output Driver Parameters The output stage is configured in a push-pull output. Therefore it is possible to sink and source currents. C LOAD ≤ 33nF, R PU= 4kΩ to 10kΩ; R PD = 4kΩ to 10kΩ load pull-up Figure 22: General Parameters for the Output Driver Symbol Parameter Min Typ Max Unit Note IOUTSCL Short circuit output current (low side driver) 5 10 20 mA VOUT=20V IOUTSCH Short circuit output current (high side driver) -20 -10 -5 mA VOUT=0V TSCDET Short circuit detection time 20 600 μs output stage turned off TSCREC Short circuit recovery time 2 20 ms output stage turned on VOUT=VDD=5V ILEAKOUT Output Leakage current -20 20 μA BGNDPU Output voltage broken GND with pull-up 96 100 %VDD BGNDPD Output voltage broken GND with pull-down 0 4 %VDD BVDDPU Output voltage broken VDD with pull-up 96 100 %VDD BVDDPD Output voltage broken VDD with pull-down 0 4 %VDD -0.5 0.5 %VDD 10(1) LSB Between 4% and 96% of VDD 10(2) LSB Between 4% and 96% of VDD OUTRATIO Output ratiometric error OUTDNL Output DNL OUTINL Output INL -10(2) Note(s) and/or Footnote(s): 1. This parameter will be finally defined after temperature characterisation. 2. Design target for this value is reduced. Hysteresis Function AS5162 device includes a hysteresis function to avoid sudden jumps from CLH to CLL and vice versa caused by noise in the full turn configuration. The hysteresis amplitude can be selected via the OTP bits HYSTSEL. ams Datasheet [v1-06] 2015-Dec-07 Page 17 Document Feedback AS5162 − Application Information Application Information Recommended Application Schematic Figure 23 and Figure 24 show the recommended schematic in the application. All components marked with (*) are optional and can be used to further increase the EMC. Figure 23: Recommended Schematic of Pull-Down Configuration Sensor PCB Electric Control Unit VDD R1* VDD OUT TP1 S VDD3V3 GND C1 C2 C4* AS5162 R2* OUT TP3 TP2 C3 CL RLPD GND Page 18 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information Figure 24: Recommended Schematic of Pull-Up Configuration 6HQVRU3&% (OHFWULF&RQWURO8QLW 9'' 5/38 5 9'' 73 9''9 287 $6 *1' & & 5 287 6 73 73 & & &/ *1' Figure 25: External Components Symbol Parameter Min Typ Max Unit Note C1 VDD buffer capacitor 0.8 1 1.2 μF Low ESR 0.3 Ω C2 VDD3V3 regulator capacitor 0.8 1 1.2 μF Low ESR 0.3 Ω C3 OUT load capacitor (sensor PCB) 4.7 nF C4* VDD capacitor (optional) 4.7 nF R1* VDD serial resistor (optional) 10 Ω CL OUT load capacitor (ECU) R2* OUT serial resistor (optional) RLPU OUT pull-up resistance 4 10 kΩ RLPD OUT pull-down resistance 4 10 kΩ ams Datasheet [v1-06] 2015-Dec-07 0 0 33 Do not increase due to programming over output nF Ω 50 Page 19 Document Feedback AS5162 − Application Information Programming the AS5162 The AS5162 programming is a one-time-programming (OTP) method, based on polysilicon fuses. The advantage of this method is that no additional programming voltage is needed. The internal LDO provides the current for programming. The OTP consists of 128 bits; several bits are available for user programming. In addition factory settings are stored in the OTP memory. Both regions are independently lockable by build in lock bits. A single OTP cell can be programmed only once. Per default, the cell is “0”; a programmed cell will contain a “1”. While it is not possible to reset a programmed bit from “1” to “0”, multiple OTP writes are possible, as long as only unprogrammed “0”-bits are programmed to “1”. Independent of the OTP programming, it is possible to overwrite the OTP register temporarily with an OTP write command. This is possible only if the user lock bit is not programmed. Due to the programming over the output pin the device will initially start in the communication mode. In this mode the digital angle value can be read with a specific protocol format. It is a bidirectional communication possible. Parameters can be written into the device. A programming of the device is triggered by a specific command. With another command (pass2func) the device can be switched into operation mode. In case of a programmed user lock bit the AS5162 automatically starts up in the functional operation mode. No communication of the specific protocol is possible after this. A standard half duplex UART protocol is used to exchange data with the device in the communication mode. UART Interface for Programming The AS5162 uses a standard UART interface with an address byte and two data bytes. The read or write mode is selected with bit R/Wn in the first byte. The timing (baudrate) is selected by the AS5162 over a synchronization frame. The baud rate register can be read and overwritten (optional). Every start bit is used for synchronization. A time out function detects not complete commands and resets the AS5162 UART after the timeout period. Page 20 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information Frame Organization Each frame is composed by 24 bits. The first byte of the frame specifies the read/write operation with the register address. 16 data bits contains the communication data. There will be no operation in case of the usage of a not specified CMD. The UART programming interface block of the AS5162 can operate in slave communication or master communication mode. In the slave communication mode the AS5162 receives the data. The programming tool is the driver of the single communication line. In case of the master communication mode the AS5162 transmits data in the frame format. The single communication line can be pulled down by the AS5162. The UART frame consists of 1 start bit (low level), 8 data bit, 1 even-parity bit and 1 stop bit (high level). Data are transferred from LSB to MSB. Figure 26: General UART Frame start D0 D1 D2 D3 D4 D5 D6 D7 par stop Figure 27: Bit Timing Symbol Parameter Min Typ Max Unit START Start bit 1 TBIT Dx Data bit 1 TBIT PAR Parity bit 1 TBIT STOP Stop bit TSW Slave/Master Switch Time 1 Note TBIT 7 TBIT Each communication starts with the reception of a request from the external controller. The request consists of two frames: one synchronization frame and the command frame. ams Datasheet [v1-06] 2015-Dec-07 Page 21 Document Feedback AS5162 − Application Information The synchronization frame contains the data 0x55 and allows the UART to measure the external controller baud rate. Figure 28: Synchronization Frame start D0 D1 D2 D3 D4 D5 D6 D7 par stop The second frame contains the command Read/ Write (1 bit) and the address (7 bits). Figure 29: Address and Command Frame start AD 0 AD 1 AD 2 AD 3 AD 4 AD 5 AD R/Wn 6 par stop Only two commands are possible. In case of read command the idle phase between the command and the answer is the time TSW. In case of parity error command is not executed. Figure 30: Possible Commands Possible Interface Commands Description AS5X63 Communication Mode Command CMD WRITE Write data to the OTP memory or Registers SLAVE 0 READ Read data to the OTP memory or Registers SLAVE & MASTER 1 Note(s) and/or Footnote(s): 1. In case of Write command the request is followed by the frames containing the data to write. 2. In case of Read command the communication direction will change and the AS5162 will answer with the frames containing the requested data. Page 22 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information WRITE (Command Description) Figure 31: Full Write Command Synchronization frame start D0 D1 D2 D3 D4 D5 AD0 AD1 AD2 AD3 AD4 AD5 D6 D7 par stop par stop Write command frame start AD6 R/ Wn Data0 frame (data to write on address AD) start D00 D01 D03 D04 D05 D06 D07 par stop D03 D04 D05 D06 D07 par stop D02 Data1 frame (data to write on address AD+1) start D00 D01 D02 • Writing the AS5162 KEY in the fuse register (address 0x41) triggers the transfer of the data from the OTP RAM into the Poly Fuse cell. • Writing the AS5162 KEY in the Pass2Func Register (address 0x60) forces the device into normal mode. ams Datasheet [v1-06] 2015-Dec-07 Page 23 Document Feedback AS5162 − Application Information READ (Command Description) Figure 32: Full Read Command Synchronization frame: start D0 D1 D2 D3 D4 D5 D6 D7 par stop AD0 AD1 AD2 AD3 AD4 AD5 AD6 R/Wn par stop Read command frame: start Data0 frame (data read from address AD) (MASTER): start D00 D01 D02 D03 D04 D05 D06 D07 par stop D04 D05 D06 D07 par stop Data1 frame (data read from address AD+1) (MASTER): start D00 D01 D02 D03 Baud-Rate Automatic Detection The UART includes a built-in baud-rate monitor that uses the synchronization frame to detect the external controller baud-rate. This baud-rate is used after the synchronization byte to decode the following frame and to transmit the answer and it is stored in the BAUDREG register. Page 24 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information Baud-Rate Manual Setting (Optional) The BAUDREG register can be read and over-written for a possible manual setting of the baud-rate: in case the register is overwritten with a value different from 0, this value will be used for the following UART communications and the synchronization frame must be removed from the request. MSB LSB High Byte Even Parity Stop S 0 0 0 0 0 0 0 0 0 P IDLE Start Low Byte S 0 1 0 1 1 1 0 0 0 P IDLE Even Parity Stop P IDLE Start 0 R/n Even Parity Stop S MSB LSB MSB LSB WR BAUDREG Address Start R/n Even Parity Stop S 1 0 1 0 1 0 1 0 0 P IDLE Start IDLE synch frame MSB LSB Figure 33: Manual Baud-Rate Setting AS5162 in Receiving Mode (Write Access) AS5162 in Receiving Mode ams Datasheet [v1-06] 2015-Dec-07 MSB High Byte Even Parity IDLE Stop P Start S High Byte S P IDLE Stop IDLE Even Parity P MSB LSB Low Byte Start S Even Parity Stop LSB IDLE Start P Stop 1 IDLE AS5162 in Receiving Mode (Write Access) MSB Reg. Address R/Wn Even Parity LSB Start S LSB P AS5162 in Receiving Mode IDLE Low Byte S Even Parity Stop IDLE MSB R/n Even Parity P Start 0 MSB LSB MSB Reg. Address S Start IDLE Stop LSB Figure 34: Simple Read and Write AS5162 in transmitting mode (Read Access) Page 25 Document Feedback AS5162 − Application Information OTP Programming Data Figure 35: OTP Memory Map Data Byte Bit Number Symbol Default 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 Description DATA15 (0x0F) 1 Factory Settings 0 ams (reserved) 0 2 0 3 0 4 0 5 0 6 0 7 0 0 0 1 0 Factory Settings 0 DATA14 (0x0E) DATA13 (0x0D) Page 26 Document Feedback ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information Bit Number Symbol Default 2 CUSTID 0 3 CUSTID 0 4 CUSTID 0 5 CUSTID 0 6 CUSTID 0 7 CUSTID 0 DATA12 (0x0C) 0 CUSTID 0 DATA11 (0x0B) 7 CLH 0 0 CLH 0 1 CLH 0 2 CLH 0 3 CLH 0 4 CLH 0 5 CLH 0 6 CLH 0 7 CLH 0 Data Byte Description DATA13 (0x0D) Customer Identifier Customer Settings Clamping Level High DATA10 (0x0A) ams Datasheet [v1-06] 2015-Dec-07 Page 27 Document Feedback AS5162 − Application Information Data Byte Bit Number Symbol Default 0 CLL 0 1 CLL 0 2 CLL 0 3 CLL 0 4 CLL 0 5 CLL 0 6 CLL 0 7 CLL 0 0 CLL 0 1 OFFSET 0 2 OFFSET 0 3 OFFSET 0 4 OFFSET 0 5 OFFSET 0 6 OFFSET 0 7 OFFSET 0 Description DATA9 (0x09) Clamping Level Low Customer Settings DATA8 (0x08) Page 28 Document Feedback Offset ams Datasheet [v1-06] 2015-Dec-07 AS5162 − Application Information Data Byte Bit Number Symbol Default 0 OFFSET 0 1 OFFSET 0 2 OFFSET 0 3 OFFSET 0 4 OFFSET 0 5 OFFSET 0 6 OFFSET 0 7 OFFSET 0 0 OFFSET 0 1 OFFSET 0 2 OFFSET 0 3 OFFSET 0 4 OFFSET 0 5 GAIN 0 6 GAIN 0 7 GAIN 0 0 GAIN 0 1 GAIN 0 2 GAIN 0 3 GAIN 0 4 GAIN 0 5 GAIN 0 6 GAIN 0 7 GAIN 0 Description DATA7 (0x07) Offset Customer Settings DATA6 (0x06) Scale Factor DATA5 (0x05) ams Datasheet [v1-06] 2015-Dec-07 Page 29 Document Feedback AS5162 − Application Information Data Byte Bit Number Symbol Default 0 GAIN 0 1 GAIN 0 2 GAIN 0 3 GAIN 0 4 GAIN 0 5 GAIN 0 6 BP 0 7 BP 0 0 BP 0 1 BP 0 2 BP 0 3 BP 0 4 BP 0 5 BP 0 6 BP 0 7 BP 0 0 BP 0 1 BP 0 2 BP 0 3 BP 0 Description Scale Factor DATA4 (0x04) Customer Settings DATA3 (0x003) Break Point 4 ANGLERNG 0 Sector selection 0=Angular Sector≥22.5 degrees; 1=Angular Sector
AS5162-HSOP 价格&库存

很抱歉,暂时无法提供与“AS5162-HSOP”相匹配的价格&库存,您可以联系我们找货

免费人工找货