Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

BLUENRG-2 Datasheet(PDF) 109 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) 109 Page - STMicroelectronics

Back Button BLUENRG-2 Datasheet HTML 105Page - STMicroelectronics BLUENRG-2 Datasheet HTML 106Page - STMicroelectronics BLUENRG-2 Datasheet HTML 107Page - STMicroelectronics BLUENRG-2 Datasheet HTML 108Page - STMicroelectronics BLUENRG-2 Datasheet HTML 109Page - STMicroelectronics BLUENRG-2 Datasheet HTML 110Page - STMicroelectronics BLUENRG-2 Datasheet HTML 111Page - STMicroelectronics BLUENRG-2 Datasheet HTML 112Page - STMicroelectronics BLUENRG-2 Datasheet HTML 113Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 109 / 190 page
background image
BlueNRG-2
Functional details
DocID030675 Rev 2
109/190
Note: As a write can only program to ‘0’ on bits already set to ‘1’, it is necessary to erase
the page and request that the bits be set to ‘1’ (instead of ‘0’) in order to re-write to ‘0’.
WRITE sequence:
1.
Indicate the location to write by filling the ADDRESS register with the targeted address
(page, row and word number)
2.
Write the value to program in the DATA register.
3.
Write the WRITE command (0x33) in the COMMAND register.
4.
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
5.
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the IRQSTAT register.
6.
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt mode)
indicating that the command is completed.
7.
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the IRQSTAT register.
BURSTWRITE sequence:
1.
Indicate the location to write by filling the ADDRESS register with the targeted address
of the first data to write (page, row and word number). DATA0 will be written and
ADDRESS, DATA1 at ADDRESS+1 and so on. (Write the values to program in the
DATA0-3 registers. To write less than four words, write 0xFFFFFFFF in the unused
DATA1-3 registers.)
2.
Write the BURSTWRITE command (0xCC) in the COMMAND register.
3.
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
4.
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the IRQSTAT register.
5.
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt mode)
indicating that the command is completed.
6.
Clear the CMDDONE flag by writing CMDD
ONE to ‘1’ in the IRQSTAT register.
MASSWRITE sequence:
1.
Write the unique value to program in all the main Flash memory in the DATA register.
2.
Write the MASSWRITE command (0x44) in the COMMAND register.
3.
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
4.
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the IRQSTAT register.
5.
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt mode),
indicating that the command is completed.
6.
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the IRQSTAT register.
3.11.2.4
Flash readout protection
It is possible to protect flash memory from unwanted access while in debug mode, this is
normally used to avoid copy or reverse engineering of a deployed application in the market.
If the readout protection mechanism is activated, as soon as Cortex-M0 is halted, any
access to Flash memory will return a fixed 0x0 value and generate an AHB error if a
debugger tries to read it.
Note that RAM memory debug accesses are also disabled by this lock protection.
Enabling Readout protection:
1.
Program a secret 64 bit sequence in the last two word address of the user flash. The
secret 64 bit sequence can be anything different from 0xFFFFFFFF, 0xFFFFFFFF.



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