Magneto 13 Click Board™
Product Code: MIKROE-5643
How Does The Magneto 13 Click Board™ Work? The Magneto 13 Click Board™ is based on the MA736, a contactless digital angle sensor from Monolithic Power Systems. Its angle encoder has a configurable 8-bit to 12.5-bit absolute resolution and low latency at a constant rotation speed, allowing rotation measurements from 0 to 60.000 RPM. If used in servo motor applications, it is worth knowing that digital filtering is adjustable to optimize the control loop performance. For the best performance, the best mounting method would be to place the sensor on the rotation axis of a permanent magnet, such as a diametrically magnetized cylinder. The Magneto 13 Click Board™ detects the strength of the magnetic field, and for diagnostic purposes, it uses configurable thresholds. The configuration parameters, such as the reference zero-angle and magnetic field detection threshold, are stored in on-chip non-volatile memory (NVM). The values from the NVM are loaded automatically during the Start-up condition and can be restored through the SPI interface.
The sensor detects the magnetic field with the integrated Hall devices, with the angle measured with the SpinAxis method, which digitizes the direction of the field. Doing so, it does not need feedback loop-based circuits or complex arctangent computations. This method generates a sinusoidal signal with a phase representing the magnetic field's angle. The angle is obtained by a time-to-digital converter that measures the time between the zero crossing of the sinusoidal signal and the edge of a constant waveform.
To communicate with the host MCU, this Click board™ uses the standard 4-Wire SPI serial interface, supporting SPI mode 0 and mode 3. Modes are detected automatically by the sensor. In addition, error flags with active HIGH are available on ERR pin. The angle changes exceeding the defined threshold are indicated as output interruptions over the IRQ pin. The NVM pin is the output that MA736 uses to indicate whether it is busy accessing the non-volatile memory. Also, two LEDs, MGH and MGL, are visually present if the field strength is above or below the selected threshold.
The Magneto 13 Click Board™ can only be operated with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used as a reference for further development.
SPECIFICATIONS
Type
Magnetic
Applications
It can be used for general-purpose angle measurement, high-resolution angle encoders, automotive positioning sensing, robotics, and more.
On-board modules
MA736 - contactless digital angle sensor from Monolithic Power Systems
Key Features
Low power consumption, highest reliability and durability, high-resolution output, operates with wide magnetic range, programmable threshold, non-volatile memory, and more
Interface
SPI
Compatibility
mikroBUS
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
PINOUT DIAGRAM
This table shows how the pinout of the Magneto 13 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
Error Flag
ERR
1
AN
PWM
16
NVM
Non-Volatile Memory Indicator
NC
2
RST
INT
15
IRQ
Angle Interrupt
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
NC
Ground
GND
8
GND
GND
9
GND
Ground
ONBOARD SETTINGS AND INDICATORS
Label
Name
Default
Description
LD1
PWR
Visit the Debug Store website for more information on Magneto 13 Click Board™