CR16MCS5VJI8 Datasheet

  • CR16MCS5VJI8

  • Family of 16-bit CAN-enabled CompactRISC Microcontrollers

  • 713.21KB

  • 156页

  • NSC

扫码查看芯片数据手册

上传产品规格书

PDF预览

19.3
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
ACB REGISTERS
BER
ACB Serial Data Register (ACBSDA)
ACB Status Register (ACBST)
ACB Status Control Register (ACBCST)
ACB Control 1 Register (ACBCTL1)
ACB Control 2 Register (ACBCTL2)
ACB Own Address Register (ACBADDR)
ACB Serial Data Register (ACBSDA)
SDAST
The ACCESS.bus Interface uses the following registers:
19.3.1
The ACB Serial Data Register (ACBSDA) is a byte-wide,
read/write shift register used to transmit and receive data.
The most significant bit is transmitted (received) first and the
least significant bit is transmitted (received) last. Reading or
writing to the ACBSDA register is allowed when ACB-
ST.SDAST is set; or for repeated starts after setting the
START bit. An attempt to access the register in other cases
produces unpredictable results.
7
DATA
19.3.2
ACB Status Register (ACBST)
0
SLVSTP
The ACB Status Register (ACBST) is a byte-wide, read-only
register that maintains current ACB status. Upon reset, and
when the module is disabled, ACBST is cleared (00
16
).
7
SLVST
P
6
5
4
3
2
NMATC
H
1
MASTER
0
cleared when the module is disabled. Writing 0
to NEGACK is ignored.
Bus Error. BER is set by the hardware when a
Start or Stop Condition is detected during data
transfer (i.e., Start or Stop Condition during the
transfer of bits 2 through 8 and acknowledge
cycle), or when an arbitration problem is de-
tected. Writing 1 to BER clears it. It is also
cleared when the module is disabled. Writing 0
to BER is ignored.
SDA Status. When set, this bit indicates that
the SDA data register is waiting for data (trans-
mit - master or slave) or holds data that should
be read (receive - master or slave). This bit is
cleared when reading from the ACBSDA regis-
ter during a receive, or when written to during a
transmit. When ACBCTL1.START is set, read-
ing ACBSDA register does not clear SDAST.
This enables the ACB to send a repeated start
in master receive mode.
Slave Stop. If set, SLVSTP indicates that a
Stop Condition was detected after a slave
transfer (i.e., after a slave transfer in which
MATCH or GCMATCH is set). Writing 1 to
SLVSTP clears it. It is also cleared when the
module is disabled. Writing 0 to SLVSTP is ig-
nored.
ACB Control Status Register (ACBCST)
19.3.3
XMIT
SDAST BER NEGACK STASTR
XMIT
MASTER
NMATCH
STASTR
NEGACK
Direction Bit. The XMIT bit is set when the ACB
module is currently in master/slave transmit
mode. Otherwise it is cleared.
MASTER. When set, the MASTER bit indicates
that the module is currently in master mode. It
is set when a request for bus mastership suc-
ceeds. It is cleared upon arbitration loss (BER
is set) or the recognition of a Stop Condition.
New match. The NMATCH bit is set when the
address byte following a Start Condition, or re-
peated starts, causes a match or a global-call
match. NMATCH is cleared when 1 is written to
it. Writing 0 to NMATCH is ignored. If
ACBCTL1.INTEN is set, an interrupt is sent
when this bit is set.
Stall After Start. The STASTR bit is set by the
successful completion of an address sending
(i.e., a Start Condition sent without a bus error,
or negative acknowledge) if ACBCTL1.STAS-
TRE is set. This bit is ignored in slave mode.
When STASTR is set, it stalls the ACCESS.bus
by pulling down the SCL line, and suspends
any other action on the bus (e.g., receives first
byte in master receive mode). In addition, if
ACBCTL1.INTEN is set, it also sends an inter-
rupt to the core. Writing 1 to STASTR clears it.
It is also cleared when the module is disabled.
Writing 0 to STASTR has no effect.
Negative acknowledge. This bit is set by hard-
ware when a transmission is not acknowledged
on the ninth clock. (In this case SDAST is not
set.) Writing 1 to NEGACK clears it. It is also
ACB Control Status Register (ACBCST) is a byte-wide, read/
write register that maintains current ACB status. Upon reset
and when the module is disabled, the non-reserved bits of
ACBCST are cleared (0).
7
6
5
TGSCL
4
TSDA
3
2
1
BB
0
BUSY
Reserved
GCMTCH MATCH
BUSY
BB
BUSY. When BUSY is set, it indicates that the
ACB module is:
鈥?/div>
Generating a Start Condition
鈥?/div>
In Master mode (ACBST.MASTER is set)
鈥?/div>
In Slave mode (ACBCST.MATCH or
ACBCST.GCMTCH is set)
鈥?/div>
In the period between detecting a Start and
completing the reception of the address
byte. After this, the ACB either becomes
not busy or enters slave mode.
The BUSY bit is cleared by the completion of
any of the above states, and by disabling the
module. BUSY is a read only bit. It should al-
ways be written with 0.
Bus Busy When set, BB indicates the bus is
busy. It is set when the bus is active (i.e., a low
level on either SDA or SCL), or by a Start Con-
dition. It is cleared when the module is dis-
abled, upon detection of a Stop Condition, or
when writing 1 to this bit. See 鈥淯sage Hints鈥?on
page 84 for a description of the use of this bit.
This bit should be set when either SDA or SCL
are low. This should be done by sampling the
SDA and SCL lines continuously and, setting
the bit if one of them is low. The bit remains set
www.national.com
82

CR16MCS5VJI8相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    TAD THICK FILM CHIP RESISTORS
    ETC
  • 英文版
    TAD THICK FILM CHIP RESISTORS
    ETC [ETC]
  • 英文版
    Current Regulator Diodes
    VISHAY
  • 英文版
    Current Regulator Diodes
    VISAY [Vis...
  • 英文版
    FIXED CARBON FILM RESISTORS
    ABCO
  • 英文版
    Manganese Dioxide Lithium Coin Batteries
    ETC
  • 英文版
    Manganese Dioxide Lithium Coin Batteries
    ETC [ETC]
  • 英文版
    LITHIUM MANGANESE DIOXIDE BATTERY
    SONY
  • 英文版
    LITHIUM MANGANESE DIOXIDE BATTERY
    SONY [Sony...
  • 英文版
    Energizer [3.0 Volts 1.8 grams (0.06 oz.) 0.5 cubic centime...
    ENERGIZER
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE ...
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE ...
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE
  • 英文版
    Bi-directional Glass passivated junction
    LITTELFUSE ...
  • 英文版
    Rectifiers, General Purpose
    CENTRAL
  • 英文版
    Rectifiers, General Purpose
    CENTRAL
  • 英文版
    Rectifiers, General Purpose
    CENTRAL
  • 英文版
    Family of 16-bit CAN-enabled CompactRISC Microcontrollers
    NSC

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!