Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

COINES_SDK

License

NotificationsYou must be signed in to change notification settings

boschsensortec/COINES_SDK

Repository files navigation

COmmunication withINertial andEnvironmentalSensors SDK

WithCOmmunication withINertial andEnvironmentalSensors (COINES_SDK), users can evaluate sensors using the Bosch Sensortec Application Board. Users can configure sensor settings and read data easily using thecoinesAPI from a PC using C (or) Python.

To overcome the limitations (e.g., inaccurate delays,etc.) due to USB communication latencies, some C examples can also be cross-compiled and run directly on the Application Board's microcontroller.

Quick Start

To get started with the Bosch Sensortec Application Board, follow these steps:

  1. Clone the repository.
  2. Install the GCC Toolchain and GNU Make on your system.
  3. Install the USB drivers and libraries for your operating system:
  • Windows: Run the app_board_usb_driver.exe
  • Linux:
    • Install thelibusb-dev package andudev rules:
      • Debian-based distros: Runsudo apt install libusb-1.0-0-dev
      • Red Hat-based distros: Runsudo yum install libusbx-devel
    • Install the 'libdbus-1-dev' and 'dbus-devel' packages:
      • Debian-based distros: Runsudo apt install libdbus-1-dev
      • Red Hat-based distros: Runsudo yum install dbus-devel
  • macOS: use Homebrew to install libusb: Runbrew install libusb
  1. Connect the Bosch Sensortec Application Board to your PC with any sensor shuttle mounted.
  2. Go to any example and runmingw32-make(Windows) (or)make(Linux & macOS) to compile the source code.
  3. Run the compiled binary.

Running examples on the Application Board microcontroller

To run examples on the Application Board microcontroller, follow these steps:

  1. Update to the latest coines_bridge firmware
  2. Installdfu-util. This is a utility used for uploading firmware to the microcontroller. The installation process varies depending on your operating system:
  • Windows: No installation is required.dfu-util is available in thetools/usb-dfufolder.
  • Linux:
    • Debian-based distros: Runsudo apt install dfu-util
    • Red Hat-based distros: Runsudo yum instal dfu-util
  • macOS: Runbrew install dfu-util
  1. Get theGNU Arm Embedded Toolchain, extract and add to the PATH.
  2. Go to any example and runmake TARGET=MCU_APP30 download (or)make TARGET=MCU_APP31 download.
  3. Open the Application Board USB serial port with any serial terminal program (Ensure DTR signal is asserted).

Running Python examples

To run Python examples, follow these steps:

  1. Install Python 3.x, following the installation instructions provided on the website:https://www.python.org/
  2. Installcoinespy by using any of the below command set.
pip install coinespy
cd coines-api/pc/pythonmingw32-make ARCH=x86_64 python setup.py install
  1. Run examples in theexamples/python folder.

Creating new examples

To create new examples, follow these steps:

  1. Go to theexamples/c/common/template folder.
  2. Review theMakefile in this directory. This file contains instructions for compiling and linking the C, Assembly, C++ files, and binary libraries. Use it as a reference when adding your own files.

[8]ページ先頭

©2009-2025 Movatter.jp