| 数据搜索系统,热门电子元器件搜索 |
|
ADE75 数据表(PDF) 136 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE75 数据表(HTML) 136 Page - Analog Devices |
|
136 / 148 page ![]() Preliminary Technical Data ADE75xx/ADE71xx Rev. PrE | Page 136 of 148 I2C COMPATIBLE INTERFACE The ADE75XX/ADE71XX supports a fully licensed* I2C interface. The I2C interface is implemented as a full hardware master. SDATA is the data I/O pin, and SCLK is the serial clock. These two pins are shared with the MOSI and SCLK pins of the on- chip SPI interface. Therefore, the user can enable only one interface or the other on these pins at any given time. The SCPS bit in the CFG SFR selects which peripheral is active. The two pins used for data transfer, SDA and SCL are configured in a Wired-AND format that allows arbitration in a multi-master system. The transfer sequence of a I2C system consists of a master device initiating a transfer by generating a START condition while the bus is idle. The master transmits the address of the slave device and the direction of the data transfer in the initial address transfer. If the slave acknowledges then the data transfer is initiated. This continues until the master issues a STOP condition and the bus becomes idle. SERIAL CLOCK GENERATION The I2C master in the system generates the serial clock for a transfer. The master channel can be configured to operate in Fast mode (256 kHz) or Standard mode (32 kHz). The bit-rate is defined in the I2CMODE SFR as follow : ] 0 : 1 [ 2 16 SCLDIV core SCL f f × = SLAVE ADDRESSES The I2CADR SFR contains the slave device ID. The LSB of this register contains a read/write request. A write to this SFR will start the I2C communication. I2C SFR REGISTER LIST The I2C peripheral interface consists of five SFRs: - I2CMOD - I2CSTAT - I2CADR - SPI2CTx - SPI2CRx. As the SPI and I2C serial interfaces share the same pins, I2CMOD, I2CADR, I2CSTAT, SPI2CTx and SPI2CRx SFRs are also shared with SPIMOD1, SPIMOD2, SPISTAT, SPI2CTx and SPI2CRx SFRs respectively. SFR Address Name R/W Length Default Value Description 0x9A SPI2CTx W 8 SPI Data out register 0x9B SPI2CRx R 8 0 SPI Data in register 0xE8 I2CMOD R/W 8 0 SPI configuration register 0xE9 I2CADR R/W 8 0 SPI configuration register 0xEA I2CSTAT R/W 8 0 SPI/I2C Interrupt Status register Table 134: SPI SFR register list Table 135. I2C Mode Register SFR (I2CMOD, 0xE8) Bit Location Bit Addr. Bit Name Default Value Description 7 0xEF I2CEN 0 I2C enable bit When this bit is set to logic one, the I2C interface is enabled. A write to the I2CADR SFR will start a communication 6-5 0xEE – 0xED I2CR[1:0] 0 I2C SCLK frequency [1: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 |