công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

ST92124JDV1TC bảng dữ liệu(PDF) 49 Page - STMicroelectronics

tên linh kiện ST92124JDV1TC
Giải thích chi tiết về linh kiện  8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TM(EMULATED EEPROM), CAN 2.0B AND J1850 BLPD
Download  429 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST92124JDV1TC bảng dữ liệu(HTML) 49 Page - STMicroelectronics

Back Button ST92124JDV1TC Datasheet HTML 45Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 46Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 47Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 48Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 49Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 50Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 51Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 52Page - STMicroelectronics ST92124JDV1TC Datasheet HTML 53Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 429 page
background image
49/429
ST92F124/F150/F250 - DEVICE ARCHITECTURE
2.8 MMU USAGE
2.8.1 Normal Program Execution
Program memory is organized as a set of 64-
Kbyte segments. The program can span as many
segments as needed, but a procedure cannot
stretch across segment boundaries. jps, calls
and rets instructions, which automatically modify
the CSR, must be used to jump across segment
boundaries. Writing to the CSR is forbidden during
normal program execution because it is not syn-
chronized with the opcode fetch. This could result
in fetching the first byte of an instruction from one
memory segment and the second byte from anoth-
er. Writing to the CSR is allowed when it is not be-
ing used, i.e during an interrupt service routine if
ENCSR is reset.
Note that a routine must always be called in the
same way, i.e. either always with call or always
with calls, depending on whether the routine
ends with ret or rets. This means that if the rou-
tine is written without prior knowledge of the loca-
tion of other routines which call it, and all the pro-
gram code does not fit into a single 64-Kbyte seg-
ment, then calls/rets should be used.
In typical microcontroller applications, less than 64
Kbytes of RAM are used, so the four Data space
pages are normally sufficient, and no change of
DPR[3:0] is needed during Program execution. It
may be useful however to map part of the ROM
into the data space if it contains strings, tables, bit
maps, etc.
If there is to be frequent use of paging, the user
can set bit 5 (DPRREM) in register R246 (EMR2)
of Page 21. This swaps the location of registers
DPR[3:0] with that of the data registers of Ports 0-
3. In this way, DPR registers can be accessed
without the need to save/set/restore the Page
Pointer Register. Port registers are therefore
moved to page 21. Applications that require a lot of
paging typically use more than 64 Kbytes of exter-
nal memory, and as ports 0, 1 and 9 are required
to address it, their data registers are unused.
2.8.2 Interrupts
The ISR register has been created so that the in-
terrupt routines may be found by means of the
same vector table even after a segment jump/call.
When an interrupt occurs, the CPU behaves in
one of 2 ways, depending on the value of the ENC-
SR bit in the EMR2 register (R246 on Page 21).
If this bit is reset (default condition), the CPU
works in original ST9 compatibility mode. For the
duration of the interrupt service routine, the ISR is
used instead of the CSR, and the interrupt stack
frame is kept exactly as in the original ST9 (only
the PC and flags are pushed). This avoids the
need to save the CSR on the stack in the case of
an interrupt, ensuring a fast interrupt response
time. The drawback is that it is not possible for an
interrupt service routine to perform segment
calls
/jps: these instructions would update the
CSR, which, in this case, is not used (ISR is used
instead). The code size of all interrupt service rou-
tines is thus limited to 64 Kbytes.
If, instead, bit 6 of the EMR2 register is set, the
ISR is used only to point to the interrupt vector ta-
ble and to initialize the CSR at the beginning of the
interrupt service routine: the old CSR is pushed
onto the stack together with the PC and the flags,
and then the CSR is loaded with the ISR. In this
case, an iret will also restore the CSR from the
stack. This approach lets interrupt service routines
access the whole 4-Mbyte address space. The
drawback is that the interrupt response time is
slightly increased, because of the need to also
save the CSR on the stack. Compatibility with the
original ST9 is also lost in this case, because the
interrupt stack frame is different; this difference,
however, would not be noticeable for a vast major-
ity of programs.
Data memory mapping is independent of the value
of bit 6 of the EMR2 register, and remains the
same as for normal code execution: the stack is
the same as that used by the main program, as in
the ST9. If the interrupt service routine needs to
access additional Data memory, it must save one
(or more) of the DPRs, load it with the needed
memory page and restore it before completion.
2.8.3 DMA
Depending on the PS bit in the DAPR register (see
DMA chapter) DMA uses either the ISR or the
DMASR for memory accesses: this guarantees
that a DMA will always find its memory seg-
ment(s), no matter what segment changes the ap-
plication has performed. Unlike interrupts, DMA
transactions cannot save/restore paging registers,
so a dedicated segment register (DMASR) has
been created. Having only one register of this kind
means that all DMA accesses should be pro-
grammed in one of the two following segments:
the one pointed to by the ISR (when the PS bit of
the DAPR register is reset), and the one refer-
enced by the DMASR (when the PS bit is set).
9


Số phần tương tự - ST92124JDV1TC

nhà sản xuấttên linh kiệnbảng dữ liệuGiải thích chi tiết về linh kiện
logo
STMicroelectronics
ST92124JDV1TC STMICROELECTRONICS-ST92124JDV1TC Datasheet
3Mb / 426P
   8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TMEMULATED EEPROM, CAN 2.0B AND J1850 BLPD
More results

Mô tả tương tự - ST92124JDV1TC

nhà sản xuấttên linh kiệnbảng dữ liệuGiải thích chi tiết về linh kiện
logo
STMicroelectronics
ST92F124 STMICROELECTRONICS-ST92F124 Datasheet
3Mb / 426P
   8/16-BIT SINGLE VOLTAGE FLASH MCU FAMILY WITH RAM, E3 TMEMULATED EEPROM, CAN 2.0B AND J1850 BLPD
ST92F120 STMICROELECTRONICS-ST92F120 Datasheet
1Mb / 320P
   8/16-BIT FLASH MCU FAMILY WITH RAM, EEPROM AND J1850 BLPD
ST92F120V9 STMICROELECTRONICS-ST92F120V9 Datasheet
3Mb / 324P
   8/16-BIT FLASH MCU FAMILY WITH RAM, EEPROM AND J1850 BLPD
September 2002 Rev. 2.6
logo
ATMEL Corporation
T89C51CC01 ATMEL-T89C51CC01 Datasheet
1Mb / 146P
   Enhanced 8-bit MCU with CAN controller and Flash
logo
STMicroelectronics
ST7FOXA0 STMICROELECTRONICS-ST7FOXA0 Datasheet
1Mb / 123P
   8-bit MCU with single voltage Flash memory
February 2008 Rev 3
logo
Holtek Semiconductor In...
HT66F016 HOLTEK-HT66F016 Datasheet
1Mb / 116P
   Enhanced Flash Type 8-Bit MCU with EEPROM
HT66F30-1 HOLTEK-HT66F30-1 Datasheet
7Mb / 196P
   Enhanced Flash Type 8-Bit MCU with EEPROM
logo
STMicroelectronics
ST10F271B STMICROELECTRONICS-ST10F271B Datasheet
1Mb / 180P
   16-bit MCU with 128 Kbyte Flash memory and 8/12 Kbyte RAM
logo
Holtek Semiconductor In...
HT68F016 HOLTEK-HT68F016 Datasheet
1Mb / 116P
   Enhanced Flash Type 8-Bit MCU with EEPROM
logo
STMicroelectronics
ST7LITE49M STMICROELECTRONICS-ST7LITE49M Datasheet
1Mb / 188P
   8-bit MCU with single voltage Flash memory data EEPROM, ADC, 8/12-bit timers, and I짼C interface
More results


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


bảng dữ liệu tải về

Go To PDF Page


Link URL




Chính sách bảo mật
ALLDATASHEET.VN
Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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