| поискавой системы для электроныых деталей |
|
MCP3461 датащи(PDF) 76 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP3461 датащи(HTML) 76 Page - Microchip Technology |
|
76 / 108 page ![]() MCP3461/2/4 DS20006180D-page 76 2019-2021 Microchip Technology Inc. 6.8.4 CRCCFG ERROR INTERRUPT The CRCCFG interrupt happens when an error in the CRC-16 checksum has been detected in the register map CRC calculation. This interrupt is implemented with three different and independent mechanisms: STATUS byte on SDO, IRQ register Status bit and IRQ pin state. 6.8.4.1 STATUS Byte on SDO When the CRCCFG error happens, on the next STATUS byte transmitted on SDO, the CRCCFG_STATUS bit will be logic low. Once the STATUS byte has been transmit- ted, the CRCCFG_STATUS bit will then appear as ‘1’ until a new interrupt occurs. If between two STATUS byte transmissions, the error is detected once again, the CRCCFG_STATUS bit on SDO will appear as equal to ‘0’ on the second reading. 6.8.4.2 IRQ Register Status Bit When the CRCCFG error happens, the CRCCFG_STATUS bit in the IRQ register will be set to ‘0’. Once the IRQ register has been fully read, this CRCCFG_STATUS bit will be reset back to ‘1’. If between two readings of the IRQ register, the CRCCFG error happens once again, the IRQ register Status bit will appear as ‘0’ on the second reading. 6.8.4.3 IRQ Pin State The CRCCFG error generates a Logic Low state on the IRQ pin until it is cleared. The clearing of the CRCCFG error can only be made by “unlocking” the device (by writing 0xA5 in the LOCK[7:0] register or by sending a Fast command start/restart ADC conversion). Unlocking the device stops the CRC calculation and clears the associated interrupt. Sending an ADC start/restart conversion Fast command resets the CRC calculation and clears the interrupt as well. This CRCCFG error can only happen in case of an external perturbation (for example, EMI induced) that would cause the continuous calculation of the CRC on the register map to be erroneous or in the case that the chip integrity has been altered. Since both causes are high-priority issues, the CRCCFG error takes priority over all other interrupts (except POR) and over the MDAT output on the IRQ pin. Note: If MCLK is running before the device has been locked, an interrupt can momentarily occur even if registers have not been corrupted. In such a case, the user needs to send a start/restart conversion Fast command, which will clear the unwanted interrupt and correctly restart the CRC calculations. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |