SPI and DMA with ILI9341

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SPI and DMA with ILI9341

      hello I need to optimize writing with a 320x240 display and I have to use DMA with 8bit SPI communication and ILI9341 controller. I'm using
      #include "GUIDRV_FlexColor.h" and #define COLOR_CONVERSION GUICC_565.
      I have configured the functions
         PortAPI.pfWrite8_A0 = write_a0; // A0 = command, A1 = parameter
         PortAPI.pfWrite8_A1 = write_a1;
         PortAPI.pfWriteM8_A0 = writeM_a0;
         PortAPI.pfWriteM8_A1 = writeM_a1;
         PortAPI.pfRead8_A0 = read_a0;
         PortAPI.pfRead8_A1 = read_a1;
         PortAPI.pfReadM8_A0 = readM_a0;
         PortAPI.pfReadM8_A1 = readM_a1;
        GUIDRV_FlexColor_SetFunc (pDevice, & PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B8)

      up to this point everything works fine but I do not know how to configure DMA to go fast with SPI writing.
      I think I understand that the blocks of multiple bytes are 498 bytes.
      I'm using a pic32mz and harmony 2.01.
      Thank's
    • Hi,

      Unfortunately, I have no experience with the DMA and the SPI on PIC32MZ.

      Maybe others in this forum.

      I suggest to contact Microchip and ask them if they can help with this topic.

      Regards
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.