Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

MCP3918 Datenblatt(PDF) 52 Page - Microchip Technology

Teilenummer MCP3918
Bauteilbeschribung  3V Single-Channel Analog Front End
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3918 Datenblatt(HTML) 52 Page - Microchip Technology

Back Button MCP3918 Datasheet HTML 48Page - Microchip Technology MCP3918 Datasheet HTML 49Page - Microchip Technology MCP3918 Datasheet HTML 50Page - Microchip Technology MCP3918 Datasheet HTML 51Page - Microchip Technology MCP3918 Datasheet HTML 52Page - Microchip Technology MCP3918 Datasheet HTML 53Page - Microchip Technology MCP3918 Datasheet HTML 54Page - Microchip Technology MCP3918 Datasheet HTML 55Page - Microchip Technology MCP3918 Datasheet HTML 56Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 88 page
background image
MCP3918
DS20005287A-page 52
 2014 Microchip Technology Inc.
6.10
Locking/Unlocking Register Map
Write Access
The MCP3918 digital interface includes an advanced
security feature that allows locking or unlocking the
register map write access. This feature prevents the
miscommunications that can corrupt the desired
configuration of the device, especially an SPI read
becoming an SPI write because of the noisy
environment.
The last register address of the register map
(0x1F: LOCK/CRC) contains the LOCK<7:0> bits. If
these bits are equal to the password value (which is
equal to the default value of 0xA5), the register map
write access is not locked. Any write can take place and
communications are not protected.
When the LOCK<7:0> bits are different from 0xA5, the
register map write access is locked. The register map
and therefore the full device configuration are
write-protected. Any write to an address other than
0x1F will yield no result. All the register addresses,
except for 0x1F, become read-only. In this case, if the
user wants to change the configuration, the
LOCK<7:0> bits have to be reprogrammed back to
0xA5 before sending the desired write command.
The LOCK<7:0> bits are located in the last register, so
that the user can program the whole register map,
starting from 0x09 to 0x1E within one continuous write
sequence, and then lock the configuration at the end of
the sequence with writing all zeros, for example in the
0x1F address.
6.11
Detecting Configuration Change
through CRC-16 Checksum on
Register Map and its Associated
Interrupt Flag
In order to prevent internal corruption of the register
and to provide additional security on the register map
configuration, the MCP3918 device includes an
automatic and continuous CRC checksum calculation
on the full register map configuration bits. This
calculation is not the same as the communication CRC
checksum described in Section 6.9 “Securing Read
Communications through CRC-16 Checksum”
.
This calculation takes the full register map as the CRC
message
and
outputs
a
checksum
on
the
CRCREG<15:0> bits located in the LOCK/CRC
register (address 0x1F).
Since this feature is intended to protect the
configuration of the device, this calculation is run
continuously only when the register map is locked
(LOCK<7:0> different from 0xA5, see Section 6.10
“Locking/Unlocking Register Map Write Access”
).
If the register map is unlocked, the CRCREG<15:0>
bits are cleared and no CRC is calculated.
The calculation is fully completed in ten DMCLK
periods and refreshed every ten DMCLK periods
continuously. The CRCREG<15:0> bits are reset when
a POR or a hard reset occurs. All the bits contained in
the defined registers from addresses 0x09 to 0x1F are
processed by the CRC engine to give the
CRCREG<15:0>. The DRSTATUS bit is set to '1'
(default) and the CRCREG<15:0> bits are set to '0'
(default) for this calculation engine, as they could vary
during the calculation.
An interrupt flag can be enabled through the EN_INT
bit in the STATUSCOM register and provided on the DR
pin when the configuration has changed without a write
command being processed. This interrupt is a logic low
state. This interrupt is cleared when the register map is
unlocked (since CRC calculation is not processed
anymore).
At power-up, the interrupt is not present and the
register map is unlocked. As soon as the user finishes
writing its configuration, the user needs to lock the
register map (writing 0x00 for example in the LOCK
bits) to be able to use the interrupt flag. The
CRCREG<15:0> bits will be calculated for the first time
in 10 DMCLK periods. This first value will then be the
reference checksum value and will be latched
internally, until a hard reset, a POR or an unlocking of
the register map happens. The CRCREG<15:0> will
then be calculated continuously and checked against
the reference checksum. If the CRCREG<15:0> is
different from the reference, the interrupt sends a flag
by setting the DR pin to a logic low state until it is
cleared.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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