MR Angle Click Board™
Product Code: MIKROE-4634
How Does The MR Angle Click Board™ Work? the MR Angle Click Board™ as its foundation uses the KMZ60, a high precision sensor for magnetic angle measurement from NXP Semiconductors. The integrated MR sensor element, a sensitive magnetic field sensor, employs the MR effect of thin-film permalloy. The sensor contains two parallel supplied Wheatstone bridges, which enclose a sensitive angle of 45 degrees. A rotating magnetic field in the surface parallel to the chip (x-y plane) will deliver two independent sinusoidal output signals, one following a cosine and the second following a sine function. It also comes with a Power-Down mode to enable or disable the device and a possibility for the temperature coefficient of the sensor amplitude to be compensated. The MR Angle Click Board™ communicates with MCU through the SPI serial interface using the MCP3204, a 12-bit 4-channel A/D converter from Microchip. The output sine and cosine signals from the KMZ60 are wired as pseudo-differential input signals to the MCP3204.
The MCP3204 samples both channels of the sensor simultaneously using an SPI interface, allowing access to both channels on one data line. Besides, it possesses additional functionality routed on two GPIO pins, such as Power-Down mode and temperature compensation.
The KMZ60 can be used as specified with temperature compensation of the MR sensor signal. Pin TCE is used to enable the temperature compensation, routed on the RST pin of the mikroBUS™ socket (connected to the ground if no temperature compensation is required). The output signal amplitude will decrease with increasing temperature related to the temperature compensation of the MR sensor. The Power-Down feature labelled as PDN and routed on the PWM pin of the mikroBUS™ socket switches the device into Power-Down mode and sets the sine and cosine outputs in a high impedance state to avoid current consumption.
The MR Angle Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to properly use the SPI communication lines. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type
Magnetic
Applications
Can be used for rotor position detection for BLDC motors and Electronic Power Steering (EPS) applications, steering angle measurement, window wiper position detection, and general contactless angular measurement (e.g., throttle valves or actuators).
On-board modules
KMZ60 - high precision sensor for magnetic angle measurement from NXP Semiconductors
Key Features
High precision sensor for magnetic angle measurement, temperature compensated output signal amplitude, Power-Down mode to enable or disable the device, integrated instrumentation amplifier, fully automotive qualified, and more.
Interface
SPI
Compatibility
mikroBUS
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
PINOUT DIAGRAM
This table shows how the pinout of the MR Angle Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
NC
1
AN
PWM
16
PDN
Power-Down Mode
Temperature Compensation
TCE
2
RST
INT
15
NC
SPI Chip Select
CS
3
CS
RX
14
NC
SPI Clock
SCK
4
SCK
TX
13
NC
SPI Data OUT
SDO
5
MISO
SCL
12
NC
SPI Data IN
SDI
6
MOSI
SDA
11
NC
Power Supply
3.3V
7
3.3V
5V
10
5V
Power Supply
Ground
GND
8
GND
GND
9
GND
Ground
ONBOARD SETTINGS AND INDICATORS
Label
Name
Default
Description
LD1
PWR
-
Power
Visit the Debug Store website for more information on MR Angle Click Board™