Atmel MEMS MIC Xplained Pro User Guide

Atmel MEMS MIC Xplained Pro User Guide
USER GUIDE
Atmel MEMS MIC Xplained Pro
Preface
Atmel® MEMS MIC Xplained Pro is an extension board to the Atmel Xplained Pro
evaluation platform. It is designed to acquire audio data through two microphones
and to be compatible with any Atmel Xplained Pro MCU kits which support I 2S or
PDM interface. Together with suitable Atmel MCU kit and demo source code, this
board enables user to easily experience stereo/mono audio application
development.
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
1
Introduction
1.1
Features
1.2

Audio data acquisition via two MEMS microphones

Configurable Jumper Matrix for compatibility with Atmel Xplained Pro MCU Kits

One green LED power indicator

Xplained Pro hardware identification system
Kit Overview
Atmel MEMS MIC Xplained Pro is a generic extension board for the Xplained Pro platform. It can be connected
to standard extension headers on any Xplained Pro MCU board which supports I 2S or PDM interfaces. To get
normal audio data, user need to refer to the mating Xplained Pro MCU board schematic and the MCU datasheet
to configure the Jumper Matrix with two caps. The MEMS MIC Xplained Pro is controlled via I 2S or PDM for
audio applications.
The Atmel MEMS MIC Xplained Pro supports the Xplained Pro hardware identification system.
Figure 1-1.
2
MEMS MIC Xplained Pro Extension Board
Atmel
MEMS MIC Xplained Pro [USER GUIDE]
2
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
2
Getting Started
2.1
Quick-start
Three steps to start exploring the Atmel Xplained Pro platform:
2.2
1.
Download and install Atmel Studio1.
2.
Launch Atmel Studio.
3.
Connect MEMS MIC Xplained Pro to an Xplained Pro MCU board and connect a USB cable to DEBUG
USB port on the Xplained Pro MCU board.
Connecting MEMS MIC Xplained Pro to the Xplained Pro MCU Board
Atmel MEMS MIC Xplained Pro has been illustrated to be connected to SAMG53 Xplained Pro evaluation kit at
header marked EXT3. However, it is compatible with all Xplained Pro MCU boards which support I 2S or PDM.
Please refer to the pin-out of targeted Xplained Pro MCU board documents to find out which Xplained Pro
headers and pins can be used.
Once the Xplained Pro MCU board is powered, the green power LED will be lit and Atmel Studio will auto detect
which Xplained Pro MCU- and extension board(s) that is connected. You will be presented with relevant
information like datasheets and kit documentation. You also have the option to launch the example application
source code for the combination of Xplained Pro MCU board and extensions connected. The target device is
programmed and debugged by the on-board Embedded Debugger. No external programmer or debugger tool is
needed.
The MEMS MIC Xplained Pro board is ESD sensitive, proper ESD precautions must be
taken during handling and storage of the board.
Do not put anything sharp or vacuum over port holes of the microphones, otherwise the
microphones may be damaged.
2.3
Design Documentation and Related Links
The following list contains links to the most relevant documents and software for MEMS MIC Xplained Pro:
1.
Atmel Studio1 Free Atmel IDE for development of C/C++ and assembler code for Atmel microcontrollers.
2.
Xplained Pro products2 Atmel Xplained Pro is a series of small-sized and easy-to-use evaluation kits for
8- and 32-bit Atmel microcontrollers. It consists of a series of low cost MCU boards for evaluation and
demonstration of features and capabilities of different MCU families.
3.
MEMS MIC Xplained Pro User Guide3 PDF version of this User Guide.
4.
MEMS MIC Xplained Pro Hardware Design Files4 Package containing schematics, BOM, assembly
drawings, 3D plots, layer plots, etc.
_________________
1
http://www.atmel.com/atmelstudio
2
http://www.atmel.com/XplainedPro
3
http://www.atmel.com/Images/Atmel-42427-MEMS-MIC-Xplained-Pro_User-Guide.pdf
4
http://www.atmel.com/Images/Atmel-42427-MEMS-MIC-Xplained-Pro_User-Guide.zip
Atmel MEMS MIC Xplained Pro [USER GUIDE]
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
3 3
3
Xplained Pro
Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. The platform
consists of a series of Microcontroller (MCU) boards and extension boards that are integrated with Atmel Studio,
have Atmel Software Framework (ASF) drivers and demo code, support data streaming, and more.
Xplained Pro MCU boards support a wide range of Xplained Pro extension boards that are connected through a
set of standardized headers and connectors. Each extension board has an identification (ID) chip to uniquely
identify which extension boards are attached an Xplained Pro MCU board. This information is used to present
relevant user guides, application notes, datasheets, and example code through Atmel Studio. Available
Xplained Pro MCU and other extension boards can be purchased in the Atmel Web Store.
3.1
Hardware Identification System
All Xplained Pro compatible extension boards have an Atmel ATSHA204 CryptoAuthentication™ chip mounted.
This chip contains information that identifies the extension with its name and some extra data. When an
Xplained Pro extension board is connected to an Xplained Pro MCU board the information is read and sent to
Atmel Studio. The Atmel Kits extension, installed with Atmel Studio, will give relevant information, code
examples, and links to relevant documents. Table 3-1 Xplained Pro ID Chip Content shows the data fields
stored in the ID chip with example content.
Table 3-1.
Xplained Pro ID Chip Content
Data Field
Data Type
Example Content
Manufacturer
ASCII string
Atmel’\0’
Product Name
ASCII string
MEMS MIC Xplained Pro’\0’
Product Revision
ASCII string
01’\0’
Product Serial Number
ASCII string
2508010201500000’\0’
Minimum Voltage [mV]
uint16_t
3000
Maximum Voltage [mV]
uint16_t
3600
Maximum Current [mA]
uint16_t
6
3.2
Standard Headers and Connectors
3.2.1
Xplained Pro Standard Extension Header
All Xplained Pro kits have one or more dual row, 20-pin, 100mil extension headers. Xplained Pro MCU boards
have male headers while Xplained Pro extensions have their female counterparts. Note that all pins are not
always connected. However, all the connected pins follow the defined pin-out described in Table 3-2 Standard
Layout of Xplained Pro Extension Header. The extension headers can be used to connect a wide variety of
Xplained Pro extensions to Xplained Pro MCU boards and to access the pins of the target MCU on Xplained Pro
MCU board directly.
4
Atmel
MEMS MIC Xplained Pro [USER GUIDE]
4
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
Table 3-2.
Standard Layout of Xplained Pro Extension Header
Pin Numbers
Name
Description
1
ID
Communication line to the ID chip on extension board.
2
GND
Ground.
3
ADC(+)
Analog to digital converter, alternatively positive part of differential ADC.
4
ADC(-)
Analog to digital converter, alternatively negative part of differential ADC.
5
GPIO1
General purpose I/O.
6
GPIO2
General purpose I/O.
7
PWM(+)
Pulse width modulation, alternatively positive part of differential PWM.
8
PWM(-)
Pulse width modulation, alternatively positive part of differential PWM.
9
IRQ/GPIO
Interrupt request line and/or general purpose I/O.
10
SPI_SS_B/GPIO
Slave select for SPI and/or general purpose I/O.
11
TWI_SDA
Data line for two wire interface. Always implemented, bus type.
12
TWI_SCL
Clock line for two wire interface. Always implemented, bus type.
13
USART_RX
Receiver line of Universal Synchronous and Asynchronous serial Receiver and
Transmitter.
14
USART_TX
Transmitter line of Universal Synchronous and Asynchronous serial Receiver
and Transmitter.
15
SPI_SS_A
Slave select for SPI. Should be unique if possible.
16
SPI_MOSI
Master out slave in line of Serial peripheral interface. Always implemented, bus
type.
17
SPI_MISO
Master in slave out line of Serial peripheral interface. Always implemented, bus
type.
18
SPI_SCK
Clock for Serial peripheral interface. Always implemented, bus type.
19
GND
Ground.
20
VCC
Power for extension board.
Atmel MEMS MIC Xplained Pro [USER GUIDE]
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
5 5
4
Hardware User Guide
4.1
LED power indicator
There is one green LED on the MEMS MIC Xplained Pro board to indicate power status for the extension board.
The LED can be lit by connecting to any standard header of Atmel Xplained Pro MCU board which is powered
on.
4.2
Headers and Connectors
4.2.1
MEMS MIC Xplained Pro Extension Header
MEMS MIC Xplained Pro implements one Xplained Pro Standard Extension Header marked with EXT in
silkscreen. This female header makes it possible to connect the board to any Xplained Pro MCU board. The
pin-out definition for the extension header can be seen in Table 4-1 MEMS MIC Xplained Pro Specific Extension
Header.
Table 4-1.
6
MEMS MIC Xplained Pro Specific Extension Header
Pin Numbers
Name
Description
1
ID
Communication line to the ID chip.
2
GND
Ground.
3
3
Connect to Jumper Matrix JD-a pin with mark “3”.
4
4
Connect to Jumper Matrix JB-a pin with mark “4”.
5
5
Connect to Jumper Matrix JD-b pin with mark “5”.
6
6
Connect to Jumper Matrix JB-b pin with mark “6”.
7
7
Connect to Jumper Matrix JD-c pin with mark “7”.
8
8
Connect to Jumper Matrix JB-c pin with mark “8”.
9
9
Connect to Jumper Matrix JD-d pin with mark “9”.
10
10
Connect to Jumper Matrix JB-d pin with mark “10”.
11
11
Connect to Jumper Matrix JD-e pin with mark “11”.
12
12
Connect to Jumper Matrix JB-e pin with mark “12”.
13
13
Connect to Jumper Matrix JD-f pin with mark “13”.
14
14
Connect to Jumper Matrix JB-f pin with mark “14”.
15
15
Connect to Jumper Matrix JD-g pin with mark “15”.
16
16
Connect to Jumper Matrix JB-g pin with mark “16”.
17
17
Connect to Jumper Matrix JD-h pin with mark “17”.
18
18
Connect to Jumper Matrix JB-h pin with mark “18”.
19
GND
Ground.
20
VCC
Target supply voltage.
Atmel
MEMS MIC Xplained Pro [USER GUIDE]
6
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
4.2.2
Jumper Matrix
MEMS MIC Xplained Pro features a two channels audio acquisition which consists of two digital MEMS
Microphone devices (WM7220). To set audio acquisition work, Jumper Matrix should be configured. As Figure
4-1 Jumper Matrix and Configuration Indicator shows, the column JB and JD are Xplained PRO extension
header. The columns JA, JE are SD line, and JC is SCK line. By using jumper configuration, the extension
header pin can be configured as SD or SCK line. One of the pin in JB column can be configured as SD or SCK
by connecting jumper between JB, JA, and JB, JC respectively. The hardware connection to the Jumper Matrix
is shown in Table 4-2 Jumper Matrix Connections.
Figure 4-1.
Jumper Matrix and Configuration Indicator
Table 4-2.
Jumper Matrix Connections
Pin Numbers
Signal Name
Description
JA-a
SD
Audio data from MEMS Microphones
JA-b
SD
Audio data from MEMS Microphones
JA-c
SD
Audio data from MEMS Microphones
JA-d
SD
Audio data from MEMS Microphones
JA-e
SD
Audio data from MEMS Microphones
JA-f
SD
Audio data from MEMS Microphones
JA-g
SD
Audio data from MEMS Microphones
JA-h
SD
Audio data from MEMS Microphones
JB-a
4
Pin#4 from the female header and can be configured to SCK or SD
JB-b
6
Pin#6 from the female header and can be configured to SCK or SD
JB-c
8
Pin#8 from the female header and can be configured to SCK or SD
JB-d
10
Pin#10 from the female header and can be configured to SCK or SD
JB-e
12
Pin#12 from the female header and can be configured to SCK or SD
Atmel MEMS MIC Xplained Pro [USER GUIDE]
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
7 7
5
Pin Numbers
Signal Name
Description
JB-f
14
Pin#14 from the female header and can be configured to SCK or SD
JB-g
16
Pin#16 from the female header and can be configured to SCK or SD
JB-h
18
Pin#18 from the female header and can be configured to SCK or SD
JC-a
SCK
Clock data from mating MCU board to MEMS Microphones
JC-b
SCK
Clock data from mating MCU board to MEMS Microphones
JC-c
SCK
Clock data from mating MCU board to MEMS Microphones
JC-d
SCK
Clock data from mating MCU board to MEMS Microphones
JC-e
SCK
Clock data from mating MCU board to MEMS Microphones
JC-f
SCK
Clock data from mating MCU board to MEMS Microphones
JC-g
SCK
Clock data from mating MCU board to MEMS Microphones
JC-h
SCK
Clock data from mating MCU board to MEMS Microphones
JD-a
3
Pin#3 from the female header and can be configured to SCK or SD
JD-b
5
Pin#5 from the female header and can be configured to SCK or SD
JD-c
7
Pin#7 from the female header and can be configured to SCK or SD
JD-d
9
Pin#9 from the female header and can be configured to SCK or SD
JD-e
11
Pin#11 from the female header and can be configured to SCK or SD
JD-f
13
Pin#13 from the female header and can be configured to SCK or SD
JD-g
15
Pin#15 from the female header and can be configured to SCK or SD
JD-h
17
Pin#17 from the female header and can be configured to SCK or SD
JE-a
SD
Audio data from MEMS Microphones
JE-b
SD
Audio data from MEMS Microphones
JE-c
SD
Audio data from MEMS Microphones
JE-d
SD
Audio data from MEMS Microphones
JE-e
SD
Audio data from MEMS Microphones
JE-f
SD
Audio data from MEMS Microphones
JE-g
SD
Audio data from MEMS Microphones
JE-h
SD
Audio data from MEMS Microphones
Product Ordering Note
This MEMS MIC Xplained Pro is not in mass product and cannot be accessed through the Atmel Web Store so
far, as it is intended for technical evaluation only. However relative design files for this board have been
released and users can get the files for free at MEMS MIC Xplained Pro Design Documentation.
8
Atmel
MEMS MIC Xplained Pro [USER GUIDE]
8
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
6
Hardware Revision History and Known Issues
6.1
Identifying Product ID and Revision
The revision and product identifier of Xplained Pro boards can be found in two ways, through Atmel Studio or by
looking at the sticker on the bottom side of the PCB.
By connecting an Xplained Pro MCU board to a computer with Atmel Studio running, an information window will
pop up. The first six digits of the serial number, which is listed under kit details, contain the product identifier and
revision. Information about connected Xplained Pro extension boards will also appear in the Atmel Kits window.
The same information can be found on the sticker on the bottom side of the PCB. Most kits will print the identifier
and revision in plain text as A09-nnnn\rr where nnnn is the identifier and rr is the revision. Boards with limited
space have a sticker with only a QR-code which contains a serial number string.
The serial number string has the following format:
"nnnnrrssssssssss"
n = product identifier
r = revision
s = serial number
The kit identifier for MEMS MIC Xplained Pro is 2508.
6.2
Revision 1
Revision 1 of MEMS MIC Xplained Pro is the initial released version. There are no known issues.
Atmel MEMS MIC Xplained Pro [USER GUIDE]
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
9 9
7
10
Revision History
Doc Rev.
Date
42427A
03/2015
Comments
Initial document release.
Atmel
MEMS MIC Xplained Pro [USER GUIDE]
1
Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
0
Atmel Corporation
1600 Technology Drive, San Jose, CA 95110 USA
T: (+1)(408) 441.0311
F: (+1)(408) 436.4200
│
www.atmel.com
© 2015 Atmel Corporation. / Rev.: Atmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015.
Atmel®, Atmel logo and combinations thereof, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and
other countries. Other terms and product names may be trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, b y estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELAT ING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON -INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DA MAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT , EVEN IF ATMEL HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, auto motive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in conne ction with any applications where
the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written
consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems.
Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specificall y designated by Atmel as military-grade. Atmel products are
not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotiveAtmel-42427A-MEMS-MIC-Xplained-Pro_UserGuide_032015
-grade.
Atmel MEMS MIC Xplained Pro [USER GUIDE]
11 1
1
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement