This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

cmsis_i2c_dma_transfer

Overview

CMSIS-Driver defines generic peripheral driver interfaces for middleware making it reusable across a wide range of supported microcontroller devices. The API connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces. More information and usage method please refer to http://www.keil.com/pack/doc/cmsis/Driver/html/index.html.

The cmsis_i2c_edma_transfer example shows how to use I2C cmsis driver in DMA way:

In this example , one i2c instance used as I2C master and another i2c instance used as I2C slave .

  1. I2C master send data to I2C slave with DMA . (I2C Slave using interrupt to receive the data)

  2. I2C master read data from I2C slave with DMA . (I2C Slave using interrupt to send the data)