/dm-freemaster-nmh1000-evaluation-gui-firmware

This example demonstrates combining ISSDK and FreeMASTER to create NMH1000 magnetic switch evaluation GUI for our customer to evaluate this sensor using sensor development tools with sensor expansion boards

Primary LanguageCOtherNOASSERTION

NXP Application Code Hub

NMH1000 magnetic switch sensor evaluation GUI using ISSDK and FreeMASTER

This example demonstrates combining ISSDK and FreeMASTER to create NMH1000 magnetic switch evaluation GUI for our customer to evaluate this sensor using sensor development tools with sensor expansion boards.

  • NXP's next-generation sensors feature a strong balance of intelligent integration, logic and customizable platform software to enable smarter, more differentiated applications.

  • Easy enablement is of utmost importance to reduce evaluation, development & time to market. NXP's Sensor development ecosystem is making it easier for customers to accelerate their sensor product development.

  • The image below shows Sensors Development Ecosystem Offering:

  • NMH1000 is an ultra-low power monolithic Hall effect magnetic field sensor that provides a small footprint in low-current and low-operating-voltage, I2C mode or standalone mode. This magnetic switch sensor triggers an output when surrounding magnetic field is greater than the user-defined detection threshold.

  • Please refer to NMH1000 Magnetic Switch Sensor Datasheet for more information.
    https://www.nxp.com/docs/en/data-sheet/NMH1000.pdf

Boards: FRDM-MCXN947, FRDM-MCXA153

Accessories: mikroe_hall_switch_3_click

Categories: Low Power, Sensor, Tools

Peripherals: I2C, UART

Toolchains: MCUXpresso IDE

Table of Contents

  1. Software
  2. Hardware
  3. Setup
  4. Run Example Projects
  5. Run FreeMASTER GUI
  6. Support

1. Software

2. Hardware

3. Setup

3.1 Step 1: Download and Install required Software(s)

3.2 Step 2: Clone the APP-CODE-HUB/dm-freemaster_fxls89xxxf_evaluation_gui

  • Clone this repository to get the example projects:
  • Change directory to cloned project folder:
    cd dm-freemaster-nmh1000-evaluation-gui-firmware

3.3 Step 3: Build example projects

  • Open MCUXpresso IDE and select a directory to create your workspace.
  • Install "MCXUpresso SDK 2.14.0 for FRDM-MCXN947" (drag and drop SDK zip into "Installed SDK" view) into MCUXpresso IDE.
  • Install MCXUpresso SDK 2.14.2 for FRDM-MCXA153 (drag and drop SDK zip into "Installed SDK" view) into MCUXpresso IDE.
  • Go to "Quickstart Panel" and click on "Import Project(s) from file system",
  • Select "Project directory (unpacked)" and browse to the cloned project folder.
  • Select example projects that you want to open and run.
  • Right click on project and select build to start building the project.

4. Run Example Projects

  • Connect the chosen example project HWs: FRDM-MCXN947 with Hall Switch 3 click board or FRDM-MCXA153 with Hall Switch 3 click board
  • Right click on project and select "Debug As". Select MCUXpresso IDE LinkServer (inc. CMSIS DAP) probes.
  • Connect a USB cable between the host PC and the MCU-Link USB port on the target board.
  • Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

5. Run FreeMASTER GUI

  • Launch FreeMASTER application installed on your Windows PC.
  • Click on "Connection Wizard" and select Next>.
  • Select "Use direct connection to on board USB port" and click Next>.
  • The FreeMASTER tool detects the COM port (Select the identified COM port on next screen) with the configured baud-rate automatically. Confirm the COM port and baud-rate, click "Next>".
  • FreeMASTER detects the board connection and will ask to confirm the detected settings. Confirm by selecting "Yes" and click "Finish".
  • FreeMASTER opens an option to "Open an Existing Project". Select the option.
  • Browse to "<dm-freemaster-nmh1000-evaluation-gui-firmware\nmh1000_evaluation_gui\freemaster_gui/sensors/nmh1000 folder
  • Select "NMH1000_Magnetic_Switch_Demo.pmpx" sensor demo project. Click "Open".
  • FreeMASTER launches the NMH1000 sensor demo. Click on "Magnetic Data Streaming" to visualize the current magnetic strenght reading and magnetic event status. Apply a magnetic field greater than threshold value and check whether Mag event is raised.
  • Click "NMH1000 Register Page" tab to access the NMH1000 register set. Click "Read All" to view instantaneous values of the NMH1000 sensor registers in real time.
  • Users can select specific registers and perform single register read or write actions in real time. For a chosen sensor register with read/write access, users can toggle bitfields to change the register value and click "Write" to perform register write operation and/or perform register read by clicking "Read".

6. Support

Project Metadata

Board badge Board badge

Category badge Category badge

Peripheral badge Peripheral badge

Toolchain badge

Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.

Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum

Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

7. Release Notes

Version Description / Update Date
1.0 Initial release on Application Code Hub May 1st 2024