STMicroelectronics AN3144 Application Note

This application note describes how to interface a Microsoft® Visual Studio® project with the dynamic link library (DLL) of the application programming interface (API) of the iNEMOTM software development kit (SDK). The DLL object handles the hardware communication interfacing and is an easy way to achieve (soft) real-time performance. The use of DLLs helps with the modularization of code, code reuse, efficient memory use, and reduction of disk space. Typically, this is preferred when you want to access the iNEMOTM demonstration board (STEVAL-MKI062V1) capabilities directly from a software project without accessing the microcontroller firmware.


STMicroelectronics AN3144 Application Note - cover page
Brand
STMicroelectronics
Category
Other Computer Accessories
Document type
Application Note
Language
English
Pages
15
File format
PDF
File size
286 KB
Published
06 August, 2012
Updated
29 September, 2023
MD5 checksum
732BFE9659244791DCCE54A8EA3BA5FB

About this manual

This document explains how to create a C++ wrapper for the iNEMO SDK dynamic link library (DLL) using Microsoft Visual Studio. It details the process of interfacing a software project with the iNEMO software development kit (SDK) to achieve real-time performance when accessing the STEVAL-MKI062V1 demonstration board capabilities.

The guide covers setting up the Visual Studio project, identifying the COM port assigned to the board, and implementing dynamic loading of the iNEMO_SDK.dll. It also provides a list of exported functions available in the DLL for controlling data acquisition and device connection.

What's inside

  • Getting started
  • Power-up
  • Notes on Microsoft Visual Studio version
  • iNEMO connection
  • Releasing the application
  • Package description
  • Dynamic link library loading
  • Loading the iNEMO_SDK.DLL
  • How to use the DLL functions
  • iNEMO functions in detail

Frequently asked questions

What is the minimum version of iNEMO application required to use this code?

You must download and install iNEMO application version 1.0.8 or higher before using the C++ code described in this note.

What is the correct project name to create when following the setup steps?

You should type INEMO_Cpp_Wrapper into the Name text box and then click OK.

Download PDF (286 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →