mtc20136pq STMicroelectronics, mtc20136pq Datasheet - Page 18

no-image

mtc20136pq

Manufacturer Part Number
mtc20136pq
Description
Adsl Transceiver Controller
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mtc20136pq-I
Manufacturer:
ALCTEL
Quantity:
5 510
Part Number:
mtc20136pq-I
Manufacturer:
COPAL
Quantity:
5 510
MTC20136
Ctrl-E Semaphore
A simple semaphore mechanism is provided to allow control of the data consistency of the Ctrle-
DataBuffer. One mailbox address is defined as a two-bit semaphore register protected by control logic to
prevent unallowed write accesses to this register.
Before the databuffer is read or written by one of the two interfaces (ASB or Ctrl-E) this interface should
perform a ’P-operation’ on the semaphore. After a read or write of the databuffer the interface should do
a ’V-operation’ releasing the semaphore. P and V operations are performed by write and read accesses
to the semaphore register. The semaphore will be updated as shown in Table 5.
Each semaphore operation (P or V) consists of two consecutive actions that don’t have to be atomic :
a)Write the correct value to the semaphore address (see Table 5)
b)Read the value in the semaphore address.
If the value read is different from the value writen the P or V operation was not succesfull and should be
tried again.
Table 5. Semaphore P and V operations: new value after write by ASB or Ctrl-E
The databuffers can be accessed without using the semaphore mechanism if data consistency is guaran-
teed in another way. If other values are written to the semaphore address than the values listed the write
will not be performed.
Ctrl-E Physical Interface
Two parallel bus modes are defined to support both Motorola-compatible and Intel-compatible timing and
control signals. This interface specification is compliant to Utopia Level 2 Parallel Management Interface.
Selection of the Ctrl-E physical interface bus mode is done with the C_Mode[1:0] input pins :
Table 6. Bus mode selected with C_Mode[1:0] inputs
18/25
semaphore
operation
C_Mode[1]
P
V
0
0
1
1
originator
Ctrl-E
Ctrl-E
ASB
ASB
C_Mode[0]
0
1
1
0
value
write
01
11
00
00
b
b
b
b
semaphore
Motorola-type parallel interface
Intel-type parallel interface
Reserved
Reserved
free
00
01
11
00
00
b
b
b
b
b
previous semaphore value
semaphore
Description
taken by
ASB
01
01
01
00
01
b
b
b
b
b
Ctrl-E
11
11
11
11
00
b
b
b
b
b

Related parts for mtc20136pq