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
#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