| Electronic Components Datasheet Search |
|
AS8506 Datasheet(PDF) 43 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS8506 Datasheet(HTML) 43 Page - ams AG |
|
43 / 89 page ![]() ams Datasheet, Confidential:2013-Sep [1-00] AS8506 – 43 Devic e I n te r f ac e In case of SPI block read operation, first data byte is read from addressed register same as single byte read operation. After first data byte read, Master can read next consecutive addressed data by keeping CS ‘Low’ and giving clock on SCLK as per clock polarity selection. At the end of every eighth data bit, the address pointer is incremented to next consecutive address location. In this way Master can continue reading from consecutive register address locations. The waveform is shown in Figure 37. Figure 37: SPI Block Read Operation with Negative Clock Polarity Address Allocation Process During the system configuration the microcontroller has to allocate a unique address to each of the AS8506 devices including the Master to communicate with SPI3. The microcontroller before initiating the address allocation process, it writes top most device address into allcd_dev_add_reg of the Master through 4-wire SPI. The microcontroller can initiate the address allocation process by writing ‘100’ command code and setting D0 to 1 in spi3_cmd_reg register. By sighting ‘1’ at spi3_cmd_reg [0], the Master initiates a SPI3 address allocation write with top most device address as data. The address “000000” is reserved as broadcast address visible to all devices. The address allocation process is explained for six AS8506 devices (including Master) stack system in Figure 38. CS SCLK SDI SDIO 1 0 A 4 A 0 A 1 A 2 A 3 D 0 D 1 D 2 D 3 D 4 D 5 D 7 D 6 D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7 D 7 D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7 D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7 Data D7-D0 at Address A5-A0 is read here Data D7-D0 at Address A5-A0 +1 is read here Data D7-D0 at Address A5-A0 +2 is read here Data D7-D0 at Address A5-A0 +3 is read here Data D7-D0 at Address A5-A0 +4 is read here 5 A |
|
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 |