Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

DS83C320-WNL Scheda tecnica(PDF) 85 Page - Dallas Semiconductor

Il numero della parte DS83C320-WNL
Spiegazioni elettronici  High-Speed Microcontroller User Guide
PDF  175 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  DALLAS [Dallas Semiconductor]
Homepage  https://www.maximintegrated.com/en.html
Logo DALLAS - Dallas Semiconductor

DS83C320-WNL Scheda tecnica(HTML) 85 Page - Dallas Semiconductor

Back Button DS83C320-WNL Datasheet HTML 81Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 82Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 83Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 84Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 85Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 86Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 87Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 88Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 89Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 175 page
background image
High-Speed Microcontroller User’s Guide
85 of 175
DATA MEMORY ACCESS
As mentioned above, the High-Speed Microcontroller uses the MOVX instruction for data memory
access. This includes off-chip RAM and memory mapped peripherals needing read/write access. Several
aspects of the MOVX operation have been enhanced as compared to the original 8051. The principal
improvements are in the areas of the MOVX timing and the Data Pointer.
The MOVX instruction is used to generate read/write access to off-chip address locations. It has several
addressing modes. The first uses the MOVX @ Ri command to reach a 256 byte block, This instruction
uses the value in the designated working register to address one of 256 locations. The upper byte of the
address is supplied by the value in the Port 2 latch. A second way to access data is the Data Pointer
(DPTR). This 16-bit register provides an absolute address for data memory access. 16-bits cover the
entire 64KB area.
Thus the DPTR serves as a pointer to memory.
Using the DPTR, the relevant
instruction is MOVX @DPTR.
The original 8051 contained one DPTR. While this provides access to the entire memory area, it is
difficult to move data from one address to another. The High-Speed Microcontroller provides two Data
Pointers. Thus software can load both a source and a destination address. The MOVX instruction will
use the active pointer to direct the off-chip address.
The Data Pointers are called DPTR0 and DPTR1. DPTR0 is located at SFR addresses 82h and 83h.
These are the locations used by the original 8051. No modification of standard code is needed to use
DPTR0. The new DPTR is located at SFR 84h and 85h. The Data Pointer Select bit (SEL) chooses the
active pointer and is located at the LSb of the SFR location 86h. No other bits in register 86h have any
effect and are set to 0. When DPS is set to 0, the DPTR0 is active. When set to 1, DPTR1 is used.
The user switches between data pointers by toggling the SEL bit. The INC instruction is the fastest way
to accomplish this. All DPTR-related instructions use the currently selected DPTR for any activity.
Therefore only one instruction is required to switch from a source to a destination address. Using the
Dual Data Pointer saves code from needing to save source and destination addresses when doing a block
move. Once loaded, the software simply switches between DPTR0 and DPTR1. Sample code listed
below illustrates the saving from using the dual DPTR. The relevant register locations are summarized as
follows.
DPL
82h
Low byte original DPTR
DPH
83h
High byte original DPTR
DPL1 84h
Low byte new DPTR
DPH1 85h
High byte new DPTR
DPS
86h
DPTR Select (LSb)
The example program listed below was original code written for an 8051 and requires a total of 1869
machine cycles on the DS80C320. This takes 299
µs to execute at 25 MHz. The new code using the Dual
DPTR requires only 1097 machine cycles taking 175.5
µs. The Dual DPTR saves 772 machine cycles or
123.5
µs for a 64 byte block move. Since each pass through the loop saves 12 machine cycles when
compared to the single DPTR approach, larger blocks gain more efficiency using this feature.
A typical application of the Dual Data Pointer is moving data from an external RAM to a memory
mapped display. Another application would be to retrieve data from a stored table, process it using a
software algorithm, then store the result in a new table.



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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