Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN4035 Arkusz danych(PDF) 32 Page - STMicroelectronics

Numer części AN4035
Szczegółowy opis  Flash programming through
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4035 Arkusz danych(HTML) 32 Page - STMicroelectronics

Back Button AN4035 Datasheet HTML 28Page - STMicroelectronics AN4035 Datasheet HTML 29Page - STMicroelectronics AN4035 Datasheet HTML 30Page - STMicroelectronics AN4035 Datasheet HTML 31Page - STMicroelectronics AN4035 Datasheet HTML 32Page - STMicroelectronics AN4035 Datasheet HTML 33Page - STMicroelectronics AN4035 Datasheet HTML 34Page - STMicroelectronics AN4035 Datasheet HTML 35Page - STMicroelectronics AN4035 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 42 page
background image
Nexus Read/Write access block
AN4035
32/41
Doc ID 022669 Rev 2
4.2
Single memory write access
The steps to perform a single memory write access via the Nexus R/W access block are:
1.
Initialize RWA with the address to be written using Nexus register index 0x9.
2.
Initialize RWCS using Nexus register index 0x7.
a)
Access Control (AC) = 0b1 (to indicate start access)
b)
Map Select (MAP) = 0b000 (primary memory map)
c)
Access Priority (PR) = 0b00 (lowest priority)
d)
Read/Write (RW) = 0b1 (write access)
e)
Word Size (SZ) = 0b000 (8-bit) or 0b001 (16-bit) or 0b010 (32-bit)
f)
Access Count (CNT) = 0b00_0000_0000_0000 or 0b00_0000_0000_0001 (single
access)
g)
Burst Control (BST) = 0b0 (burst disabled)
3.
Initialize RWD using Nexus register index 0xA with the data to be written to the address
in RWA. The endianess of the data needs to be right-justified little endian.
- 8-bit value of 0xDE to be written to memory: RWD = 0x000000DE
- 16-bit value of 0xDEAD to be written to memory: RWD = 0x0000ADDE
- 32-bit value of 0xDEADBEEF to be written to memory: RWD = 0xEFBEADDE
4.
The Nexus block then arbitrates for the system bus and transfer the data value from
RWD to the memory mapped address in RWA. When the access has completed
without error, then RWCS[ERR] = 0 and RWCS[DV] = 0. This indicates that the device
is ready for the next access. Nexus also asserts the RDY pin when the transaction has
completed without error. The external tool can use this as an alternative to polling the
RWCS status bits.
4.3
Burst block memory write access
The steps to perform a burst block memory write access via the Nexus R/W access block
are:
1.
Initialize RWA with the first address to be written using Nexus register index 0x9. The
address needs to be aligned on an 8-byte boundary. RWA[2:0] are ignored on a burst
write.
2.
Initialize RWCS using Nexus register index 0x7.
a)
Access Control (AC) = 0b1 (to indicate start access)
b)
Map Select (MAP) = 0b000 (primary memory map)
c)
Access Priority (PR) = 0b00 (lowest priority)
d)
Read/Write (RW) = 0b1 (write access)
e)
Word Size (SZ) = 0b011 (64-bit)
f)
Access Count (CNT) = 0b00_0000_0000_0100 (four double-words)\
g)
Burst Control (BST) = 0b1 (burst enabled)
3.
Write all 32 bytes of data to be burst to RWD using Nexus register index 0xA, 32-bits at
a time, starting with the first 32-bit word to be written to the address in RWA. This data



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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