After many years I revisited the then bought 7 inch display. After searching the net I did find some datasheets for 7 inch 1024 * 600 LCD's with a 50 pin RGB TTL interface. If they match the display I have, I don't know, but at least the pin out seems to be universal and matches with the 800 * 480 LCD's with 50 pin RGB TTL interfaces.
I connected the display to my lichee nano setup and started tweaking the settings based on what I found in the datasheets. I managed to get an image, but it flickers to much. Watching the sync and enable signals with a scope showed that the refresh rate was about 23Hz leaving a very big gap between two actual data sets. Tried changing the settings for the vertical back and front porch, but the change in the front porch setting seems to do relatively nothing. (Very high setting reduces the rate to about 18Hz, but setting zero gives the 23Hz)
I reconnected the 800 * 480 LCD and loaded the correct settings for that one. This results in a stable picture and a refresh rate of about 117Hz.
Unfortunately the documentation of the F1C100s is very poor and does not help much. It does state that it should be capable of doing 1280 * 720 @ 60fps, so way more then the 1024 * 600 @ 23fps I'm getting.
Any one out there with a bit more experience with the F1C100s display engine that can shed some light on this?
The code I tested with is based on the project with this file for the display control
https://github.com/pecostm32/FNIRSI_1013D_Firmware/blob/main/fnirsi_1013d_startup_screen/display_control.c where I changed the size settings to 1024 * 600 and the timing registers like shown below.
//Correct these for the 1024 x 600
//Use the default configuration
//Horizontal total time and horizontal back porch (1344 clocks per line with 160 clocks back porch)
//This depends on the total line time and the back porch
//Back porch = (140 - 1);
*TCON0_BASIC_TIMING1 = 0x53E008B; //0x41E0044;
//Vertical front porch and vertical back porch (12 lines front porch with 23 lines back porch)
//This is a bit of a mystery for the front porch setting. Even with 0 there is a gap between the last line displayed and the next sync pulse of many lines (~30ms)
//The back porch setting includes the sync pulse lines too??
*TCON0_BASIC_TIMING2 = 0x16; // 0x46E0016;
//Horizontal sync pulse width (20 clock pulses) and vertical sync pulse width. 0 means 1 line time for the vertical sync
//HSPW = (20 - 1) << 16;
//VSPW = (3 - 1);
*TCON0_BASIC_TIMING3 = 0x130002;