Giter VIP home page Giter VIP logo

edgeimpulse / firmware-infineon-cy8ckit-062-ble Goto Github PK

View Code? Open in Web Editor NEW
0.0 10.0 0.0 30.75 MB

The official Edge Impulse firmware for PSoC63 (CY8CKIT-062-BLE)

Home Page: https://www.edgeimpulse.com

License: Apache License 2.0

Dockerfile 0.01% Makefile 0.30% Assembly 0.64% C 91.61% C++ 7.19% CMake 0.12% Shell 0.02% Python 0.04% Batchfile 0.01% Perl 0.01% Tcl 0.07%
edge-ai iot machine-learning ml tiny-ml infineon edge-impulse edge-impulse-firmware

firmware-infineon-cy8ckit-062-ble's Introduction

EdgeImpulse Firmware for Infineon PSoC63 (CY8CKIT-062-BLE)

Edge Impulse enables developers to create the next generation of intelligent device solutions with embedded machine learning. This repository contains the Edge Impulse firmware for Infineon PSoC62 BLE Pioneer Kit with E-ink Display kit. This device supports all of Edge Impulse's device features, including ingestion, remote management and inferencing.

Introduction

This project supports:

  • Data ingestion using the EdgeImpulse Studio
    • Movement sampling from the Bosch BMI160 Inertial sensor on the EPD hat
    • Audio sampling using the PDM Microphone on the EPD hat
    • Temperature sampling using the Environmental sensor on the EPD hat
  • Live inference with all sensors
    • Sensor Fusion using Inertial and Environmental sensor together
  • Storing samples on the external NOR Flash using the QSPI inteface

TODO:

  • Migrate from shared MTB to local (All libraries must be provided in this code repository)

Project dependencies:

  • PSoC6 io_retarget library for UART interface
  • PSoC6 serial-flash library for QSPI interface
  • PSoC6 I2C library for hardware-driven Master I2C interface
  • BMI160 driver

Requirements

Software

  • Install ModusToolbox SDK and IDE
  • Toolchain in the SDK is GNU Arm® embedded compiler v9.3.1

Hardware

Building

ModusToolbox IDE

Comammand Line

  1. Install ModusToolbox

  2. Clone this repository.

  3. Open terminal and go to the directory with cloned project

  4. Run the following commands

    make getlibs
    make build
    

Docker

TODO: Docker image not available yet

  1. Build docker image

    docker build -t edge-impulse-infineon .
    
  2. Build firmware

    docker run --rm -v $PWD:/app edge-impulse-infineon
    

Flashing

ModusToolbox IDE

Infineon provides extensive documentation, with screenshots, about how to use the ModusToolbox IDE. Topics covered include:

  • Importing a project
  • Building the project
  • Flashing the project to the board

Please visit this link for the Infineon ModusToolbox IDE guide

Command Line

  1. After building the firmware (see steps above) connect the board and run

    make program
    

Standalone

  1. Install CyProgrammer

  2. Connect the board and run CyProgrammer

  3. Select a probe/kit

  4. Select compiled hex file

  5. Connect to the board

  6. Program the firmware

  7. After successful flashing, you should see a LED blinking patter

Troubleshooting

Audio sampling at 8kHz

The current firmware version can not sample at 8kHz. We have put request to the engineering team at Infineon for clarification of the PDM setings.

Audio sampling at 16 and 32kHz works and the audio quality is high.

No other known issues

firmware-infineon-cy8ckit-062-ble's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.