English
Language : 

CP3BT23 Datasheet, PDF (172/260 Pages) Texas Instruments – CP3BT23 Reprogrammable Connectivity Processor with Bluetooth and Dual CAN Interfaces
INTEN
ACK
GCMEN
NMINTE
STASTRE
The Interrupt Enable bit controls generating 23.3.5 ACB Control Register 2 (ACBCTL2)
ACB interrupts. When the INTEN bit is cleared
ACB interrupt is disabled. When the INTEN bit
is set, interrupts are enabled.
0 – ACB interrupts disabled.
The ACBCTL2 register is a byte-wide, read/write register
that controls the module and selects the ACB clock rate. At
reset, the ACBCTL2 register is cleared.
1 – ACB interrupts enabled.
An interrupt is generated (the interrupt signals 7
1
0
to the ICU is high) on any of the following
events:
SCLFRQ6:0
ENABLE
! An address MATCH is detected (ACB-
ST.NMATCH = 1) and the NMINTE bit is ENABLE The Enable bit controls the ACB module.
set.
When this bit is set, the ACB module is en-
! A Bus Error occurs (ACBST.BERR = 1).
abled. When the Enable bit is clear, the ACB
! Negative acknowledge after sending a
module is disabled, the ACBCTL1, ACBST,
byte (ACBST.NEGACK = 1).
and ACBCST registers are cleared, and the
! An interrupt is generated on acknowledge
of each transaction (same as hardware
setting the ACBST.SDAST bit).
! If ACBCTL1.STASTRE = 1, in master
mode after a successful start
(ACBST.STASTR = 1).
! Detection of a Stop Condition while in
slave receive mode (ACBST.SLVSTP = 1).
te The Acknowledge bit holds the value this de-
vice sends in master or slave mode during the
next acknowledge cycle. Setting this bit to 1
instructs the transmitting device to stop send-
ing data, since the receiver either does not
need, or cannot receive, any more data. This
le bit is cleared after the first acknowledge cycle.
This bit is ignored when in transmit mode.
The Global Call Match Enable bit enables the
match of an incoming address byte to the gen-
eral call address (Start Condition followed by
address byte of 00h) while the ACB is in slave
o mode. When cleared, the ACB does not re-
spond to a global call.
0 – Global call matching disabled.
1 – Global call matching enabled.
s The New Match Interrupt Enable controls
whether ACB interrupts are generated on new
matches. Set the NMINTE bit to enable the in-
terrupt on a new match (i.e., when ACB-
b ST.NMATCH is set). The interrupt is issued
only if the ACBCTL1.INTEN bit is set.
0 – New match interrupts disabled.
1 – New match interrupts enabled.
The Stall After Start Enable bit enables the
Ostall after start mechanism. When enabled,
SCLFRQ
clocks are halted.
0 – ACB module disabled.
1 – ACB module enabled.
The SCL Frequency field specifies the SCL
period (low time and high time) in master
mode. The clock low time and high time are
defined as follows:
tSCLl = tSCLh = 2 × SCLFRQ × tCLK
Where tCLK is this device’s clock period when
in Active mode. The SCLFRQ field may be
programmed to values in the range of
0001000b through 1111111b. Using any other
value has unpredictable results.
23.3.6 ACB Control Register 3 (ACBCTL3)
The ACBCTL3 register is a byte-wide, read/write register
that expands the clock prescaler field and enables ARP
matches. At reset, the ACBCTL3 register is cleared.
7
3
2
1
0
Reserved
ARPMEN SCLFRQ8:7
ARPMEN
SCLFRQ
The ARP Match Enable bit enables the
matching of an incoming address byte to the
SMBus ARP address 110 0001b general call
address (Start condition followed by address
byte of 00h), while the ACB is in slave mode.
0 – ACB does not respond to ARP address-
es.
1 – ARP address matching enabled.
The SCL Frequency field specifies the SCL
period (low time and high time) in master
the ACB is stalled after the address byte.
mode. The ACBCTL3 register provides a 2-bit
When the STASTRE bit is clear, the ACB-
expansion of this field, with the remaining 7
ST.STASTR bit is always clear.
bits being held in the ACBCTL2 register.
0 – No stall after start.
1 – Stall-after-start enabled.
171
www.national.com