| 数据搜索系统,热门电子元器件搜索 |
|
PC87570-ICC/VUL 数据表(PDF) 105 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87570-ICC/VUL 数据表(HTML) 105 Page - National Semiconductor (TI) |
|
105 / 168 page ![]() ACCESS.bus (ACB) Interface 105 www.national.com Where tCLK is the PC87570 clock cycle when in Active mode (see Clock Output Signals in Table 19-9 on page 138). SCLFRQ may be programmed to values in the range of 00010002 (810) through 11111112 (12710). Using any other value has unpredictable results. 13.5 USAGE HINTS 1. When the ACB is disabled, the ACBCST.BB bit is cleared. After enabling the ACB (ACBCTL2.ENABLE is set to 1) in systems with more than one master, the bus may be in the middle of a transaction with another de- vice, which is not reflected by BB. To prevent bus errors, the ACB must synchronize with the bus activity status before issuing a request to be- come 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 peri- od. 2. When waking up from power-down before checking ACBCST.MATCH, use ACBCST.BUSY to make sure that the address transaction is completed. 3. The BB bit is intended to solve a deadlock in which two or more devices detect a usage conflict on the bus and both cease being bus masters at the same time. In this situation, the BB bits of both devices are active (because each “detects” another master currently per- forming a transaction, while in fact there is none), poten- tially causing the bus to stay locked until some device sends a ACBCTL1.STOP condition. The ACBCST.BB bit allows the software to monitor bus usage so that it can detect whether the bus remains un- used over a certain period of time, while the BB bit is set. It also avoids sending a STOP signal in the middle of the transaction of some other device on the bus. 4. In some cases, the bus may get stuck with the SCL and/or SDA lines active, such as when an erroneous Start or Stop Condition occurs in the middle of a slave receive session. If the SCL line is stuck active, the mod- ule that holds the bus must release it. If the SDA line is stuck active, you can use the sequence below to release the bus. Note: In normal cases, SCL may be toggled only by the bus master. This sequence is a recovery scheme which is an exception. Use it only if there is no other master on the bus. a. Disable and re-enable the module to set it for the slave mode not addressed. b. Set the ACBCTL1.START bit to attempt to issue a Start Condition. c. Check if the SDA line is active (low) by reading ACBCST.TSDA bit. If yes, issue a single SCL cycle by writing 1 to ACBCST.TGSCL bit. If the SDA line is not active, skip to step e. d. Check if ACBST.MASTER is set, which indicates that the Start Condition was sent. If not, repeat step c and d until the SDA is released. a. Clear the BB bit. This enables the START bit to be executed. Continue according to “Bus Idle Error Re- covery” on page 101. |
|
链接网址 |
| 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 |