0% found this document useful (0 votes)
302 views17 pages

Nucleo Quick Start Guide 2

STM Nucleo Start up Guide

Uploaded by

Raj Sukkumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
302 views17 pages

Nucleo Quick Start Guide 2

STM Nucleo Start up Guide

Uploaded by

Raj Sukkumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Quick Start Guide

Digital MEMS Microphones expansion board based on MP34DT01-M


for STM32 Nucleo
(X-NUCLEO-CCA02M1)

Version 1.1.0 (May 31, 2016)


Quick Start Guide Contents
2

X-NUCLEO-CCA02M1: Digital MEMS Microphones expansion board


Hardware and Software overview

Setup & Demo Examples


Documents & Related Resources

STM32 Open Development Environment: Overview


Digital MEMS microphone expansion board
Hardware Overview 3

X-NUCLEO-CCA02M1 Hardware description ST morpho connector

Arduino UNO R3 connector


The X-NUCLEO-CCA02M1 is an evaluation board
based on digital MEMS microphones. It has two
MP34DT01M microphones soldered on the board
and offers the possibility to plug in additional
microphones using MP34DT01-based coupon
evaluation boards (STEVAL-MKI129V* or
STEVAL-MKI155V*).

The X-NUCLEO-CCA02M1 enables the acquisition


and streaming of up to 4 microphones using both
I2S and SPI busses available on ST morpho
connector.

Key products on board


MP34DT01-M
Ultra-compact, low-power, omnidirectional,
digital MEMS microphone built with a capacitive MP34DT01-M Microphone coupon housings USB connector
sensing element and an IC interface.

Latest info available at www.st.com


X-NUCLEO-CCA02M1

* is used as a wildcard character for related part number


Digital MEMS microphone expansion board
Software Overview 4

X-CUBE-MEMSMIC1 software description


Overall Software Architecture
The software running on the STM32 MCU includes
drivers and middleware for audio data acquisition
from the MEMS digital microphones (MP34DT01-M) Audio acquisition, decimation and USB streaming
and USB streaming of the recorded signals. Utilities Applications

Implementation examples are available showing X- PDM to PCM USB device audio
NUCLEO-CCA02M1 capabilities when connected to decimation library class
a NUCLEO-401RE, NUCLEO-F072RB or NUCLEO- Middleware
L053R8 Nucleo board. CMSIS
Hardware abstraction Board support
It represents an easy and fast solution for the layer API packages
Drivers
development of microphone-based applications as
well as a starting point for audio algorithm
Hardware STM32 MP34DT01-M
implementation. components

Key features STM32 Nucleo MEMS microphone expansion board


development board X-NUCLEO-CCA02M1
Complete middleware to build applications using
Development boards
the digital MEMS microphone network processor
Easy portability across different MCU families,
thanks to the STM32Cube
Latest info available at www.st.com
Sample applications that the developer can use to X-CUBE-MEMSMIC1
start experimenting with the code
Free, user-friendly license terms
Quick Start Guide Contents
5

X-NUCLEO-CCA02M1: Digital MEMS Microphones expansion board


Hardware and Software overview

Setup & Demo Examples


Documents & Related Resources

STM32 Open Development Environment: Overview


Setup & demo examples
HW prerequisites 6

1x Digital MEMS microphone expansion board


(X-NUCLEO-CCA02M1)

1x STM32 Nucleo development board


(NUCLEO-F401RE, NUCLEO-F072RB or NUCLEO-L053R8)

1x USB type A to mini-B USB cable to connect the


X-NUCLEO-CCA02M1 to the PC for USB streaming

1x PC based on Windows, Linux or OSX operating systems

Optional: microphone coupon board to allow acquisition of four


microphones
Compatible with:
STEVAL-MKI155V1, STEVAL-MKI155V2, or STEVAL-
MKI155V3
STEVAL-MKI129V1, STEVAL-MKI129V2, or STEVAL-
MKI129V3
Setup & demo examples
SW prerequisites 7

STSW-LINK008: ST-LINK/V2-1 USB driver

STSW-LINK007: ST-LINK/V2-1 firmware upgrade

X-CUBE-MEMSMIC1
The package contains source code examples (Keil,
IAR, SW4STM32) based on NUCLEO-F401RE,
NUCLEO-F072RB or NUCLEO-L053R8 performing
audio acquisition and USB streaming
When the system is flashed and connected to the PC
by means of the X-NUCLEO-CCA02M1 USB
connector, it is recognized as a standard multichannel
USB microphone

Generic third-party software for audio acquisition


Audacity is free, open-source, cross-platform
software for recording and editing sounds. It can be a
suitable choice for PC-based audio capture.
In Windows 7, the Audacity version is capable of
recording sound from up to 2 microphones
Digital MEMS microphone expansion board
8
Start coding in just a few minutes with X-CUBE-MEMSMIC1

1 Go to www.st.com/x-nucleo
X-CUBE-MEMSMIC1 package
Select
2 X-NUCLEO-CCA02M1 Nucleo & X-NUCLEO-CCA02M1 docs
MEMS digital microphone BSP driver
PDM to PCM library, USB Audio Class
3
Application example

Download & unpack


X-CUBE-MEMSMIC1

4
Download & install STM32
6
Nucleo ST-LINK/V2-1 USB driver
Modify and build application

5
Open project example
Microphone streaming
Digital MEMS microphone expansion board 9
Evaluate audio streaming using X-CUBE-MEMSMIC1 and Audacity (1/2)

Download & install STM32


1 Nucleo ST-LINK/V2-1 USB driver
Install the open-source audio
recording software Audacity from
2 http://web.audacityteam.org/

Move JP5 jumper on JP5


3 NUCLEO board to the

U5V

E5V
U5V position

Connect USB cable to


4 the NUCLEO USB
connector
5
From X-CUBE-MEMSMIC1
SW resource package
Drag and drop
MicrophonesStreaming_2Channels_16kHz.bin
on Nucleo drive
Digital MEMS microphone expansion board 10
Evaluate audio streaming using X-CUBE-MEMSMIC1 and Audacity (2/2)

Move JP5 jumper on JP5


6

U5V
NUCLEO board to the

E5V
E5V position

Connect USB cable to the


7 X-NUCLEO-CCA02M1
USB connector and ensure
that J1 on the same board
is closed

The board is recognized


8 as a standard 2-channel
USB microphone

Open Audacity and start recording 9


Documents & Related Resources 11

All documents are available in the DESIGN tab of the related products webpage

X-NUCLEO-CCA02M1:
Gerber files, BOM, schematics
DB2593: Digital MEMS microphones expansion board based on MP34DT01-M for STM32 Nucleo
Data brief
UM1900: Getting started with the digital MEMS microphones expansion board based on
MP34DT01-M for STM32 Nucleo User manual
X-CUBE-MEMSMIC1:
DB2599: Digital MEMS microphone acquisition and processing software expansion for
STM32Cube Data brief
UM1901: Getting started with the software package for digital MEMS microphones in X-CUBE-
MEMSMIC1 expansion for STM32Cube User manual
Software setup file

Consult www.st.com for the complete list


Quick Start Guide Contents
12

X-NUCLEO-CCA02M1: Digital MEMS Microphones expansion board


Hardware and Software overview

Setup & Demo Examples


Documents & Related Resources

STM32 Open Development Environment: Overview


STM32 Open Development Environment
Fast, affordable Prototyping and Development 13

The STM32 Open Development Environment (ODE) consists of a set of stackable boards
and a modular open SW environment designed around the STM32 microcontroller family.

STM32 Nucleo
STM32Cube
expansion boards
development software
(X-NUCLEO)

STM32Cube
STM32 Nucleo
expansion software
development boards
(X-CUBE)

Function Packs
(FP)

www.st.com/stm32ode
STM32 Nucleo
Development Boards (NUCLEO) 14

A comprehensive range of affordable development boards for all the STM32


microcontroller series, with unlimited unified expansion capabilities and integrated
debugger/programmer functionality.

Power supply
through USB or STM32 microcontroller
external source

Integrated debugging
Complete product range
and programming from ultra-low power to high-performance
ST-LINK probe

ST morpho extension header

Arduino UNO R3 extension headers

www.st.com/stm32nucleo
STM32 Nucleo
Expansion Boards (X-NUCLEO) 15

Boards with additional functionality that can be plugged directly on top of the STM32
Nucleo development board directly or stacked on another expansion board.

Connect Power Move/Actuate Interact

Sense

Motion MEMS sensors

Environmental sensors

DIL24 support for


new devices

Example of STM32 expansion board (X-NUCLEO-IKS01A1)

www.st.com/x-nucleo
STM32 Open Development Environment
Software components 16

STM32Cube software (CUBE) - A set Tools & IDEs


IAREWARM,Keil MDK-ARM, GCC-based IDEs
(e.g. Ac6 System Workbench for STM32)
of free tools and embedded software bricks
to enable fast and easy development on
Application examples
the STM32, including a Hardware Applications Sample applications
(e.g. based on STOpenSoftwareX)
Abstraction Layer and middleware bricks.
Upper level middleware
(e.g. STOpenSoftwareX)
STM32Cube expansion software Middleware
STM32Cube
middleware
(X-CUBE) - Expansion software provided STM32Cubeexpansion middleware
free for use with the STM32 Nucleo
expansion board and fully compatible with Hardware
STM32CubeHardware Abstraction Layer (HAL)
Abstraction
the STM32Cube software framework. It
provides abstracted access to expansion STM32 Nucleo expansion boards (X-NUCLEO)
board functionality through high-level APIs
and sample applications. Hardware
STM32 Nucleo developer boards

Compatibility with multiple Development Environments - The STM32 Open Development


Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based
environments. Users can choose from three IDEs from leading vendors, which are free of charge and
deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System
Workbench for STM32 and the MDK-ARM environment.

OPEN LICENSE MODELS: STM32Cube software and sample applications are covered by a www.st.com/stm32cube
mix of fully open source BSD license and ST licenses with very permissive terms.
www.st.com/x-cube
STM32 Open Development Environment
Building block approach 17

The building blocks Your need Our answer


Accelerometer, gyroscope
Inertial modules, magnetometer COLLECT
Pressure, temperature, humidity Sense
Proximity, microphone

Bluetooth LE, Sub-GHz radio TRANSMIT


NFC, Wi-Fi, GNSS
Connect

Audio amplifier
Touch controller ACCESS
Translate
Operation Amplifier

Stepper motor driver Move / CREATE


DC & BLDC motor driver
Industrial input / output
Actuate

POWER
Energy management & battery Power

General-purpose microcontrollers PROCESS


Secure microcontrollers
Process

Software www.st.com/stm32ode

You might also like