| 数据搜索系统,热门电子元器件搜索 |
|
PC87570-ICC/VUL 数据表(PDF) 102 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87570-ICC/VUL 数据表(HTML) 102 Page - National Semiconductor (TI) |
|
102 / 168 page ![]() ACCESS.bus (ACB) Interface 102 www.national.com If an address match, or a global match, is detected: q The PC87570 asserts its SDA pin during the acknowl- edge cycle q The ACBCST.MATCH and ACBST.NMATCH bits are set. If ACBST.XMIT=1 (i.e., Slave Transmit mode) ACBST.SDAST is set to indicate that the buffer is empty. q If ACBCTL1.INTEN is set, an interrupt is generated if both the ACBCTL1.INTEN and ACBCTL1.NMINTE bits are set. q The software then reads the ACBST.XMIT bit to iden- tify the direction requested by the master device. It clears the ACBST.NMATCH bit so future byte transfers are identified as data bytes. Slave Receive and Transmit Slave Receive and Transmit are performed after a match is detected and the data transfer direction is identified. After a byte transfer the ACB module extends the acknowledge clock until the software reads or writes the ACBSDA regis- ter. The receive and transmit sequences are identical to those used in the master routine. Slave Bus Stall When operating as a slave, the PC87570 stalls the AC- CESS.bus by extending the first clock cycle of a transaction in the following cases: q ACBST.SDAST is set. q ACBST.NMATCH, and ACBCTL1.NMINTE are set. Slave Error Detection The ACB detects illegal Start and Stop Conditions on the ACCESS.bus (i.e., a Start or Stop Condition within the data transfer or the acknowledge cycle). When an illegal Start or Stop Condition is detected, the BER bit is set and MATCH and GMATCH are cleared, setting the module to be an un- addressed slave. 13.3.3 Power-Down When the PC87570 is in Idle mode, the ACB module is not active but retains its status. If the ACB is enabled (ACBCTL2.ENABLE=1), on detection of a Start Condition, a wake-up signal is issued to the MIWU. This signal may be used to switch the PC87570 to Active mode. The ACB module can not check the address byte, following the start condition that woke up the PC87570, for a match. The ACB responds with a negative acknowledge, and the device should re-send both the Start Condition and the ad- dress after the PC87570 has had time to wake up. Check that the ACBCST.BUSY bit is inactive before enter- ing Power Save or Idle mode. This guarantees that the PC87570 does not acknowledge an address sent, and stops responding later. 13.3.4 SDA and SCL Pin Configuration The SDA and SCL are open collector signals. The PC87570 permits the user to define whether to enable or disable these signals. SDA and SCl are enabled with internal weak pull-up, as shown in Table 19-7 on page 135. For more in- formation about configuring these pins, see Table 2-5 on page 27. 13.3.5 ACB Clock Frequency Configuration The ACB module permits the user to set the clock frequency used for the ACCESS.bus clock. The clock is set by the ACBCTL2.SCLFRQ field. This field determines the SCL clock period used by the PC87570. This clock low period may be extended by stall periods initiated by the ACB mod- ule or by another ACCESS.bus device. In case of a conflict with another bus master, a shorter clock high period may be forced by the other bus master until the conflict is resolved. 13.4 ACB REGISTERS 13.4.1 ACB Serial Data Register (ACBSDA) The ACBSDA Register is a byte-wide, read/write shift regis- ter 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 ACB- SDA register is allowed only when ACBST.SDAST is set, or when for repeated starts after setting the START bit. An at- tempt to access the register in other cases may produce un- predictable results. 13.4.2 ACB Status Register (ACBST) The ACBST Register is a byte-wide, read-only register. Some of its bits may be cleared by software, as described below. This register maintains current ACB status. Upon re- set, and when the module is disabled, ACBST is cleared (00h). Bit 0 - Transmit Mode (XMIT) This bit is set when the ACB module is currently in mas- ter/slave transmit mode. Otherwise it is cleared. Bit 1 - Master Mode (MASTER) When set, this bit indicates that the module is currently in Master mode. It is set when a request for bus master- ship succeeds. It is cleared on arbitration loss (BER is set) or the recognition of a Stop Condition. BIt 2 - New Match (NMATCH) This bit is set when the address byte following a Start Condition, or repeated start, causes a match or a global- call match. NMATCH is cleared when writing 1 to it. Writing 0 to NMATCH is ignored. If ACBCTL1.INTEN is set, an interrupt is sent when this bit is set. 7 0 DATA 7654 SLVSTP SDAST BER NEGACK 3210 STASTR NMATCH MASTER XMIT |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |