Alif Ensemble E7

The Ensemble series of fusion processors from Alif Semiconductor utilize ARM's low power Cortex-M55 CPUs with dedicated Ethos-U55 microNPUs to run embedded ML workloads quickly and efficiently. The devices feature both 'High Power' cores designed for large model architectures, as well as 'High Efficiency' cores designed for low power continuous monitoring. The E7 Development kit is fully supported by Edge Impulse, and features multiple core types, dual MEMS microphones, accelerometers, and a MIPI camera interface.

To get started with the Alif Ensemble E7 and Edge Impulse you'll need:

The Edge Impulse firmware for this development board is open source and hosted on GitHub: edgeimpulse/firmware-alif-e7

Installing dependencies

To set this device up in Edge Impulse, you will need to install the following software:

  1. A compatible flash programmer for your JTAG debugger of choice

Connecting to Edge Impulse

With all the software in place it's time to connect the development board to Edge Impulse.

1. Connect the Alif Ensemble E7 baseboard

2. Connect the FTDI USB-to-UART bridge included in the development kit

Pins GND, TXD, and RXD on the USB bridge should be connected to header pins 19, 7 and 6 on the baseboard, respectively. Then plug the USB bridge into your computer.

3. Connect the Debugger

Connect to the 20-pin JTAG header on the baseboard, then connect the debugger USB to your computer.

5. (Optional) Connect the MIPI camera

Alif provides a guide for configuring the baseboard for MIPI camera support via Baseboard Modifications for Camera Functionality. Follow this document to connect the camera.

6. Flash the default firmware to the device

The development board does not come with the right firmware yet. To update the firmware:

  1. Connect your flash programmer to your debugger of choice, and configure it to select

  1. Select the app.axf from the zip folder as the binary/ELF file to flash and run the Edge Impulse firmware on the device

Alternatively, Alif provides a Secure Enclave to manage secure firmware storage and bootup in production environments. Alif provides documentation on converting .axf files for use with their secure enclave, and then programming the resulting binary regions to the secure enclave in AUGD0002.

7. Run the Edge Impulse CLI!

From a command prompt or terminal, run:

edge-impulse-daemon

Mac: Device choice

If you have a choice of serial ports and are not sure which one to use, pick /dev/tty.FTDI_USBtoUART or /dev/cu.usbserial-*

This will start a wizard which will ask you to log in and choose an Edge Impulse project. If you want to switch projects run the command with --clean.

Alternatively, recent versions of Google Chrome and Microsoft Edge can collect data directly from your development board, without the need for the Edge Impulse CLI. See this blog post for more information.

5. Verifying that the device is connected

That's all! Your device is now connected to Edge Impulse. To verify this, go to your Edge Impulse project, and click Devices. The device will be listed here.

Next steps: building a machine learning model

With everything set up you can now build your first machine learning model with these tutorials:

Then once you've tested out deployment with the prebuilt Edge Impulse firmware, learn how to integrate Edge Impulse with your own custom Ensemble based application:

Last updated

Revision created on 11/14/2022