Super charge pump dc-to-dc voltage converter (12 pages)
Summary of Contents for Microchip Technology MM7150
Page 1
MM7150 Motion Module PICtail Plus Evaluation Board (#AC243007) with Explorer 16 Development Board User’s Guide 2014 - 2016 Microchip Technology Inc. DS50002322E...
Page 2
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
Page 3
Object of Declaration: Plus Evaluation Board (#AC243007) with MM7150 Motion Module PICtail Explorer 16 Development Board 2014 - 2016 Microchip Technology Inc. DS50002322E-page 3...
Chapter 1. Hardware Setup 1.1 Hardware Requirements ................10 1.2 Preparing the Explorer 16 Development Board ..........10 1.3 Hardware Connections for MM7150-PICtail to Explorer 16 Board ....10 1.3.1 Direct Plug-In ..................... 10 1.3.2 Using Extension Cable ................11 Chapter 2.
Page 5
A.1 Directory structure ..................36 A.2 Program Flow ....................38 A.2.1 Main.c ....................... 38 A.2.2 Configuring and Initializing MM7150 Motion Module ........ 38 A.2.3 Enabling Sensors and Reading data ............39 Appendix B. Reference Schematic & Bill of Materials B.1 MM7150 Motion Module PICtail Plus Evaluation Board ......
Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the MM7150-PICtail with Explorer 16 Development Board to perform the demo and modify sample code. The manual layout is as follows: • Chapter 1. “Hardware Setup”...
The purpose of this document is to describe the functions and use of the MM7150-PICtail with Explorer 16 Development Board to perform the demos and mod- ify sample code functions as described in the Host API Design for MM7150 Application Note.
(FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://www.microchip.com/support 2014 - 2016 Microchip Technology Inc. DS50002322E-page 8...
1.3.1 Direct Plug-In The MM7150-PICtail can be installed directly into the Explorer 16 Board. Insert the MM7150-PICtail into the PICtail™ header J5 with pin 1 of the module lining up with pin 1 of the header, as seen in Figure 1-1.
1.3.2 Using Extension Cable The MM7150-PICtail motion module can be connected to the Explorer 16 development board via a custom extension cable. Using an extension cable will allow freedom of movement compared with directly inserting the MM7150-PICtail board into the PICtail header on the Explorer 16 board.
The latest firmware binary file is available at www.microchip.com/motion or please contact your Microchip representative for more information. • MM7150 Module Configuration Firmware Binary - The configuration data can be updated using the update feature as described Section 3.5.2 “Flash Configuration Update Command”.
Page 13
• File->Open Project Navigate to project directory and select Open Project as shown in Figure 2-2. FIGURE 2-2: OPEN PROJECT • Motion Demo Project Loaded as shown in Figure 2-3: FIGURE 2-3: PROJECT IS OPENED 2014 - 2016 Microchip Technology Inc. DS50002322E-page 13...
Page 14
• With Explorer 16 power applied, make the project and download to Explorer 16 flash as shown in Figure 2-4: FIGURE 2-4: SELECT DOWNLOAD OPTION • Output screen during build process as shown in Figure 2-5: FIGURE 2-5: BUILD PROCESS OUTPUT 2014 - 2016 Microchip Technology Inc. DS50002322E-page 14...
J5 header. DO NOT attempt to unplug the MM7150-PICtail while power is applied to it through its connection to the Explorer 16 Development board. This can cause a power spike to the MM7150-PICtail and cause it to become inoperative. Once the program has been built and downloaded/programmed successfully to Explorer 16 Flash, the user should observe a sequence of LED flashes on the Explorer 16 board’s LED panel.
3.2.1 In order for the sensors to function properly and indicate accurate data the user will need to calibrate the MM7150 each time power has been removed. This calibration is done by selecting the “Calibration” mode as shown in Figure...
Calibration of sensors is based on magnetic fields and magnetic flux present at the time of calibration. In the event that the MM7150-PICtail was factory calibrated in a part of the world where the magnetic flux differs significantly from its present location, the one-time calibration may be useful.
Page 18
5 seconds and then check that the “high accuracy” flag has been set. Once this state has been achieved, the MM7150-PICtail is put to sleep and wakes in order to save the calibration settings to FIGURE 3-6: ONE-TIME CALIBRATION COMPLETED ...
SLEEP/WAKE The MM7150 motion module can be set to enter deep sleep to achieve its lowest power consumption. In the Explorer 16 sample code this can be accomplished by selecting the SLEEP command from the main menu. The Explorer 16 host will send a POW- ER_OFF command through the I C interface.
Flash Update from the Explorer 16 main menu. The Explorer 16 sam- ple code will reset the MM7150 module into a state able to accept the new binary image, download and CRC-check a valid binary image, program new MM7150 firm- ware binary via I C interface, and finally perform image verification.
POR to the MM7150-PICtail is required. Flash Configuration Update Command 3.5.2 The X/Y/Z orientation of the MM7150 module on the customer’s design can be modified and saved to the MM7150’s flash. The default orientation of the A/M/G sensors of MM7150 (placed horizontally) is: ...
Page 23
Demo Setup For this case, the inputs to the motion algorithm (running in MM7150 firmware) can be represented by the following 3x3 matrix (Accelerometer for example): Matrix[3, 3] = [A00, A01, A02; A10, A11, A12; A20, A21, A22]; where Axx could be 0, 1, or -1.
Page 24
(derived from the above text file): FIGURE 3-12: CONFIGURATION DATA BINARY FOR HORIZONTAL Similarly, for the A/M/G sensors of the MM7150 placed vertically (such as when plugged into the Explorer 16 card): 2014 - 2016 Microchip Technology Inc. DS50002322E-page 24...
Page 25
Y’ = 0*x + 0*y - 1*z Z’ = 0*x + 1*y + 0*z i.e. Resulting matrix[3, 3] = [1,0,0; 0,0,-1; 0,1,0;] This vertical configuration data can be sent to the appropriate sector in the MM7150 firmware in the following format: TABLE 3-3:...
Page 26
CONFIGURATION DATA BINARY FOR VERTICAL Using the sample code’s Flash Configuration Update mode: FIGURE 3-14: FLASH CONFIGURATION DATA MODE Select “File->Send file...” from TeraTerm utility: (NOTE: Select Binary Option). 2014 - 2016 Microchip Technology Inc. DS50002322E-page 26...
Page 27
Explorer 16 must be power cycled (POR). Note: Should an issue arise due to incorrect formatting of binary data, the MM7150 Flash can be restored using the Flash Update command in Section 3.5.1 “Flash Update command”. 2014 - 2016 Microchip Technology Inc.
At boot, if the boot loader mode is detected, then the flash update function runs auto- matically. The user can select and download the firmware binary file as described in Section 3.5.1 “Flash Update command” to recover from the flash corruption state. 2014 - 2016 Microchip Technology Inc. DS50002322E-page 28...
BOOTLOADER MODE FREEFALL MODE Free-fall detection by the MM7150 at the present time is not supported in the MM7150 firmware. Included in the Explorer16 with MM7150 sample code version 1.3.4 is a soft- ware solution to demonstrate free-fall detection of the MM7150.
Page 30
Appendix C. “Extension Cable for Explorer 16”) for the Explorer 16 to MM7150-PICtail in order to drop the device onto a soft landing surface. It is virtually impossible to preserve the orientation of the MM7150-PICtail (i.e. prevent it from tilting, rotating, or spinning) during the fall without a specialized test setup so the sample code factors-in an offset for the X,Y, and Z readings during the collection of the accelerometer data.
Page 31
The “free-falling” determination is made if two successive readings are within the predetermined range. Any discrepancies in the data logging are due to changes in orientation of the MM7150-PICtail device as it falls. Finally, as seen Figure 3-20, “impact”...
ICE debugger for instance), the most likely cause is a failure to disconnect and recon- nect power to the MM7150-PICtail. This is accomplished by disconnecting and recon- necting power to the Explorer 16 board before restarting the demo. This process serves as a ‘hard reset’...
For example, in the case of a VREG Read operation of register 16h which encounters a problem while reading data in response to receiving a HIDI2C_HOST_INT (which indicates that a MM7150 sensor has data available) the following will be displayed on the Explorer 16 board’s LCD:...
“recovery” method will require resetting the Explorer 16 board and, hence, the connected MM7150-PICtail. For example, in the case of an i2cIO operation which encounters an issue, wherein the MM7150 fails to ACK properly, the following will be displayed on the Explorer 16 board’s LCD: error=0x29...
MM7150 MOTION MODULE PICTAIL PLUS EVALUATION BOARD (#AC243007) WITH EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE Appendix A. Code Structure DIRECTORY STRUCTURE 2014 - 2016 Microchip Technology Inc. DS50002322E-page 36...
Page 37
COM port UART2, interrupts, timers, I HID_initialization, start HID handshaking with EC via C commands Functions to get HID tables from MM7150 Module, \source\src\sf.c send power and reset HID commands, get HID report descriptors, parse descriptors, get input from sensor devices Initiates the motion demo by configuring LED’s, LCD,...
A.2.2 Configuring and Initializing MM7150 Motion Module Note: For a more comprehensive explanation of the API library functions, see the Host API Design for MM7150 Application Note. VREG_init (VREGS.c) – procedure for preparing motion module for data reporting 1. hid_i2c_descriptor_handler(GET_HID_DESC) - Retrieve and parse the HID descriptor table 2. hid_i2c_cmd_process (POWER_ON) - Wake the EC 3.
- Optional - edit sensitivity per sensor 3. HOST_SF_LIB_write regX, data rate value - Optional - edit data rate per sensor 4. HOST_SF_LIB_write(DATA_REG) - Read input data from the enabled sensors 2014 - 2016 Microchip Technology Inc. DS50002322E-page 39...
2.21k RES TKF 2.21k 1% 1/10W SMD 0603 MM7150 Motion Module B.1.2 Reference Schematic The MM7150 Motion Module PICtail Plus Evaluation Board (#AC243007) reference schematic is shown in the next page. 2014 - 2016 Microchip Technology Inc. DS50002322E-page 40...
2 meters with limiting factor of wiring capacitance. Designers should take this into consideration if planning to build longer extension cable which is out of scope of this user’s guide. SIGNALS CONNECTION TABLE C-1: CONNECTION SUMMARY BETWEEN MM7150 TO EXP16 BOARD MM7150 SSC7150 SSC7150 J3 Module Z1...
Need help?
Do you have a question about the MM7150 and is the answer not in the manual?
Questions and answers