N35P112 austriamicrosystems, N35P112 Datasheet

no-image

N35P112

Manufacturer Part Number
N35P112
Description
SW NAV JOYSTICK MOD CONTACTLESS
Manufacturer
austriamicrosystems
Series
EasyPoint™r
Type
Navigation Switch, PCB Mountr
Datasheet

Specifications of N35P112

Output
Contactless Magnetic Switch
Switch Function
2 Axis with Select
Actuator Type
Joystick
Termination Style
SMD (SMT) Tab
Operating Force
45/180gf
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Contact Rating @ Voltage
-
Datasheet
E a s y P o i n t
N a v ig a t io n Mod u le
1 General Description
EasyPoint™ N35P112 is a miniature joystick module concept based
on contact-less, magnetic movement detection. The integrated two-
dimensional linear encoder monitors the movement of the magnet
incorporated in the knob and provides directly the x and y
coordinates via I²C output. An integrated mechanical push button
built in the module provides a “select” function.
Figure 1. N35P112-xxxxx-H
www.austriamicrosystems.com/N35P112
Figure 2. Typical Application Diagram
N35P112
TM
I²C Address
GND: 0x40
VDDp: 0x41
N 3 5 P 112
magnetic encoder
Two-dimensional
DC 2.7 ~ 3.6V
AS5013
Push button
VDD
GND
VDDp
INTn
Reset/
Switch
SDA
SCL
Revision 1.1
DC 1.7 ~ 3.6V
2 Key Features
3 Applications
The EasyPoint™ N35P112 is ideal for small form-factor manual input
devices in battery operated equipment, such as Mobile phones, MP3
players, PDAs, GPS receivers, Gaming consoles and Analog
joystick replacement.
4 Benefits
- Idle mode
- Low Power mode
XY coordinates direct read with 8-bit resolution
2.7V to 3.6V operating voltage
Down to 1.7V I/O voltage
Lateral magnet movement radius up to 0.5mm
High-speed I²C interface
Configurable interrupt output for motion detection
Push button feature
High reliability due to magnetic non-contact sensing
Low power consumption
Two operating modes
Interrupt
GPIO
GPIO
Supply: I/O
Interface
I²C
µC
1 - 32

Related parts for N35P112

N35P112 Summary of contents

Page 1

... High-speed I²C interface Configurable interrupt output for motion detection Push button feature 3 Applications The EasyPoint™ N35P112 is ideal for small form-factor manual input devices in battery operated equipment, such as Mobile phones, MP3 players, PDAs, GPS receivers, Gaming consoles and Analog joystick replacement. ...

Page 2

... Electrical Characteristics........................................................................................................................................................... 7.1 Operating Conditions............................................................................................................................................................................ 6 7.2 Digital IO Pads DC/AC Characteristics................................................................................................................................................. 6 7.3 Switch Characteristics .......................................................................................................................................................................... 7 7.4 Mechanical Specifications .................................................................................................................................................................... 8 7.5 Recommended Reflow Temperature Profile......................................................................................................................................... 8 8 Using the N35P112 Module ...................................................................................................................................................... 8.1 Powering up the Module....................................................................................................................................................................... 9 8.2 Registers Initialization........................................................................................................................................................................... 9 8.3 C Source Code Example .................................................................................................................................................................... 10 8.3.1 Initialization ................................................................................................................................................................................ 10 8.3.2 Offset Calibration ....................................................................................................................................................................... 10 8 ...

Page 3

... TM EasyPoint N35P112 Datasheet - 11.6 Yp Register (14h).............................................................................................................................................................................. 26 11.7 Yn Register (15h).............................................................................................................................................................................. 26 11.8 M_ctrl Register (2Bh)........................................................................................................................................................................ 26 11.9 J_ctrl Register (2Ch)......................................................................................................................................................................... 27 11.10 T_ctrl Register (2Dh) ...................................................................................................................................................................... 27 11.11 Control Register 2 (2Eh) ................................................................................................................................................................. 27 11.12 Registers Table ............................................................................................................................................................................... 28 12 Package Drawings and Markings ......................................................................................................................................... www.austriamicrosystems.com/N35P112 Revision 1 ...

Page 4

... TM EasyPoint N35P112 Datasheet - Pin Assignments Figure 3. N35P112-xxxxx-H Schematics U1 14 ModeOTP VDD 16 PDIO VDDp 15 PCLK VSS 5 tb0 6 tb1 RESET 7 tb2 8 tb3 SCL 9 Test_Coil SDA 17 EPAD ADDR GND S1 1 GND Dome_Switch 5.1 Pin Descriptions Table 1. Pin Descriptions Connector Pin # Pin Type 1 Power 2 Power ...

Page 5

... Peripheral supply voltage VDDp Input pin voltage Input current (latchup immunity) SCR Electrostatic discharge ESD T Storage temperature Strg Humidity non-condensing Degrees of protection www.austriamicrosystems.com/N35P112 Electrical Characteristics on page 6 is not implied. Exposure to absolute Min Max Units -0 -0.3 V SCL, SDA, RESETn, ADDR VDD + 0.3 -0.3 VDDp + 0 ...

Page 6

... Input leakage current LEAK Inputs: ADDR, RESETn (JEDEC76) V High level input voltage IH V Low level input voltage IL I Input leakage current LEAK Outputs: SDA V High level output voltage OH www.austriamicrosystems.com/N35P112 Min Typ Max Units 2.7 3.6 V 1.7 VDD V 3+3760/ts [ms] µA 10+3760/ts [ms] 3 µA ...

Page 7

... High level output voltage OH V Low level output voltage OL C Capacitive load L 7.3 Switch Characteristics Table 5. Switch Characteristics Parameter Contact resistance of dome switch Dielectric withstanding voltage Insulation resistance Bouncing (On/Off) www.austriamicrosystems.com/N35P112 Min Max Units VSS + 0.4 V VDDP * 0.2 V VSS + 0.4 V VDDP * 0.2 V 400 pF 400 ...

Page 8

... Shaft strength (XYZ direction) Free fall Over force 7.5 Recommended Reflow Temperature Profile Figure 4. Reflow Temperature Profile 250 ~ 260°C 217ºC 170ºC 140ºC www.austriamicrosystems.com/N35P112 Note Single shaft PA46 PA46 Stainless Steel or Copper alloy ±0.50mm (±10%) 0.20mm (±0.05mm) 0.45N (±0.15N) 1.80N (± ...

Page 9

... Using the N35P112 Module 8.1 Powering up the Module The N35P112 module has a Power ON Reset (POR) cell to monitor the VDD voltage at startup and reset all the internal registers. After the internal reset is completed, the POR cell is disabled in order to save current during normal operation. ...

Page 10

... I2C_Read8(0x40, 0x10); // Read X position y_cal += (signed char) I2C_Read8(0x40, 0x11); // Read Y position } // offset_X and offset_Y are global variables, used for each coordinate readout in the interrupt routine offset_X = -(x_cal>>4); // Average X: divide by 16 offset_Y = -(y_cal>>4); // Average Y: divide Enable the MCU interrupts } www.austriamicrosystems.com/N35P112 Revision 1 ...

Page 11

... Y_temp = y_reg + offset_Y; /* OPTIONAL: If X_temp and Y_temp are near the center since a few interrupts, meaning the knob has been released, the module can be put back in a slow power mode (e.g. Wakeup mode INT_function=1 with 320ms rate Enable the MCU interrupts } www.austriamicrosystems.com/N35P112 Revision 1 ...

Page 12

... For further information, please see chapters http://www.austriamicrosystems.com/eng/Products/Magnetic-Encoders/EasyPoint-Joystick-Encoder/AS5013 Knob on Position 1. The knob is released and on its initial position (0,0). The EasyPoint module is configured with INT_function (Reg 0Fh [2 X_reg and Y_reg register values are (0,0), and the interrupt is not active. www.austriamicrosystems.com/N35P112 0.25mm → X register = - 0.5mm → ...

Page 13

... Those values are in an ideal condition, where the knob takes place over the center position of the N35P112 sensor once released. The zero position may vary between two N35 modules, and an offset must be applied to X and Y in order to compensate the X,Y coordinates to 0,0 once the knob is released. More information can be found in chapters Figure 7. X Register / X Displacement (Y=0µ ...

Page 14

... START-UP. After power up and after applying a soft reset (Reg 0Fh [1]) or hardware reset (RESETn input, LOW pulse >100ns), N35P112 enters the START- UP state. During this state the internal registers are loaded with their reset values. Then the N35P112 will perform one measurement and switches automatically into the WAIT state ...

Page 15

... The N35P112 supports the 2-wire high-speed I²C protocol in device mode, according to the NXP specification UM10204. The host MCU (master) has to initiate the data transfers. The 7-bit device address of the N35P112 depends on the state at the pin ADDR. ADDR = 0 → Slave address =‘1000 000’ (40h) ADDR = 1 → ...

Page 16

... I/O Capacitance (SDA, SCL) I/O 1. Maximum V = VDDpmax +0.5V or 5.5V, which ever is lower For capacitive bus loads between 100pF and 400pF, the timing parameters must be linearly interpolated. www.austriamicrosystems.com/N35P112 Condition VDDp < 2V VDDp < 2V SCLH output levels between 0.3VDDp and 0.7VDDp Input Voltage between ...

Page 17

... A fast-mode device can be used in standard-mode system, but the requirement t the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line t www.austriamicrosystems.com/N35P112 HS-mode C FS-mode ...

Page 18

... I²C Modes The N35P112 supports the I²C bus protocol. A device that sends data onto the bus is defined as a transmitter and a device receiving data as a receiver. The device that controls the message is called a master. The devices that are controlled by the master are referred to as slaves. A master device that generates the serial clock (SCL), controls the bus access, and generates the START and STOP conditions must control the bus. The N35P112 operates as a slave on the I² ...

Page 19

... SDA. After the N35P112 acknowledges the slave address + write bit, the master transmits a register address to the N35P112. This sets the address pointer on the N35P112. If the address is a valid readable address the N35P112 answers by sending an acknowledge. If the address-pointer points to an invalid position a “not acknowledge” is sent. The master may then transmit zero or more bytes of data ...

Page 20

... Slave Transmitter Mode (Read Mode): The first byte is received and handled as in the slave receiver mode. However, in this mode, the direction bit indicates that the transfer direction is reversed. Serial data is transmitted on SDA by the N35P112 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer. The slave address byte is the first byte received after the master generates a START condition ...

Page 21

... Datasheet - I ² 10.4.5 High Speed Mode The N35P112 is capable to work in HS-mode. For switching to HS-mode the Master has to send the sequence: START, MASTER CODE, NACK. This sequence is sent in FS-mode device is allowed to acknowledge the master code, the master code is followed by a not-acknowledge. After a device receives the master code it has to switch from FS-settings to HS-settings within t receive a STOP command ...

Page 22

... Sequential read over the whole address range is possible including address overflow. Writing: A write to a wrong address is not acknowledged by the N35P112 slave, although the address pointer is increased. When the address pointer points to a valid address again, a successful write accessed is acknowledged. Page write over the whole address range is possible including address overflow ...

Page 23

... Soft_rst bit goes back to 0 once the internal reset sequence is finished Conversion of new coordinates ongoing, no valid coordinate is present in the X and Y_res_int registers. Reading those registers at that moment can give wrong values New coordinate values are ready in X and Y_res_int registers. www.austriamicrosystems.com/N35P112 Bit 4 Bit 3 Bit 2 INT_disable ...

Page 24

... Note: The values in Control Register 1, X_register and Y_res_int register are frozen when the I²C address pointer is set to 0Fh, 10h or 11h. This ensures that the Data_valid bit, X and Y values are taken at the same time. In order to get updated values from those registers, set the address pointer to any other address. www.austriamicrosystems.com/N35P112 ∆t timebase ...

Page 25

... R/W R/W R/W Reset value: 1111 1011 (-5d) Bit Xn range value, Two’s complement (signed: -128 ~ +127). 7:0 Determines the RIGHT threshold for the activation of INTn output (if output enabled), when bit INT_function = 1 Control Register 1 (0Fh) on page www.austriamicrosystems.com/N35P112 Bit 4 Bit 3 X[4] X[ Bit Description ...

Page 26

... M_ctrl[7] M_ctrl[6] M_ctrl[5] R/W R/W R/W Reset value: 0000 0000 (00h) Bit Middle hall element control register. 7:0 The M_ctrl register must be set to 00h (default value) after power up for N35P112 module. www.austriamicrosystems.com/N35P112 Bit 4 Bit 3 Yp[4] Yp[3] R/W R/W Bit Description 23). ...

Page 27

... J_ctrl[5] R/W R/W R/W Reset value: 0000 0110 (06h) Bit Sector dependent attenuation of the outer Hall elements. 7:0 The J_ctrl register must be set to 06h (default value) after power up for N35P112 module. 11.10 T_ctrl Register (2Dh) Bit 7 Bit 6 Bit 5 T_ctrl[7] T_ctrl[6] T_ctrl[5] ...

Page 28

... R/W c4_neg <11:8> c4_neg <7:0> c4_pos <11:8> c4_pos <7:0> www.austriamicrosystems.com/N35P112 Reset Format Bit Value IC Identification 8 bit Manufacture ID Code 0C 0Ch <7:0> 8 bit Component ID Version 0D 0Dh <7:4> 8 bit Silicon Revision 0E 00h <7:0> Control_register_1 1 : Idle mode 0Fh 1b <7> Low Power mode Low Power readout time base register ...

Page 29

... Control Register for the Algorithm Middle Hall element control 2Bh 00h <7:0> For N35P112, configure to 00h (default) Attenuation of the outer Hall elements 2Ch 06h <7:0> For N35P112, configure to 06h (default) Scaling factor of XY coordinates 2Dh 09h <7:0> For N35P112, configure to 06h Control_register_2 2Eh 1b <7> ...

Page 30

... TM EasyPoint N35P112 Datasheet - Package Drawings and Markings Figure 18. N35P112 Dimensions (mm ±0.15) Figure 19. Recommended PCB Layout (mm ±0.05) www.austriamicrosystems.com/N35P112 Revision 1 ...

Page 31

... TM EasyPoint N35P112 Datasheet - Figure 20. Recommended on Casing Design & Mounting Note www.austriamicrosystems.com/N35P112 Revision 1 ...

Page 32

... AG Tobelbaderstrasse 30 A-8141 Unterpremstaetten, Austria Tel: +43 (0) 3136 500 0 Fax: +43 (0) 3136 525 01 For Sales Offices, Distributors and Representatives, please visit: http://www.austriamicrosystems.com/contact www.austriamicrosystems.com/N35P112 Owner jlu Updated Applications on page 1 Updated sections 8.3.1, 10, 10.2, 10.3, 11.1, 11.3, 11.10, 11.11, Revision 1.1 Description ...

Related keywords