| 数据搜索系统,热门电子元器件搜索 |
|
ST6380 数据表(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6380 数据表(HTML) 41 Page - STMicroelectronics |
|
41 / 82 page ![]() 41/82 ST6380, ST6381, ST6382, ST6383, ST6388, ST6389 SERIAL PERIPHERAL INTERFACE (Cont’d) 4.3.4 STD SPI Protocol (Shift Register) This protocol is similar to the I2C BUS with the ex- ception that there is no acknowledge pulse and there are no stop or start bits. The clock cannot be slowed down by the external peripherals. In this case all three outputs should be high in or- der not to lock the software I/Os from functioning. SPI Standard Bus Protocol: The standard bus pro- tocol is selected by loading the SPI Control Regis- ter 1 (SCR1 Add. EBh). Bit 0 named I2C must be set at one and bit 1 named STD must be reset. When the standard bus protocol is selected bit 2 of the SCR1 is meaningless. This bit named STOP bit is used only in I2C BUS or SBUS. However take care that THE STOP BIT MUST BE RESET WHEN THE STANDARD PRO- TOCOL IS USED. This bit is set to ZERO after RE- SET. Figure 29. Software Bus (Hardware Bus Disabled) Timing Diagram 4.3.5 SPI Data/Control Register For I/O details on SCL (Serial Clock), SDA (Serial Data) and SEN (Serial Enable) please refer to I/O Ports description with reference to the following registers: Port C data register, Address C2h (Read/Write). - BIT D0 “SCL” - BIT D1 “SDA” - BIT D3 “SEN” Port C data direction register, Address C6h (Read/ Write). SPI Serial Data Register (SSDR) Address: CCh - Read/Write Reset Value: XXh SSDR7-0. These are the SPI data bits. They can be neither read nor written when SPI is operating (BUSY bit set). They are undefined after reset. VA00453 0 234 16 7 5 IDENT (was SEN, this is optionally controlled by software; output as far as hardware is concerned is high). CLOCK (was SCL) DATA (was SDA, TRANSMIT) DATA (was SDA, RECEIVE) 70 SSDR 7 SSDR 6 SSDR 5 SSDR 4 SSDR 3 SSDR 2 SSDR 1 SSDR 0 |
|
链接网址 |
| 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 |