MCIMX286CVM4B Freescale Semiconductor, MCIMX286CVM4B Datasheet - Page 1020

no-image

MCIMX286CVM4B

Manufacturer Part Number
MCIMX286CVM4B
Description
IC MPU I.MX286 289MAPBGA
Manufacturer
Freescale Semiconductor
Series
i.MX28r

Specifications of MCIMX286CVM4B

Core Processor
ARM9
Core Size
32-Bit
Speed
454MHz
Connectivity
CAN, EBI/EMI, Ethernet, I²C, MMC, SmartCard, SPI, SSI, UART/USART, USB OTG
Peripherals
DMA, I²S, LCD, POR, PWM, WDT
Program Memory Size
128KB (32K x 32)
Program Memory Type
Mask ROM
Ram Size
32K x 32
Voltage - Supply (vcc/vdd)
1.25 V ~ 5.25 V
Data Converters
A/D 17x12b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
289-LFBGA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-
Eeprom Size
-
Lead Free Status / Rohs Status
Compliant
Programming DCP Functions
</code>
13.2.7.3 Basic Cipher Operation Programming Example
To perform a basic cipher operation, only a single descriptor is required. The DCP reads
data from the source buffer, encrypts it, and writes it to the destination buffer. For this
example, the key is provided in the payload and the algorithm uses the AES CBC mode of
operation. This requires a payload with both the key and CBC initialization value. This
process is illustrated below.
<code>
typedef struct _dcp_descriptor
{
}
1020
// now check/clear channel status
if ( (HW_DCP_CHnSTAT_RD(0) & 0xFF) != 0 ) {
}
// clear interrupt register
HW_DCP_STAT_CLR(1);
DCP_DESCRIPTOR dcp1;
u32 *srcbuffer;
u32 *dstbuffer;
u32 payload[8];
// set up key/CBC init in the payload
payload[0]=0x01234567;
payload[1]=0x89ABCDEF;
payload[2]=0xfedcba98;
payload[3]=0x76543210;
DCP_DESCRIPTOR;
// an error occurred
HW_DCP_CHnSTAT_CLR(0, 0xff);
u32
hw_dcp_packet1_t
hw_dcp_packet2_t
u32
i.MX28 Applications Processor Reference Manual, Rev. 1, 2010
*next;
*src,
*dst,
*payload,
ctrl0;
ctrl1;
buf_size,
stat;
0x0B = Payload Key | Cipher Init | Encrypt
0x23 = Cipher Enable | DecrSema | Interrupt
Next
Ctrl0
Ctrl1
Src
Dst
Bytes
Payld
Stat
Figure 13-12. Basic Cipher Operation
Tag
Destination Buffer Address
Source Buffer Address
// key
Payload Address
Byte Count
0x0B
CBC AES
0x23
Payload
CBC
Key
Init
Destination
Source
Buffer
Buffer
Freescale Semiconductor, Inc.

Related parts for MCIMX286CVM4B