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

X  

MCP3910 Datenblatt(PDF) 53 Page - Microchip Technology

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

MCP3910 Datenblatt(HTML) 53 Page - Microchip Technology

Back Button MCP3910 Datasheet HTML 49Page - Microchip Technology MCP3910 Datasheet HTML 50Page - Microchip Technology MCP3910 Datasheet HTML 51Page - Microchip Technology MCP3910 Datasheet HTML 52Page - Microchip Technology MCP3910 Datasheet HTML 53Page - Microchip Technology MCP3910 Datasheet HTML 54Page - Microchip Technology MCP3910 Datasheet HTML 55Page - Microchip Technology MCP3910 Datasheet HTML 56Page - Microchip Technology MCP3910 Datasheet HTML 57Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 90 page
background image
 2012-2020 Microchip Technology Inc.
DS20005116D-page 53
MCP3910
6.10
Locking/Unlocking Register Map
Write Access
The MCP3910 digital interface includes an advanced
security feature that permits locking or unlocking the
register map write access. This feature prevents the
miscommunication that can corrupt the desired config-
uration 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
the communications are not protected.
When the LOCK[7:0] bits are different than 0xA5, the
register map write access is locked. The register map,
and therefore, the full device configuration, is 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 config-
uration, the MCP3910 device includes an automatic and
continuous CRC checksum calculation on the full regis-
ter 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] is 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 12 DMCLK periods
and refreshed every 12 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] bits. The
DRSTATUS[5:0] bits are 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_INTCRC
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 12 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] bits will then be calculated continuously
and checked against the reference checksum. If the
CRCREG[15:0] bits are different than the reference, the
interrupt sends a flag by setting the DR pin to a logic low
state until it is cleared.
6.12
Interface Mode Selection
(SPI or Two-Wire)
The MCP3910 includes two different digital interfaces:
a standard four-wire half-duplex SPI interface (see
Section 6.0 “SPI Serial Interface Description”
) and
a two-wire interface dedicated for digitally isolated
applications (see Section 7.0 “Two-Wire Serial
Interface Description”
).
The selection between these two interfaces is possible
only when the CLKEXT bit is logic high (CLKEXT = 1).
This is the case by default at POR. When the
CLKEXT = 1 condition is true, the OSC2/MODE pin
becomes the selection input pin for the Interface mode.
When
OSC2/MODE
is
logic
low
during
the
CLKEXT = 1 condition, the SPI Interface is selected.
When OSC2/MODE pin is logic high, the Two-Wire
Interface mode is selected (see Figure 1-5 for the
Two-Wire Interface mode selection timing diagram).
If the OSC2/MODE pin is left floating while CLKEXT = 1,
an internal pull-down (35 µA typical current) automatically
selects the SPI mode as the default interface.
The MODE selection is not combinatorial, it is latched
at each POR, Hard Reset and Watchdog Time Reset.
In other words, to change from one interface mode to
another, the user needs to create one of these three
Resets and change the OSC2/MODE logic input state
before exiting the applied Reset.



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 89 90


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