CR16MCS9VJE8 National Semiconductor, CR16MCS9VJE8 Datasheet - Page 84

16-Bit Microcontroller IC

CR16MCS9VJE8

Manufacturer Part Number
CR16MCS9VJE8
Description
16-Bit Microcontroller IC
Manufacturer
National Semiconductor
Datasheet

Specifications of CR16MCS9VJE8

Controller Family/series
CR16X
Core Size
16 Bit
Program Memory Size
64K X 8 Flash
Digital Ic Case Style
PQFP
No. Of Pins
80
Mounting Type
Surface Mount
Clock Frequency
25MHz
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CR16MCS9VJE8
Manufacturer:
ON
Quantity:
8 917
Part Number:
CR16MCS9VJE8-CBB
Manufacturer:
ON
Quantity:
846
Part Number:
CR16MCS9VJE8-CBC
Manufacturer:
ON
Quantity:
109
Part Number:
CR16MCS9VJE8-CBD
Manufacturer:
ON
Quantity:
17
Part Number:
CR16MCS9VJE8-CBE
Manufacturer:
ON
Quantity:
1 950
www.national.com
19.3.6
ACB Own Address Register (ACBADDR) is a byte-wide,
read/write register that holds the module’s ACCESS.bus ad-
dress. Reset value is undefined.
ADDR
SAEN
19.4
1. When the ACB is disabled the ACBCST.BB bit is
2. When waking up from power down, before checking
3. The BB bit is intended to solve a deadlock in which two,
cleared. After enabling the ACB (ACBCTL2.ENABLE is
set to 1) in systems with more then one master, the bus
may be in the middle of a transaction with another de-
vice, which is not reflected by BB.
There is a need to allow the ACB to synchronize to the
bus activity status before issuing a request to become
the bus master, to prevent bus errors. Thus, before issu-
ing a request to become the bus master for the first time,
the software should check that there is no activity on the
bus by checking the BB bit after the bus allowed time-out
period.
ACBCST.MATCH, use ACBCST.BUSY to make sure
that the address transaction is over.
or more, devices detect a usage conflict on the bus and
both devices cease being bus masters at the same time.
In this situation, the BB bits of both devices are active
(because each deduces that there is another master
currently performing a transaction, while in fact no de-
vice is executing a transaction), and the bus would stay
locked until some device sends a ACBCTL1.STOP con-
dition.
The ACBCST.BB bit allows the software to monitor bus
usage, so it can avoid sending a STOP signal in the mid-
dle of the transaction of some other device on the bus.
This bit detects whether the bus remains unused over a
certain period, while the BB bit is set.
SAEN
7
ACB Own Address Register (ACBADDR)
USAGE HINTS
vice serves as a bus master. The clock low time
and high time are defined as follows:
Where t
Active mode.
SCLFRQ may be programmed to values in the
range of 0001000
(127
able results.
Own Address. Holds the 7-bit ACCESS.bus
address of this device. When in slave mode,
the first seven bits received after a Start Condi-
tion are compared to this field (first bit received
to bit-6, and the last to bit-0). If the address field
matches the received data and SAEN is set, a
match is declared.
Slave Address Enable. When set SAEN indi-
cates that the ADDR field holds a valid address
and enables the match of ADDR to an incom-
ing address byte. When cleared, the ACB does
not check for an address match.
t
SCLl
10
= t
6
). Using any other value has unpredict-
CLK
SCLh
is this device’s clock cycle when in
= 2*SCLFRQ*t
2
(8
ADDR
10
) through 1111111
CLK
0
2
84
4. In some cases the bus may get stuck with the SCL and/
or SDA lines active. A possible cause to this is an erro-
neous Start or Stop Conditions that occur in the middle
of a slave receive session.
When the SCL line is stuck active, there is nothing that
can be done, and it is the responsibility of the module
that holds the bus to release it.
In case of SDA line is stuck active, the ACB module en-
able the release of the bus by using the following se-
quence. Note that in normal cases SCL may be toggled
only by the bus master. This protocol is a recovery
scheme which is an exception that should be used only
in the case where there is no other master on the bus.
The recovery scheme is as follows:
a. Disable and re-enable the module to set it into the
b Set the ACBCTL1.START bit to make an attempt to
c. Check if the SDA line is active (low) by reading
d. Check if ACBST.MASTER is set, which indicates
e. Clear the BB bit. This enables the START bit to be
not addressed slave mode.
issue a Start Condition.
ACBCST.TSDA bit. If it is active, issue a single SCL
cycle by writing 1 to ACBCST.TGSCL bit. If the SDA
line is not active, continue from step ‘e’.
that the Start Condition was sent. If not, repeat step
c and d until the SDA is released.
executed. Continue according to “Bus Idle Error Re-
covery” on page 81.

Related parts for CR16MCS9VJE8