7 years, 10 months ago.

ili9341 8bit does not work with stm32f103

I am successfully using Microe EasyTFT display (ili9341) with stm32f401 RE, in BUS_8 mode with Unigraphic library.

Now, I am trying to use stm32f103c8t6 with the same setup, and my display is not initialising. I have white blank display, and nothing more.

I triple checked everything, tried several variants of pins used... and nothing...

Any known issue with this combination? (STM32F103 and ILI9341)?

Could you suggest any other solution? Wanted to try other libs, but it is hard to find non SPI lib...

  1. include "stm32f103c8t6.h"
  2. include "mbed.h"
  3. include "ILI9341.h"

Display PinName buspins[8]={PB_8,PB_9,PB_10,PB_11,PB_12,PB_13,PB_14,PB_15};

ILI9341* TFT;

int main() { confSysClock(); Configure system clock (72MHz HSE clock, 48MHz USB clock)

TFT = new ILI9341(BUS_8, buspins, PA_11, PA_12, PA_10, PA_9, PA_8,"TFT");

TFT->background(Black); TFT->foreground(White); TFT->cls(); ....

2 Answers

7 years, 10 months ago.

Hello,
This demo worked for me.

Accepted Answer

This shows that it is possible to use combination of STM32f103+ili9341+unigraphic. The only difference is that I use 8bit comunication and this example is SPI.

But still, I can not make it work.

When I catch some spare time, I'll have to try low level programming, and measuring pins..

Thanks for reading and trying to help.

Any other ideas are welcome. :) :(

posted by Boban Velickovic 02 Feb 2017
7 years, 10 months ago.

Maybe you are running out of memory. Note that the F103C8 has less than the nucleo F103RB (128 KB) for which you are probably compiling and much less memory than the F401RE (512 KB).

No. Not even one line program works. The display just do not initialise.

posted by Boban Velickovic 02 Feb 2017