Dear Pedro,
We're getting closer to the heart of the issue:
** REASON FOR EDIT: Display timings seem to be OK, so my question regarding a LVDS TFT controller setup no longer applies. Modified to reflect the real problem we've discovered **
Assumptions:
* VSync (first data of frame mem) and Front Porch (output of last data to panel) interrupt configurations are correct.
* Double-framebuffer setup - requires swapping of framebuffers in LCDC_LSSAR.
The issue:
If i swap my framebuffer immediately after a Vsync, i'm seeing gltiching because data is already being output to the panel. If i instead wait a while before i switch (Perform some drawing operations in the other framebuffer), i can avoid glitching entirely.
My question:
This leads me to think that,:
1) Either our Vsync interrupt is not fired where we expect it to be
2) If 1) is not true, there is some kind of delay after setting LCDC_LSSAR before it takes effect in the LCD controller.
I'd love some comments on 2), in particular.
Thank you in advance! Look forward to your thoughts.
Best regards,
Martin