I have made some experiments with ILI9320 driver included in trunk. Maybe there is an error in file gdisp_lld_board_olimex_stm32_lcd.h
As I understand this file is prepared for this board: https://www.olimex.com/Products/ARM/ST/ ... ematic.pdf
The CS signal of TFT display is connected to NCE2-NE1-PD7.
But in the code we have the following:
Code: Select all
static __inline void GDISP_LLD(init_board)(void) {
......
/* const unsigned char FSMC_Bank = 0; */
const unsigned char FSMC_Bank = 6;
......
}
I think the commented line /* const unsigned char FSMC_Bank = 0; */ is correct.
But const unsigned char FSMC_Bank = 6; is compiled instead, which is wrong. With this code we address FSMC registers which are not related to address space of NE1.