Hi, Miguel,
Regarding your question to use DMA to fetch LCD data from RAM and put it on GPIO so that the GPIO can simulate the LCD timing, I think the solution is okay, but I have not tested it on board yet. I suggest you order an EVM board and test it.
Pls download the an4419, which focuses on the solution to use DMA to toggle GPIO so that the GPIO can simulate a PWM signal, it is very similar to your case. but the difference is that you drive multiple GPIO, while the application note just drive/ toggle one GPIO, NOTE THAT THERE IS A LIMITATION AT PAGE 5 WHICH SAYS "
The output GPIO pin number is 1 per each GPIO port. 2 output pins from 1 port is not accepted. Because GPIO can accept only 1 DMA trigger."
For the DMA/PIT/GPIO solution, the triggering source is GPIO pin rather than PIT, I think you just need set only one GPIO pin as triggering source by setting the IRQC bits as 3 in the PORTx_PCRn. Every DMA transfer needs to toggle the pin, so you can use the pin as LCD_CLK, it is okay. For example, if you configure the GPIO_A0 as the LCD_CLK, the RAM data is like this:
xxxxxxx0
xxxxxxx1
xxxxxxx0
xxxxxxx1
For the other GPIO pins which simulate the data or V sync or H sync, you can configure the IRQC as 0000 in binary. Because the limitation, I do not guarantee the solution is okay, you'd better order an EVM and have a try.
Hope it can help you.
BR
XiangJun Rong
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4419.pdf?fsrch=1&sr=1&pageNum=1