MCIMX286CVM4B Freescale Semiconductor, MCIMX286CVM4B Datasheet - Page 1745

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
27.2.3.1 Five Byte Master Write Using DMA
The example in
master to another device acting as an I
The DMA command is initialized to send six bytes to the I
PIO information to the HW_I2C_CTRL0 register.
The following C code is used to send a five-byte transmission:
Freescale Semiconductor, Inc.
ST
Table 27-14. I
SAD+W
// SEND: start, 0x56, 0x01,0x02,0x03,0x04,0x05,stop
//------------------------------------------------------
#define I2C_CHANNEL_NUM 3
// dma buffer of 6 bytes (i2c address + 5 data bytes)
static reg32_t I2C_DATA_BUFFER[2]=
{
0x03020156,
0x00000504
};
// DMA command chain
const static reg32_t
{
(reg32_t)
(BF_APBX_CHn_CMD_XFER_COUNT(6) |
BF_APBX_CHn_CMD_SEMAPHORE(1)
BF_APBX_CHn_CMD_CMDWORDS(1)
BF_APBX_CHn_CMD_WAIT4ENDCMD(1)|
BF_APBX_CHn_CMD_CHAIN(0)
SAK
Figure 27-9
2
C Transfer When the Master Transmits 5 Bytes of Data to the Slave
i.MX28 Applications Processor Reference Manual, Rev. 1, 2010
DATA0
0,
//slave address 56+W
// last two data bytes
1PIO, no chaining, IRQ,DMA read
Figure 27-9. I
shows sending five bytes from an i.MX28 operating as an I
SAK
BUFFER ADDRESS
NEXTCMD_ADDR
HW_I2C_CTRL0=
6
I2C_DMA_CMD[4] =
0x001B0006
DATA1
DATA 2,DATA 1, DATA 0, I2CADDR+W
2
1
C slave.
0x0000,DATA4, DATA 3
|
|
|
2
SAK
C Writing Five Bytes
1
1
1
0
DATA2
Pointer to DMA buffer
10
Pointer to next ccw
SAK
2
DATA3
C controller and one word of
SAK
Chapter 27 Inter IC (I2C)
DATA4
SAK
SP
1745
2
C

Related parts for MCIMX286CVM4B