cancel
Showing results for 
Search instead for 
Did you mean: 

TFT ILI9341V 8080II mode with DMA.

DVill
Associate

Hello everybody,

I'm developing a board with STM32F429 configured for a 8080II interface TFT display.

I have a 240x320 TFT (ILI9341) and 5-6-5 frame buffer in internal RAM.

Everything works and actually I flush the buffer on lcd via a loop that write at 0x6C000004 the pixel words (A1 used for register/data selector on Nor bank 4).

Now, for a better perfomance I would like to use the DMA.

I configured it for memory to memory transaction of 76800 word of frame buffer.

What I got is that only a part of display is refreshed.

The photo with "hello world" is about flushing with a loop, the other is related to flushing with DMA.

Do you ever face any sort of this problem?

Thanks for your attention and for any suggestion you'll give me.

By(t)e.

0690X000009jx9mQAA.jpg

0690X000009jx8oQAA.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

> I configured it for memory to memory transaction of 76800 word of frame buffer.

DMA NDTR is 16-bit so maximum muber of transfers is 65535.

Read the DMA chapter in RM.

JW

View solution in original post

2 REPLIES 2

> I configured it for memory to memory transaction of 76800 word of frame buffer.

DMA NDTR is 16-bit so maximum muber of transfers is 65535.

Read the DMA chapter in RM.

JW

DVill
Associate

Ooooppsssssss!!!!!!

What a donkey!

Sorry but I really miss that NDTR is 16bit long and not 32!

I think it's time to bed now! 😊

Many many thanks for your support.

Bye