| Electronic Components Datasheet Search |
|
AS3911B Datasheet(PDF) 42 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3911B Datasheet(HTML) 42 Page - ams AG |
|
42 / 155 page ![]() AS3911B – 42 ams Datasheet: 2014-Jun-12 [v1-08] A p pl i c at io n I n f o r m at i o n Reading of Data from Addressable Registers (Read Mode) After the SPI operation mode bits the address of register to be read has to be provided from the MSB to the LSB. Then one or more data bytes are transferred to MISO output, always from the MSB to the LSB. As in case of the write mode also the read mode supports auto-incrementing address. MOSI is sampled at the falling edge of SCLK (like shown in the following diagrams), data to be read from the AS3911B internal register is driven to MISO pin on rising edge of SCLK and is sampled by the master at the falling edge of SCLK. In case the register on defined address does not exist all 0 data is sent to MISO. Figure 26 provides an example for reading of single byte. Figure 26: SPI Communication: Reading of Single Byte Loading Transmitting Data into FIFO Loading the transmitting data into the FIFO is similar to writing data into an addressable registers. Difference is that in case of loading more bytes all bytes go to the FIFO. SPI operation mode bits 10 indicate FIFO operations. In case of loading transmitting data into FIFO all bits <C5 – C0> are set to 0. Then a bit-stream, the data to be sent (1 to 96 bytes), can be transferred. In case the command is terminated by putting /SS high before a packet of 8 bits composing one byte is sent, writing of that particular byte in FIFO is not performed. Figure 27 shows how to load the Transmitting Data into the FIFO. 01 A 5 A 4 A 3 A 2 A 1 A 0 X X SC LK risin g ed ge D a ta is mo ved from A ddress <A 5 -A 0 > /S S risin g e dg e signals end of R E A D Mod e T w o lea din g bits ind ica te Mo de D 4 D 3 D 2 D 1 D 0 D 7 D 6 trista te trista te SC L K rising edge D ata is tran sfered from µ C S C L K fa lling edge D ata is sa m ple d S C LK fallin g ed ge D ata is tran sfe re d to µ C D 5 /S S SC L K MO S I MIS O |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |