| Electronic Components Datasheet Search |
|
IC-MSA Datasheet(PDF) 13 Page - IC-Haus GmbH |
|
|
|||||||||||||||||||||||||||||
IC-MSA Datasheet(HTML) 13 Page - IC-Haus GmbH |
|
13 / 29 page ![]() preliminary preliminary iC-MSA SIN/COS SIGNAL CONDITIONER with AGC and 1Vpp DRIVER Rev A1, Page 13/29 SERIAL CONFIGURATION INTERFACE (EEPROM) The serial configuration interface consists of the two pins SCL and SDA and enables read and write access to an EEPROM with I2C interface. The readout speed can be adjusted using register bit ENFAST. ENFAST Adr 0x40, bit 7 Code Function 0 Regular clock rate, f(SCL) approx. 80 kHz 1 High clock rate, f(SCL) approx. 320 kHz Notes For in-circuit programming bus lines SCL and SDA require pull-up resistors. For line capacitances to 170 pF, adequate values are: 4.7 kΩ with clock frequency 80 kHz 2 kΩ with clock frequency 320 kHz The pull-up resistors may not be less than 1.5 kΩ. To separate the signals a ground line between SCL and SDA is recommended. iC-MSA requires a supply voltage during EEPROM programming (5 V to VDD). Table 5: Config. Interface Clock Frequency Once the supply has been switched on (power down reset) the iC-MSA outputs are high impedance (tris- tate) until a valid configuration is read out from the EEPROM using device ID 0x50. Bit errors in the 0x40 to 0x5E memory section are pinpointed by the CRC deposited in register CHK- SUM(7:0) (address 0x5F; the CRC polynomial used is "1 0001 1101"). Should no valid configuration data being available (in- correct CRC value or EEPROM missing), the readin process is repeated; the system aborts following a fourth faulty attempt and iC-MSA switches to I2C slave mode. For devices loading valid configuration data from the EEPROM, the register bit ENSL decides for enabling the I2C slave function. ENSL Adr 0x17, bit 3 Code Function 0 Normal operation 1 I2C Slave Mode Enable (Device ID 0x57) Table 6: Config. Interface Mode The device ID for the EEPROM can be entered in reg- ister DEVID(6:0) (address 0x40), from which iC-MSA will take its configuration after exiting test mode (see page 17). The DEVID(6:0) stored therein is then ac- cepted. Example of CRC Calculation Routine unsigned char ucDataStream = 0 ; i n t iCRCPoly = 0x11D ; unsigned char ucCRC= 0 ; i n t i = 0 ; ucCRC = 1 ; / / s t a r t v a l u e ! ! ! f o r ( iReg = 0 ; iReg <31; iReg ++) { ucDataStream = ucGetValue ( iReg ) ; f o r ( i = 0 ; i <=7; i ++) { i f ( ( ucCRC & 0x80 ) ! = ( ucDataStream & 0x80 ) ) ucCRC = ( ucCRC << 1 ) ^ iCRCPoly ; else ucCRC = ( ucCRC << 1 ) ; ucDataStream = ucDataStream << 1 ; } } EEPROM Selection The following minimal requirements must be fulfilled: • Operation from 3.3 to 5 V, I2C interface • Minimal 1024 bit, 128x8 (address range used is 0x40 to 0x7F) • Support of Page Write with Pages of at least 4 bytes. Otherwise error events can not be saved to the EEPROM (EMASKE(9:0) = 0x000). • Device ID 0x50 "101 0000", no occupation of 0x57 (A2...A0 = 0). Otherwise iC-MSA is not ac- cessible in I2C slave mode via 0x57 (ENSL = 0). Recommended devices: Atmel AT24C01B, ST M24C01W, ST M24C02 (2K), ROHM BR24L01A-W, BR24L02-W |
|
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 |