| 数据搜索系统,热门电子元器件搜索 |
|
AS3977 数据表(PDF) 23 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3977 数据表(HTML) 23 Page - ams AG |
|
23 / 47 page ![]() www.austriamicrosystems.com/AS3977 Revision 3.6 23 - 47 AS3977 Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Figure 9. Writing of Data with Auto-Incrementing Address 9.2.4 Reading of Data from Addressable Registers By leaving the Power Down Mode through a rising edge of ENABLE, the level of CLK determines the sampling edge of CLK. If CLK is low, DATAI is sampled at the falling edge of CLK (see Figure 10 and Figure 11), if CLK is high when ENABLE rises, DATAI is sampled at the rising edge of CLK. Consequently, data to be read from the microcontroller are driven by the slave (AS3977) at the transfer edge and sampled by the master (µC) at the sampling edge of CLK. An Enable LOW pulse has to be performed after register data has been transferred in order to indicate the end of the READ command and prepare the Interface to the next command control Byte. The command control Byte for a read command consists of a command code and an address. The Command code has to be provided from least significant bit (LSB) to most significant bit (MSB), e.g. for a read it is <C0, C1> = “01”. After the command code, the address of register to be read has to be provided from the MSB to the LSB. Then one or more data bytes can be transferred from the SDI slave to the master, always from the MSB to the LSB. To transfer bytes from consecutive addresses, SDI master has to keep the SDI enable signal high and the SDI clock has to be active as long as data need to be read from the slave. Each bit of the command and address sections of the frame have to be driven by the SDI master on the SDI clock transfer edge and the SDI slave samples it on the next SDI clock edge. Each bit of the data section of the frame has to be driven by the SDI slave on the SDI clock transfer edge and the SDI master on the next SDI clock edge samples it. These edges are selected on the first access after PD and they cannot be changed until next PD. If the read access is interrupted (by de-asserting the SDI enable signal), data provided to the master is consistent to given address, but it is only the register content from MSB to LSB. If more SDI clock cycles are provided, data remains consistent and each data byte belongs to given or incremented address. In the following figures (Figure 10 and Figure 11), two examples for a read command (without and with address self-increment) are given. The initialization base for this timing diagram is a “LOW” on the CLK line during Initialization. 0 0 DATAIO CLK ENABLE D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 A 5 A 4 A 3 A 2 A 1 A 0 Data D7-D0 is moved to Address A5-A0+4 here Data D7-D0 is moved to Address A5- A0 here Data D7-D0 is moved to Address A5-A0+1 here Data D7-D0 is moved to Address A5-A0+2 here Data D7-D0 is moved to Address A5-A0+3 here Enable must be high in order to keep the power condition |
|
链接网址 |
| 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 |