| Datenblatt-Suchmaschine für elektronische Bauteile |
|
AM2321 Datenblatt(PDF) 17 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
AM2321 Datenblatt(HTML) 17 Page - List of Unclassifed Manufacturers |
|
17 / 30 page ![]() - 16 - processing; 7. The communication message frame after all the bytes calculated according to the above steps completed, the high and low byte of the resulting 16-bit CRC register exchange; 8. The resulting CRC register contents is: CRC code. ◎CRC calculation code in C language code Description: This program to calculate the length len * ptr bytes before the CRC. unsigned short crc16(unsigned char *ptr, unsigned char len) { unsigned short crc =0xFFFF; unsigned char i; while(len--) { crc ^=*ptr++; or(i=0;i<8;i++) { if(crc & 0x01) { crc>>=1; crc^=0xA001; }else { crc>>=1; } } } return crc; } 8.2.4 I C Communication Timing AM2321 sensor I C communication, although according to the standard I C communication sequence, but must follow our communication protocols and communication timing requirements, in order to accurately read the sensor. In strict accordance with the communication protocol and timing, please read the design. ◎I C Read full Timing Example Figure 14 shows the read sensor when the full sample and write a special time requirements, in strict accordance with the requirements of the special time to read and write, otherwise it will appear unreadable sensors or incorrect data and so on. Several timing diagram special needs attention, the time requirements detailed in Figure; host communication from beginning to end, for a maximum of 3S. 2 2 2 2 Aosong Guangzhou Electronics Co., Ltd. Order Phone: 4006 305378 Enterprise QQ: 4006305378 www.aosong.com |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |