Hi,
I progress in my project but I hit a problem I can not solve.
I use teensy 3.6 and VM816C50A-N
https://fr.farnell.com/bridgetek/vm816c50a-n/type-carte-credit-moteur-video/dp/2931597When initializing the BT816, I can not display other images than this image.
Here is my code. At this point the bus spi works at 30 Mhz :
GDTR.hostcmd(0x68);
GDTR.hostcmd(0x44);
GDTR.hostcmd(0x61);
GDTR.hostcmd(0x62);
GDTR.hostcmd(0x00);
delay(300);
GDTR.wr32(/*REG_FREQUENCY*/0x30200C, 60000000 );
GDTR.wr32(/*REG_HCYCLE*/0x30202C, 1056);
GDTR.wr32(/*REG_HOFFSET*/0x302030, 46);
GDTR.wr32(/*REG_HSIZE*/0x302034, 800);
GDTR.wr32(/*REG_HSYNC0*/0x302038, 0);
GDTR.wr32(/*REG_HSYNC1*/0x30203C, 10);
GDTR.wr32(/*REG_VCYCLE*/0x302040, 525);
GDTR.wr32(/*REG_VOFFSET*/0x302044, 23);
GDTR.wr32(/*REG_VSIZE*/0x302048, 480);
GDTR.wr32(/*REG_VSYNC0*/0x30204c, 0);
GDTR.wr32(/*REG_VSYNC1*/0x302050, 10);
GDTR.wr32(/*REG_PCLK_POL*/0x30206C, 1);
GDTR.wr32(/*REG_DITHER*/0x302060, 0);
GDTR.wr32(/*REG_CSPREAD */0x302068, 0);
GDTR.wr32(0x300000, 0x020000);
GDTR.wr32(0x300004, 0x260007);
GDTR.wr32(0x300008, 0x000000);
GDTR.wr32(0x302054, 0x02);
GDTR.wr16(0x302098, 0xffff);
GDTR.wr16(0x30209C, 0xffff);
GDTR.wr32(/*REG_PCLK*/0x302070, 2);
GDTR.wr32(0x300000, 0x020000);
GDTR.wr32(0x300004, 0x260007);
GDTR.wr32(0x300008, 0x000000);
Thank you in advance for your help