| Electronic Components Datasheet Search |
|
IC-NQL Datasheet(PDF) 20 Page - IC-Haus GmbH |
|
|
|||||||||||||||||||||||||||||
IC-NQL Datasheet(HTML) 20 Page - IC-Haus GmbH |
|
20 / 24 page ![]() iC-NQL 13-bit Sin/D CONVERTER WITH SSI INTERFACE Rev D2, Page 20/24 EEPROM INTERFACE and STARTUP BEHAVIOUR Serial EEPROM components permitting operation from 3.3 V to 5 V can be connected (such as 24C02, for example). When the device is switched on the memory area of bytes 0 to 15 is mapped onto iC-NQL’s regis- ters. After the supply has been turned on (power on reset), iC-NQL reads the configuration data from the EEP- ROM and during this phase halts error pin NERR ac- tively on a low signal (open drain output). After a successful CRC the data output to SLO is re- leased and the error indication at pin NERR reset; an external pull-up resistor can supply a high signal. iC-NQL then switches to normal operation and deter- mines the current angle position, providing that a sen- sor is connected up to it and there is no amplitude error (or this is deactivated). Should the CRC prove unsuccessful due to a data er- ror (disrupted transmission, no EEPROM or the EEP- ROM is not programmed), the configuration phase is automatically repeated. After a third failed attempt, the procedure is aborted and error pin NERR remains ac- tive, displaying a permanent low. After startup, iC-NQL does not recognize a defined configuration; the configuration RAM can contain any values. Example of CRC Calculation Routine unsigned char ucDataStream = 0 ; i n t iCRCPoly = 0x127 ; unsigned char ucCRC= 0 ; i n t i = 0 ; ucCRC = 0 ; / / s t a r t v a l u e ! ! ! f o r ( iReg = 0 ; iReg <15; 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 ; } } CRC_E2P Adr 0x0F, Bit 7:0 Code Description 0x00 ... Check value formed by CRC polynomial 0x127 0xFF Table 35: Check value for EEPROM data |
|
|
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 |