Riverdi Display 7 and MikroC ARM - can't get anything :(

General discussion on Visual TFT Software.
Post Reply
Author
Message
lololafripouille
Posts: 231
Joined: 25 Mar 2014 17:11

Riverdi Display 7 and MikroC ARM - can't get anything :(

#1 Post by lololafripouille » 16 Nov 2018 15:23

Hello,

I made a custom board two years ago with a STM32F405 to drive a Riverdi Display 7" based on FT813 controler.
I made a little program with an older release of MikroC pro for ARM and VTFT when VTFT was a standalone program.
I can't find this program on my computer anymore but it was still loaded in the MCU when I powered on the board so I know that the screen and the board is OK.

So now, I tried the start from sratch with the last release of MikroC ARM and the integrated VTFT. I downloaded the last release of FT810 and FT812 library on libstock but I have a very strange thing on the screen as you can see in the attached picture.

Is it possible to have some help ?

Thank you
Attachments
screen.jpg
screen.jpg (297.28 KiB) Viewed 1505 times
GUI.zip
(482.98 KiB) Downloaded 92 times

dibor
Posts: 208
Joined: 29 Dec 2014 18:59

Re: Riverdi Display 7 and MikroC ARM - can't get anything :(

#2 Post by dibor » 19 Nov 2018 14:12

Hi.
Have some issue when was wrong SPI timing.
Do you have level shifter from 5v to 3.3 ???
Maybe your SPI lines too long.
Try to run SPI on low frequency first, not more then 1MHz

lololafripouille
Posts: 231
Joined: 25 Mar 2014 17:11

Re: Riverdi Display 7 and MikroC ARM - can't get anything :(

#3 Post by lololafripouille » 20 Nov 2018 17:14

Hello,

Thank you for your help but I don't think that it is a hardware problem.
There is no need of 5V to 3.3 voltage shifter because the MCU is already powered by a 3V3 power supply.
The spi lines are very short and there is a 27 ohm series resistor on each SPI line.
I tried to reduce the SPI speed but without any result.

The thing is that the exact same configuration worked like a charme with a program made two years ago.
I have an other custom board with a dsPIC33EP with almost the same layout and it is working now but not with the ARM compiler :/

If MikroE could help me ?

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Riverdi Display 7 and MikroC ARM - can't get anything :(

#4 Post by petar.suknjaja » 21 Nov 2018 09:46

Hi,
Could you post the schematics for the board?
I'll review the project and let you know if I find something.
Kind regards,
Petar

Post Reply

Return to “Visual TFT General”