General Category > Discussion - Software

FT813 initialization

<< < (2/2)

FTDI Community:
Hello,

Each time you want to update the screen, you must also have a swap as the display list has two buffers. After writing the new list, you swap that one so that it becomes active and you can edit the other one and so on. Therefore, try adding a swap after your DISPLAY in your main loop at the bottom.


    wr32(RAM_DL + 0, CLEAR_COLOR_RGB(0,0,255)); //CLEAR_COLOR_RGB0,0,0
    wr32(RAM_DL + 4, CLEAR(1,1,1));
    wr32(RAM_DL + 8, DISPLAY);
    wr8(REG_DLSWAP,0x02); 


Best Regards, FTDI Community

SpicyChef:
Unfortunately still doesn't work, all I can see is the back light turning on.
I'm not sure where I'm going wrong with the code, since the logic reading seems to be good.

If you could look at the logic reading and help me, it would be greatly appreciated.

Rudolph:
I have an Arduino example for my driver library: https://github.com/RudolphRiedel/FT800-FT813/tree/4.x/example_projects

The display is selected in EVE_config.h.
And the pins for CS and PD are configured at the end of EVE_target.h.

SpicyChef:
Rudolph,

Thanks to your code I was able to find the problem in mine.

Navigation

[0] Message Index

[*] Previous page

Go to full version