RobertoBenjami/stm32_graphics_display_drivers

Image distortions on STMF407VE

JuMalIO opened this issue · 4 comments

Hi when I moved same code from STM32F091RC to STM32F407VE (changed driver to FSMC 8bit) I am getting strange image distortions. On STM32F091RC everything was working fine.
I am using ILI9486 driver. Tried no DMA but does not change images apear distorted.
Any ideas?

GPIO8 solution seems to be working ok, the issue is with FSMC 8bit on Keil, for some reason lines starts to shift and images get distorted, It draws too fast or something? Or its STM32F407VE memory issues? How could I check whats worong?

In CUBE, the FSMC configuration, you should experiment with these values:

  • Address setup time in HCLK clock cycles
  • Data setup time in HCLK clock cycles
  • Bus turn around time in HCLK clock cycles

Good values also depend on the cpu frequency, display, and wire length.
If an analog touchscreen is included, it may also interfere with the operation of the FSMC due to the 2-300Ohm parallel resistance.

In deed, I am using ~60cm wires to display. FSMC seems to be very sensitive....
You might want to add a note in ReadMe what length wires you are using.

The parallel system bus is not designed to bridge 60cm distances with it. It may be possible to operate flawlessly at this distance, only with the right cable and proper impedance matching.