| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AS8650B Datasheet(PDF) 32 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS8650B Datasheet(HTML) 32 Page - ams AG |
|
32 / 47 page ![]() www.ams.com/AS8650 Revision 1.1 31 - 46 AS8650B Datasheet - Application In form atio n 8 Application Information Device Interfaces. There are two ways to communicate with AS8650B, one is 4 wires SPI and other is I²C. The selection between these two interfaces is through I2C_EN pin, as shown in Table 19. The pins CS, SCLK, SDI, and SDO are used for SPI interface. For I²C interface, SCLK is used as I²C Clock and SDA is used as I²C data line. Pins SCLKI2C / SCLKSPI and SDAI2C / SDISPI are multiplexed for both SPI and I²C interface. Since I2C_EN is a digital input pin, it has to be connected either to VLDO1 or GND. Note: I2C_EN should not be changed during a I²C/SPI Read/Write operation. Maximum switching delay between I²C and SPI is 8µs. 8.1 Serial Peripheral Interface The Serial Peripheral Interface (SPI) provides the communication link with the microcontroller. The SPI is configured for half-duplex data transfer. The SPI provides access to configuration registers, control registers, and diagnostic registers. The modes of the AS8650B are changed by writing required code in to Mode Control Register through SPI. The SPI is also used to enter into test and OTP modes. This interface is only slave interface and only master can initiate SPI operation. The SPI can work on both the clock polarities. The polarity of the clock depends on the value of SCLK at the falling edge of CS. At the falling edge of CS if SCLK is “1” then the SPI is positive edge triggered and if the SCLK is “0” then SPI is negative edge triggered logic (see Table 20). The SPI protocol frame is divided in to two fields, the header field and the data field. The header field is 1 byte long containing a read/write command bit, 5 address bits and 2 reserved bits. The data field is of one data byte. The SPI frame format is shown in Figure 15. In the data phase MSB is sent first and LSB is sent last. Figure 15. SPI Frame Format Table 19. Device Interface Selection I2C_EN Description LOW Interface is 4-wire SPI HIGH Interface is I²C Table 20. SPI Clock Polarity CS SCLK Description LOW HIGH Serial data is transferred at falling edge and sampled at rising edge of SCLK LOW LOW Serial data is transferred at rising edge and sampled at falling edge of SCLK R/W A0 A1 A2 A3 A4 Header Field Data Field 1 byte Reserved Bits 5 bits Address 0 – WRITE 1 – READ 0 0 D7 D6 D5 D4 D3 D2 D1 D0 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |