전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

UM2071 데이터시트(PDF) 47 Page - STMicroelectronics

부품명 UM2071
상세설명  BlueNRG-1 development kit
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM2071 데이터시트(HTML) 47 Page - STMicroelectronics

Back Button UM2071 Datasheet HTML 43Page - STMicroelectronics UM2071 Datasheet HTML 44Page - STMicroelectronics UM2071 Datasheet HTML 45Page - STMicroelectronics UM2071 Datasheet HTML 46Page - STMicroelectronics UM2071 Datasheet HTML 47Page - STMicroelectronics UM2071 Datasheet HTML 48Page - STMicroelectronics UM2071 Datasheet HTML 49Page - STMicroelectronics UM2071 Datasheet HTML 50Page - STMicroelectronics UM2071 Datasheet HTML 51Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 56 page
background image
UM2071
BlueNRG-1 peripheral driver examples
DocID029370 Rev 3
47/56
MFT timers: this example shows how configure peripherals MFT1, MFT2 and SysTick to
generate three timer interrupts at different rate: MFT1 at 500 ms, MFT2 at 250 ms and
SysTick at 1 second.
15.9
UART examples
DMA: IO8 and IO11 are configured as UART pins and DMA receive and transmit requests
are enabled. Each byte received from UART is sent back through UART in an echo
application (USB-to-SERIAL must be connected to the PC).
Interrupt: IO8 and IO11 are configured as UART pins and receive and transmit interrupts
are enabled. Each byte received from UART is sent back through UART in an echo
application (USB-to-SERIAL must be connected to the PC).
Polling: IO8 and IO11 are configured as UART pins. Each byte received from UART is
sent back through UART in an echo application (USB-to-SERIAL must be connected to the
PC).
15.10
WDG examples
Reset: demonstrates the watchdog functionality and using it to reboot the system when the
watchdog interrupt is not serviced during the watchdog period (interrupt status flag is not
cleared).
The watchdog is configured to generate the interrupt with a 15 s interval, then it is enabled
and monitors the state of the PUSH1 button (IO13 pin). Any change on this pin triggers the
watchdog counter to reload and restart the 15 s interval measurement.
If the IO13 pin state does not change during this interval, the watchdog generates an
interrupt that is intentionally not cleared and therefore remains pending; the watchdog
interrupt service routine is therefore called continuously and the system is stuck in the
watchdog interrupt handler.
The chip is reset as it can no longer execute user code. The second watchdog timeout
triggers system reboot as a new watchdog interrupt is generated while the previous
interrupt is still pending. The application then starts measuring the 15 s interval again.
The three user LEDs are toggled at increasing frequencies until the board is reset or
PUSH1 button is pressed, which restores the LEDs toggling frequency with the 15 s
watchdog timer.
Wakeup: The watchdog timer is a 32-bit down counter that divides the clock input (32.768
kHz) and produces an interrupt whenever the counter reaches zero. The counter is then
reloaded with the content of the WDT_LR register. If the interrupt status flag is not cleared
and a new interrupt is generated, then the watchdog may generate a system reset.
This example demonstrates the use of the watchdog to periodically wake the system from
standby mode using the watchdog interrupt. The watchdog is configured to generate the
interrupt at 1 s intervals. The watchdog is then enabled and the system is switched to the
standby mode. As soon as the watchdog interrupt is generated, the system wakes up,
LED1 (IO6 pin) is toggled and the device returns to standby mode. The IO6 pin is therefore
toggled every 1 s.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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