ALLEGRO A31316 Evaluation Kit User Guide
- June 12, 2024
- ALLEGRO
Table of Contents
ALLEGRO A31316 Evaluation Kit
Product Information
Product Name | A31316 Evaluation Kit |
---|---|
Product Code | ASEK31316 |
Description | The A31316 Evaluation Kit includes everything required to |
program and evaluate A31316 devices. When used with the Allegro
sample programmer, it provides easy evaluation and programming of
the A31316 devices without the need for any additional hardware or
software.
Features| – Evaluation and programming capabilities for A31316
devices
– Easy to use with Allegro sample programmer
– No additional hardware or software required
Evaluation Kit Contents| Additional Hardware:
– Figure 1: A31316 Evaluation Kit
Device Package:
– A31316
Components:
– VCC: 100 nF
– VOUT: 4.7 nF
– GND: VCC: 3.3 k
– Host Microcontroller: Figure 2: A31316 Typical Application
Circuit
Product Usage Instructions
Hardware Setup
- Setting up the ASEK-20:
- Using the included power supply, connect the ASEK-20 to the outlet via the 5V port.
- Using the included USB B cable, connect the ASEK-20 to the computer with the Allegro software (covered in the next section) using the USB port.
- Using the included ribbon cable, connect the A31316 daughterboard to the ASEK-20 via the Device Connection port.
- Switch the Off-On switch to the On position (right). The Power LED should light up green to indicate the power connection is good.
- Setting up the A31316 device:
- Plug the A31316 socket board into the daughter board as indicated.
- Align the white strip of the socket board to the right side of the daughter board. Ensure that the wording and lettering on both boards are readable from the same orientation.
- Insert an A31316 device into the socket. The tiebar and leads should face out to the right of the socket board, and the plastic package should be on the left with the branded side facing up. This places the pinout of the package from top to bottom as noted in the figure below.
DESCRIPTION
The A31316 Evaluation Kit includes everything required to program and evaluate A31316 devices. When used with the Allegro sample programmer, it provides easy evaluation and programming of the A31316 devices without the need for any additional hardware or software.
FEATURES
- ASEK daughterboard with test points for connecting to custom hardware for testing in the application
- Sockets for single-die A31316 devices for out-of-the-box evaluation and testing
EVALUATION KIT CONTENTS
- ASEK3131x Daughterboard (TED-0002820)
- A31316 UC Socket (TED-0003187)
Additional Hardware
- ASEK20 Programmer (85-0540)
- Included Ribbon Cable
- Included Power Supply
- Included USB Cable
Table 1: A31316 Evaluation Kit/Board Configurations
Configuration Name | Part Number | Comments |
---|---|---|
ASEK31316, Programming Submit | TED-0003188 | Evaluation Kit |
ASEK31316, Programming Kit | TED-0003189 | Subkit + ASEK Programmer |
USING THE EVALUATION BOARD
Note: This user guide covers the use of the Allegro programming kit and
GUI (Graphical User Interface) for the A31316. When designing custom hardware
and software, refer to the datasheet of the device for details about the
communication protocol and electrical
requirements.
Hardware Setup
The hardware included in the programming sub-kit is sufficient for adding A31316 programming capabilities to an existing ASEK-20 device if one already exists from previous sample programming efforts. If starting from no prior Allegro knowledge or hardware, the programming Kit includes both the A31316 specific hardware, as well as an ASEK-20 programmer and all required cables.
Setting up the ASEK-20
- Using the included power supply*, connect the ASEK-20 to the outlet via the 5V port.
- Using the included USB B cable, connect the ASEK-20 to the computer with the Allegro software (covered in the next section) using the USB port.
- Using the included ribbon cable, connect the A31316 daughterboard to the ASEK-20 via the Device Connection port.
- Switch the “Off-On” switch to the “On” position (right). The Power LED should light up green to indicate the power connection is good.
Setting up the A31316 device
Plug the A31316 socket board into the daughter board as indicated below. Be
careful to align the white strip of the socket board to the right side of the
daughterboard. As an easy reference, the wording and lettering on both boards
should both be readable from the same orientation. Insert an A31316 device
into the socket. The A31316 device should be placed such that the tiebar and
leads face out to the right of the socket board, and the plastic package is on
the left, with the branded side facing up. This places the pinout of the
package from top to bottom as noted in the figure below. The power supply unit
includes multiple plug options to support multiple regions; select and install
the relevant plug before connecting to the wall outlet.
Alternate setup for A31316:
- In cases where the A31316 to be tested is in an existing setup such as a custom test fixture, or in an application PCB/harness, it is possible to bypass the use of the socket board and connect the A31316 device directly to the daughterboard.
- Using the labeled test pins and clip leads (not included), the daughter board provides connection points for the three pins of the A31316.
Software Setup
The Allegro GUI provided to evaluate magnetic position sensors contains a variety of features to assist in evaluating devices. For this reason, not all features are covered by this document. The focus of the following procedure is to help familiarize the user with setting up the GUI to communicate with the A31316 device. For additional information on available GUI features, refer to the User Manual on the Allegro Software Portal.
- Download the A31316 GUI from the Allegro Software Portal
- Sign in to the Allegro Software Portal: https://registration.allegromicro.com/login#
- Click “Find A Part” to open the Available Parts page.
- Enter “A31316” into the search box.
- Click “View” on the A31316 Position Sensors row:
On the A31316 product page, click the “Download” box for the Programming Application:
Extract the newly downloaded ZIP file:
In the resulting Allegro A31316 Samples Programmer folder, double-click to open the Programmer GUI
Under the Setup toolbar, click “Communication Setup”. This will open a new pop-up.
Select the COM port associated with the ASEK-20 device. Once the correct COM port is selected, the “Status” info box will populate with information about the ASEK firmware. If an incorrect COM port is selected, the GUI will attempt to communicate with the port until it ultimately times out.
Set up the device communication: Again, under the Setup toolbar, click “Device Setup”. This will open a new pop-up window.
If known, the device setups can be manually entered; alternatively, the “Auto Detect” button can be used to attempt multiple communication methods and automatically enter the setup details required for communication.
Once “Device Setup” is finished, the device can be powered on and communicated with
The GUI contains four sections
- Toolbar: Contains advanced settings for the GUI.
- Tabs: Changes the main section of the GUI based on desired functionality. Each tab will be covered by its own section.
- Power: Allows the user to set the target supply voltage, and power on or off the device.
- Output: Allows quick reading of typically used device information.
DEMO: Provides a visual representation of the magnetic field applied to the device.
EEPROM: Provides access to all internal device EEPROM fields for reading and modification
Short Stroke Trim: Provides an easy-to-use interface for performing two- point programming of the device (Angle Offset and Gain corrections).
Application Setup: This section contains settings to be set based on the
target application of the A31316 device. This includes setting the preferred
input and output units, as well as the target rotation of the magnetic input
to the device. A check box for
the AOC (Angle Outside of Clamps) mask is also included, as that is a common
mask for short-stroke applications. For more information about the AOC mask,
see the datasheet
Short-Stroke Settings : This section contains information for programming
the output profile. Input cells will be filled in when clicking the “Set
Position 1” and “Set Position 2” buttons and will be displayed in the units
set by Section 1. The desired outputs
for the set positions and internal clamp values must also be set to perform
short-stroke programming. All other settings in this section are optional and
application specific. They are described in more detail in the related
datasheet sections.
- Once the GUI is set up and input/output values are loaded, the “Calculate and Program Device” button can be clicked and will update the relevant EEPROM settings to configure the device as specified.
- Output Waveform: This graph shows a theoretical output of the device over an ideal input to confirm all settings align with the desired waveform.
- Linearization: Provides visual interface and easy-to-use table to allow for error correction using the device’s internal linearization feature
- Linearization Mode: This drop-down menu selects which mode the linearization feature will operate. Each mode will have a slightly different UI but will operate mostly in the same manner.
- Linearization Configuration Table: This section includes desired and measured angle values along with positions required for the linearization feature to operate.
- In Fixed mode linearization, the position values are fully set by section 3 (“Number of Points”), while in variable point linearization, the position of the linearization corrections will be a modifiable field. The “Read Angle” button at the bottom will populate the “Measured Angle” values manually to allow for quick reading of the device’s current output at each position. The “Desired Angle” column must be manually entered with the ideal output of the device for the measured point.
- Number of Positions: This drop-down menu selects the number of linearization points the device will use to correct the signal path.
- Write to Device: Once the linearization table is filled in and ready to be programmed, the “Write to Device” button will set the relevant EEPROM registers in the device.
- Correction Plot: This figure will show an updated correction curve. The output shown will be the output of an ideal input with The corrections calculated by the input table. If the device was previously measured in the application, this figure should be an inverted version of the device’s native performance.
Output: Provides an interface for reading details of the selected output protocol. The interface is slightly different based on protocol, but functionally, the two are very similar. The drop-down menus can be adjusted to change how the device is configured. In order to read and set the drop-down menus to how the device is currently configured, the “Read From Device” button can be clicked, which will update the settings in this mode to align with the current device setup. If any drop-down menus are changed and it is desired to program them into the device, the “Write to Device(s)” will write to the device.
BILL OF MATERIALS
Table 2: A31316 Evaluation Kit Bill of Materials
ELECTRICAL COMPONENTS
Designator| Quantity| Comment| Description|
Manufacturer| Manufacturer Part Number| PCB Label
1| 1| | ASEK31316, GDB, UC, Socket| Allegro| TED-0003187|
2| 1| | ASEK3131x, ASEK-20 Daughterboard| Allegro| TED-0002820|
RELATED LINKS
Product Webpage: https://www.allegromicro.com/en/products/sense/linear-and-
angular-position/3d-magnetic/a31316
Revision History
Number | Date | Description |
---|---|---|
– | June 26, 2023 | Initial release |
Copyright 2023, Allegro MicroSystems. Allegro MicroSystems reserves the right to make, from time to time, such departures from the detailed specifications as may be required to permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that the information being relied upon is current. Allegro’s products are not to be used in any devices or systems, including but not limited to life support devices or systems, in which a failure of Allegro’s product can reasonably be expected to cause bodily harm. The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems assumes no responsibility for its use; nor for any infringement of patents or other rights of third parties which may result from its use. Copies of this document are considered uncontrolled documents
Allegro MicroSystems
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
References
- Allegro Customer Portal | Allegro MicroSystems
- A31316: 3D PCB-less Hall-Effect Sensor for Rotary and Linear Measurement
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>