- Notifications
You must be signed in to change notification settings - Fork7
boschsensortec/COINES_SDK
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
To get started with the Bosch Sensortec Application Board, follow these steps:
- Clone the repository.
- Install the GCC Toolchain and GNU Make on your system.
- Install the USB drivers and libraries for your operating system:
- Windows: Run the app_board_usb_driver.exe
- Linux:
- Install the
libusb-devpackage andudevrules:- Debian-based distros: Run
sudo apt install libusb-1.0-0-dev - Red Hat-based distros: Run
sudo yum install libusbx-devel
- Debian-based distros: Run
- Install the 'libdbus-1-dev' and 'dbus-devel' packages:
- Debian-based distros: Run
sudo apt install libdbus-1-dev - Red Hat-based distros: Run
sudo yum install dbus-devel
- Debian-based distros: Run
- Install the
- macOS: use Homebrew to install libusb: Run
brew install libusb
- Connect the Bosch Sensortec Application Board to your PC with any sensor shuttle mounted.
- Go to any example and run
mingw32-make(Windows) (or)make(Linux & macOS) to compile the source code. - Run the compiled binary.
To run examples on the Application Board microcontroller, follow these steps:
- Update to the latest coines_bridge firmware
- Install
dfu-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-utilis available in thetools/usb-dfufolder. - Linux:
- Debian-based distros: Run
sudo apt install dfu-util - Red Hat-based distros: Run
sudo yum instal dfu-util
- Debian-based distros: Run
- macOS: Run
brew install dfu-util
- Get theGNU Arm Embedded Toolchain, extract and add to the PATH.
- Go to any example and run
make TARGET=MCU_APP30 download(or)make TARGET=MCU_APP31 download. - Open the Application Board USB serial port with any serial terminal program (Ensure DTR signal is asserted).
To run Python examples, follow these steps:
- Install Python 3.x, following the installation instructions provided on the website:https://www.python.org/
- Install
coinespyby using any of the below command set.
pip install coinespy
cd coines-api/pc/pythonmingw32-make ARCH=x86_64 python setup.py install- Run examples in the
examples/pythonfolder.
To create new examples, follow these steps:
- Go to the
examples/c/common/templatefolder. - Review the
Makefilein 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.
About
COINES_SDK
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.