I figured out my problem! It was a wrong setting in the CubeMx file. Now i have a example which can be built in the system workbench. But the Display is still not working see the following picture:

I think it is a problem of the clock setting in my project. Here is a picture of the Clock Setting in Cube MX:

I made in the CubeMX also the DCMI (Slave 8bits External Synchro), DMA2D, DSIHost (Adapted Command Mode), FMC (SDRAM1 - SDCKE0+SDNE0 - 4 banks - Adress 13bits - Data 16bits), I2C1, I2C2, I2S2, LTDC (RGB565 [16bits] - DSI mode), QUADSPI, RTC.
I use Free RTOS and my main and this is my main:
int main(void) {
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration----------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
//SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* initalize system */
EwBspConfigSystem();
/* configure system tick counter */
EwBspConfigSystemTick();
/* configure realtime clock */
EwBspConfigRealTimeClock();
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_FMC_Init();
MX_LTDC_Init();
MX_DCMI_Init();
MX_QUADSPI_Init();
MX_I2C1_Init();
MX_I2C2_Init();
MX_I2S2_Init();
MX_RTC_Init();
MX_USART6_UART_Init();
MX_DMA2D_Init();
MX_DSIHOST_DSI_Init();
/* USER CODE BEGIN 2 */
BSP_SDRAM_Init();
/* configure LED */
EwBspConfigLed();
/* initialize serial interface for debugging and connect xprintf module */
EwBspConfigSerial();
xdev_out(EwBspPutCharacter);
//extern main_old(void);
//main_old();
/* USER CODE END 2 */
/* USER CODE BEGIN RTOS_MUTEX */
/* add mutexes, ... */
/* USER CODE END RTOS_MUTEX */
/* USER CODE BEGIN RTOS_SEMAPHORES */
/* add semaphores, ... */
/* USER CODE END RTOS_SEMAPHORES */
/* USER CODE BEGIN RTOS_TIMERS */
/* start timers, add new ones, ... */
/* USER CODE END RTOS_TIMERS */
/* Create the thread(s) */
/* definition and creation of defaultTask */
osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128);
defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);
/* definition and creation of TaskEmbWiz */
osThreadDef(TaskEmbWiz, StartTaskEmbWiz, osPriorityIdle, 0, 1280);
TaskEmbWizHandle = osThreadCreate(osThread(TaskEmbWiz), NULL);
/* USER CODE BEGIN RTOS_THREADS */
/* add threads, ... */
/* USER CODE END RTOS_THREADS */
/* USER CODE BEGIN RTOS_QUEUES */
/* add queues, ... */
/* USER CODE END RTOS_QUEUES */
/* Start scheduler */
osKernelStart();
/* We should never get here as control is now taken by the scheduler */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1) {
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
I know that the issue appears when the function HAL_LTDC_ConfigLayer(&hltdc_handle, &LayerConfig, LAYER_INDEX ) in ew_bsp_display.c (Line 329) is called.
I hope that someone can help me with this issue. Thanks guys.
By the way in the Linkto the new version:
https://www.dropbox.com/s/hxzuxlmcyk9mrme/Template.zip?dl=0&m=