Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

BLUENRG-2 Datasheet(PDF) 130 Page - STMicroelectronics

Part # BLUENRG-2
Description  Bluetooth® low energy wireless system-on-chip
PDF  190 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

BLUENRG-2 Datasheet(HTML) 130 Page - STMicroelectronics

Back Button BLUENRG-2 Datasheet HTML 126Page - STMicroelectronics BLUENRG-2 Datasheet HTML 127Page - STMicroelectronics BLUENRG-2 Datasheet HTML 128Page - STMicroelectronics BLUENRG-2 Datasheet HTML 129Page - STMicroelectronics BLUENRG-2 Datasheet HTML 130Page - STMicroelectronics BLUENRG-2 Datasheet HTML 131Page - STMicroelectronics BLUENRG-2 Datasheet HTML 132Page - STMicroelectronics BLUENRG-2 Datasheet HTML 133Page - STMicroelectronics BLUENRG-2 Datasheet HTML 134Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 130 / 190 page
background image
Functional details
BlueNRG-2
130/190
DocID030675 Rev 2
This mode is a combination of mode 3 and mode 2,and makes it possible to operate
Timer/Counter 2 as a single input-capture timer while Timer/Counter 1 can be used as a
system timer as described above.
TnCNT1 starts counting down once a clock has been enabled. Upon underflow, TnCNT1 is
reloaded from the TnCRB register, and counting proceeds downward from that value. If
enabled, the TnA pin toggles upon every underflow of TnCNT1. The initial value of the TnA
output signal can be selected by software to be either high or low. In addition, the TnAPND
interrupt-pending flag is set and a timer interrupt 1 is generated if the TnAIEN bit is set.
Since TnA toggles upon every underflow, a 50% duty-cycle PWM signal can be generated
on TnA without requiring any interaction with the software or the CPU.
TnCNT2 starts counting down once a clock has been enabled. When a transition is
received on TnB, the value contained in TnCNT2 is transferred to TnCRB, and the
interrupt-pending flag TnBPND is set. A timer interrupt 1is generated if enabled. The
software can enable a pReset of the counter to 0xFFFF upon detection of a transition on
TnB. In this case, the current value of TnCNT2 is transferred to TnCRB, followed by a
pReset of the counter to 0xFFFF. TnCNT2 starts counting downwards from 0xFFFF until
the next transition is received on TnB, which causes the procedure of capture and pReset
to be repeated. The underflow of TnCNT2 causes the TnDPND interrupt-pending flag to be
set, and can also generate a timer interrupt 2 if enabled. The input signal on TnB must
have a pulse width equal to or greater than one system clock cycle. TnB can be configured
to sense either rising or falling edges. TnCNT2 cannot operate in the pulse-accumulate or
external-event counter modes since the TnB input is used as a capture input. Selecting
either of these modes for TnCNT2 causes TnCNT2 to be stopped. However, all available
clock source modes may be selected for TnCNT1. Thus by using TnCNT1, it is possible to
determine the number of capture events on TnB, or the elapsed time between capture
events on TnB.
3.13.2.6
Timer IO functions
There are two pins associated with each instance of the MFTX. The pins are called TnA
and TnB. The functionality of TnA and TnB depends on the mode of operation and the
value of the TnAEN and TnBEN bits. Table 157: "MFT IO functions" shows the function of
TnA and TnB for various modes of operation. Note that if TnA functions as a PWM output,
TnAOUT defines the initial and present value of TnA. For example, if the user wishes to
start with TnA high, TnAOUT needs to be set before enabling the timer clock.
Table 157: MFT IO functions
Pin
TnAEN
TnBEN
Mode 1
Mode 1a
Mode 2
Mode 3
Mode 4
PWM and
counter
PWM pulse
train
Dual-input
capture and
counter
Dual
independent
counter
Input capture
plus timer
TnA
TnAEN
= 0
TnBEN
= X
No output
No output
Capture
TnCNT1 into
TnCRB
No output toggle
No output
toggle
TnAEN
= 1
TnBEN
= X
Toggle output
on underflow
of TnCNT1
Toggle
output on
underflow of
TnCNT1
Capture
TnCNT1 into
TnCRA and
preset
TnCNT1
Toggle output
on underflow
of TnCNT1
TnB
TnAEN
= X
TnBEN
= 0
External event
or pulse
accumulate
input
External
event if
TnPTSE = 0
Capture
TnCNT1 into
TnCRB
External event
or pulse
accumulate
input
Capture
TnCNT2 into
TnCRB



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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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