S912XEP100J5MAGR Freescale Semiconductor, S912XEP100J5MAGR Datasheet - Page 379

no-image

S912XEP100J5MAGR

Manufacturer Part Number
S912XEP100J5MAGR
Description
S912XEP Series 16 Bit 50 Mhz 1 MB Flash 64 KB Ram Microcontroller - LQFP-144
Manufacturer
Freescale Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S912XEP100J5MAGR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Figure 10-25
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.
Freescale Semiconductor
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
set_xgsem: 1 is written to XGSEM[n] (and 1 is written to XGSEMM[n])
clr_xgsem: 0 is written to XGSEM[n] (and 1 is written to XGSEMM[n])
ssem:
csem:
gives an example of the typical usage of the XGATE hardware semaphores.
LOCKED BY
clr_xgsem
Executing SSEM instruction (on semaphore n)
Executing CSEM instruction (on semaphore n)
S12X_CPU
ssem &
set_xgsem
Figure 10-24. Semaphore State Transitions
MC9S12XE-Family Reference Manual Rev. 1.23
clr_xgsem
ssem & set_xgsem
UNLOCKED
csem
ssem
LOCKED BY
XGATE
csem
Chapter 10 XGATE (S12XGATEV3)
379

Related parts for S912XEP100J5MAGR