Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PC312XDP512F0CAL Datasheet(PDF) 205 Page - Freescale Semiconductor, Inc

Part # PC312XDP512F0CAL
Description  Covers, S12XD, S12XB & S12XA Families
PDF  1350 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

PC312XDP512F0CAL Datasheet(HTML) 205 Page - Freescale Semiconductor, Inc

Back Button PC312XDP512F0CAL Datasheet HTML 201Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 202Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 203Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 204Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 205Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 206Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 207Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 208Page - Freescale Semiconductor, Inc PC312XDP512F0CAL Datasheet HTML 209Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 205 / 1350 page
background image
Chapter 6 XGATE (S12XGATEV2)
MC9S12XDP512 Data Sheet, Rev. 2.17
Freescale Semiconductor
205
Figure 6-22 gives an example of the typical usage of the XGATE hardware semaphores.
Two concurrent threads are running on the system. One is running on the S12X_CPU and the other is
running on the RISC core. They both have a critical section of code that accesses the same system resource.
To guarantee that the system resource is only accessed by one thread at a time, the critical code sequence
must be embedded in a semaphore lock/release sequence as shown.
Figure 6-22. Algorithm for Locking and Releasing Semaphores
6.4.5
Software Error Detection
The XGATE module will immediately terminate program execution after detecting an error condition
caused by erratic application code. There are three error conditions:
•
Execution of an illegal opcode
•
Illegal vector or opcode fetches
•
Illegal load or store accesses
All opcodes which are not listed in section Section 6.8, “Instruction Set” are illegal opcodes. Illegal vector
and opcode fetches as well as illegal load and store accesses are defined on chip level. Refer to the
S12X_MMC Section for a detailed information.
SSEM
XGSEM
≡ %1?
XGSEM
⇒ %0
BCC?
%1
⇒ XGSEMx
CSEM
.........
.........
.........
.........
critical
code
sequence
critical
code
sequence
S12X_CPU
XGATE



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