Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM2071 Datasheet(PDF) 42 Page - STMicroelectronics

Part # UM2071
Description  BlueNRG-1 development kit
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM2071 Datasheet(HTML) 42 Page - STMicroelectronics

Back Button UM2071 Datasheet HTML 38Page - STMicroelectronics UM2071 Datasheet HTML 39Page - STMicroelectronics UM2071 Datasheet HTML 40Page - STMicroelectronics UM2071 Datasheet HTML 41Page - STMicroelectronics UM2071 Datasheet HTML 42Page - STMicroelectronics UM2071 Datasheet HTML 43Page - STMicroelectronics UM2071 Datasheet HTML 44Page - STMicroelectronics UM2071 Datasheet HTML 45Page - STMicroelectronics UM2071 Datasheet HTML 46Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 56 page
background image
BlueNRG-1 peripheral driver examples
UM2071
42/56
DocID029370 Rev 3
15
BlueNRG-1 peripheral driver examples
The BlueNRG-1 peripheral driver examples applications are supported by the BlueNRG-1
development platform (STEVAL-IDB007V1). The kit contains a set of examples
demonstrating how to use the BlueNRG-1 device peripheral drivers ADC, GPIOs, I²C, RTC,
SPI, Timers, UART and WDG.
15.1
ADC examples
ADC polling: conversion is managed through the polling of the status register. The systick
timer is used to have a delay of 100 ms between two samples. Each sample from ADC is
printed through UART (USB-to-SERIAL must be connected to the PC). The default input is
the differential ADC1-ADC2.
ADC DMA: conversion is managed through the ADC DMA channel. The systick timer is
used to have a delay of 100 ms between two samples. Each sample from ADC is printed
through UART (USB-to-SERIAL must be connected to the PC).
ADC PDM: this example shows a PDM stream processor from a MEMS microphone
(MP34DT01-M i.e.) to UART. The application also supports the MEMS microphone
MP34DT01-M available on X-NUCLEO-CCA02MM1 board (refer to related BlueNRG-1 DK
SW package ADC PDM doxygen documentation for HW connections setup).
User is requested to connect the BlueNRG-1 STEVAL-IDB007V1 to a PC USB port and
open PuTTY serial terminal [512000, 8-N-1-N]. PuTTY serial terminal has to be configured
for storing the captured data on a log file. After the data have been captured, the PC
Audacity tool can been opened for importing the streamed data, following these steps:
File/Import/Raw Data.
Open the log data.
Configure as follows:
Encoding: Signed 16-bit PCM.
Byte order: Little-endian.
Channels: 1 Channel (Mono).
Sample rate: 8000 (default, 16 kbps is supported by changing the firmware
symbol FS in ADC_PDM_main.c)
Press the button Import.
Play the audio.
Due to the fact that the output data format is 2-bytes (B1B2), it is possible that
the serial terminal gets as first byte, half data (B2). This first byte must be
removed from the log file.
15.2
GPIO examples
Input interrupt: demonstrates the use of GPIO input interrupts.
The PUSH1 button (IO13) is configured to generate the interrupt event on both edges
of the input signal. LED DL1 is toggled ON if the level is high and OFF if low.
The PUSH2 button (IO5) is configured to generate the interrupt event on the rising
edge of the input signal. LED DL2 is toggled ON/OFF at each rising edge event.
IO toggle: demonstrates GPIO state changes by toggling LEDs DL1 and DL2 every 500
ms.
IO wakeup: demonstrates device wakeup from standby mode using the GPIO interrupt.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com