EM2420 ETC [List of Unclassifed Manufacturers], EM2420 Datasheet - Page 46

no-image

EM2420

Manufacturer Part Number
EM2420
Description
2.4 GHz IEEE 802.15.4 / ZigBee RF Transceiver
Manufacturer
ETC [List of Unclassifed Manufacturers]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM2420
Manufacturer:
EMBER
Quantity:
20 000
RX in-line security operations are always
performed on the first frame currently
inside the RXFIFO, even if part of this has
already been read out over the SPI
interface. This allows the receiver to first
read the source address out to decide
which
authentication of the complete frame. In
CTR or CCM mode it is of course
important that bytes to be decrypted are
not read out before the security operation
is started.
When the SRXDEC command strobe is
issued, the FIFO and FIFOP pins will go
low.
microcontroller that no further data may be
read out before the next byte to be read
has undergone the requested security
operation.
The frame in the RXFIFO may be received
over RF or it may be written into the
RXFIFO
debugging
operations.
CTR mode encryption / decryption
CTR mode encryption / decryption is
performed by the EM2420 on MAC frames
within the TXFIFO / RXFIFO respectively.
SECCTRL1.SEC_TXL / SEC_RXL sets the
number of bytes between the length field
and the first byte to be encrypted /
decrypted respectively. This controls the
number of plaintext bytes in the current
frame.
encryption, only the MAC payload (see
Figure 15 on page 34) should be
encrypted, so SEC_TXL / SEC_RXL is set
to 3 + (0 to 20) depending on the address
information in the current frame.
When encryption is initiated, the plaintext
in the TXFIFO is then encrypted as
specified by [1]. The encryption module
will encrypt all the plaintext currently
available, and wait if not everything is
prebuffered. The encryption operation may
also be started without any data in the
Ember Part Number: 120-0049-000C
Issue a SRXDEC command strobe. The
first frame in the RXFIFO is then
decrypted / authenticated as set by
the current security mode.
This
key
For
over
or
is
to
IEEE
the
higher
to
use
SPI
indicate
802.15.4
layer
before
interface
to
security
doing
MAC
EM2420 Datasheet
the
for
TXFIFO at all, and data will be encrypted
as it is written to the TXFIFO.
When decryption is initiated with a
SRXDEC command strobe, the ciphertext
of the RXFIFO is then decrypted as
specified by [1].
CBC-MAC
CBC-MAC
provided by the EM2420 hardware.
SECCTRL0.SEC_M sets the MIC length M,
encoded as (M-2)/2.
When enabling CBC-MAC in-line TXFIFO
authentication, the generated MIC is
written to the TXFIFO for transmission.
The frame length must include the MIC.
SECCTRL1.SEC_TXL / SEC_RXL sets the
number of bytes between the length field
and the first byte to be authenticated,
normally set to 0 for MAC authentication.
SECCTRL0.SEC_CBC_HEAD defines if the
authentication length is used as the first
byte of data to be authenticated or not.
This bit should be set for compliance with
[1].
When enabling CBC-MAC in-line RXFIFO
authentication, the generated MIC is
compared to the MIC in the RXFIFO. The
last byte of the MIC is replaced in the
RXFIFO with:
The other bytes in the MIC are left
unchanged in the RXFIFO.
CCM
CCM combines CTR mode encryption and
CBC-MAC authentication in one operation.
CCM is described in [3].
SECCTRL1.SEC_TXL / SEC_RXL sets the
number of bytes after the length field to be
authenticated but not encrypted.
The MIC is generated and verified very
much like with CBC-MAC described
0x00 if the MIC is correct
0xFF if the MIC is incorrect
in-line
authentication
EM2420
Page 46 of 89
is

Related parts for EM2420