STM32F4Discovery and SSD1289
Posted: Thu Jun 13, 2013 12:45 am
Hi, i'm new to ChibiOS, i'm trying to use it with my stm32f4discovery board and tft screen based on SSD1289 controller. As i read the best way to do this is to use fsmc protocol. I have a problem because after 2 hours of googling i didn't found any realiable interconnection schema betweent discovery board and ssd1289 screen using fsmc. The datasheets of both devices didn't help me neither. On Stm side i have 24 fsmc address pins, 16 fsmc data pins, ne, nce, noe and many more fsmc pins, but on screen side i have only 16 data pins rs, cs, rd and wr. As a beginner, i can't see the correlation, i've never used that screen before i just got it. The only hint i have is piece of code from gdisp_lld_board_st_stm32f4_discovery.h file from gfx archive:
I assume those are pins i should screen connect to, but still i do not know corrent order, and about this pins it's only my assumption. I don't know if google is making fun of me, but can anybody share the interconnection schema with me ? It may be any STM32 with fsmc schema, i just want to know what is it all about ?
Code: Select all
/* set pins to FSMC mode */
IOBus busD = {GPIOD, (1 << 0) | (1 << 1) | (1 << 4) | (1 << 5) | (1 << 7) | (1 << 8) |
(1 << 9) | (1 << 10) | (1 << 11) | (1 << 14) | (1 << 15), 0};
IOBus busE = {GPIOE, (1 << 7) | (1 << 8) | (1 << 9) | (1 << 10) | (1 << 11) | (1 << 12) |
(1 << 13) | (1 << 14) | (1 << 15), 0};
I assume those are pins i should screen connect to, but still i do not know corrent order, and about this pins it's only my assumption. I don't know if google is making fun of me, but can anybody share the interconnection schema with me ? It may be any STM32 with fsmc schema, i just want to know what is it all about ?