2 Using I3C with Direct Memory Access (DMA)

Since the I3C bus frequency can reach as high as 12.5 MHz, it is suggested that the user use DMA to read and write from the I3C Transmit and Receive Buffers to ensure that the application can keep up with the high-speed data transfer rates. This section describes setting up the DMA module on 8-bit PIC devices to operate with the I3C module. Refer to the appropriate device data sheet for information about setting up the I3C module in I3C/I2C Target mode.

It is highly recommended for the user to read the “DMA – Direct Memory Access” chapter in the device data sheet to familiarize themselves with the DMA module and how it operates. The user can also refer to “TB3242 – Configuring the DMA Peripheral” for gaining better understanding of the DMA module on the Microchip website.

For user convenience, the MPLAB Code Configurator (MCC) Melody offers DMA-based drivers for the I3C peripheral. The API documentation for the I3C Target Driver can be found on the Microchip website and getting started code examples using the I3C drivers can be accessed using the MPLAB Discover link below.