| поискавой системы для электроныых деталей |
|
AN4035 датащи(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4035 датащи(HTML) 33 Page - STMicroelectronics |
|
33 / 42 page ![]() AN4035 Nexus Read/Write access block Doc ID 022669 Rev 2 33/41 is buffered internally by the burst data buffer. The endianess of the 32-bit data written to RWD needs to be little endian. -Value of 0xDEADBEEF to be written to memory: RWD = 0xEFBEADDE 4. The Nexus block then arbitrates for the system bus and transfer the burst data from the burst data buffer to the memory starting at the 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.4 Single memory read access The steps to perform a single memory read access via the Nexus R/W access block are: 1. Initialize RWA with the address to be read using the register index 0x9. a) Initialize RWCS using Nexus register index 0x7. b) Access Control (AC) = 0b1 (to indicate start access) c) Map Select (MAP) = 0b000 (primary memory map) d) Access Priority (PR) = 0b00 (lowest priority) e) Read/Write (RW) = 0 (read access) f) Word Size (SZ) = 0b000 (8-bit) or 0b001 (16-bit) or 0b010 (32-bit) g) Access Count (CNT) = 0b00_0000_0000_0000 or 0b00_0000_0000_0001 (single access) h) Burst Control (BST) = 0b0 (burst disabled) 2. The Nexus block then arbitrates for the system bus and the read data is transferred to RWD from the memory mapped address in RWA. When the access has completed without error, then RWCS[ERR] = 0 and RWCS[DV] = 1. 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. 3. The data can then be read from the RWD register using Nexus register index 0xA. The data in RWD are right-justified little endian. - 8-bit value of 0xDE read from memory: RWD = 0x000000DE - 16-bit value of 0xDEAD read from memory: RWD = 0x0000ADDE - 32-bit value of 0xDEADBEEF read from memory: RWD = 0xEFBEADDE |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |