LCC - writing to frame buffer while DMA sending data
Just a quick one, if I have an LCC setup with DMA/PMP on a PIC32MZ outputting display data to an LCD (in DE mode) should I suspend DMA transfers while writing to the frame buffer? Could there be a problem if I was in the middle of writing a pixel and the DMA transfer kicks in?
I have a 3.5" QVGA screen, on a PIC32MZ1024EFE100, MPLABXv4.15. I am not using the EBI but instead using my DMA/PMP solution that worked on a PIC32MX
Sometimes I see flickering/ghosting while changing what is on screen (I update the frame buffer 4 times a second to handle live readings). See video here: drive.google.com/file/d/1rqVCAZtBp0DgP038wZkAs2xNRIouDsgz/view?usp=sharing
Hopefully that link will work, may need copy/paste
Any tips appreciated!