LCD Riverdi with FT800 + ATmega128 ???

General discussion on mikroPascal PRO for AVR.
Author
Message
martgg
Posts: 18
Joined: 07 Jul 2017 15:40

LCD Riverdi with FT800 + ATmega128 ???

#1 Post by martgg » 25 Dec 2018 16:17

Help me, please, simple example !!!

Many topics, but the working example did not find.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#2 Post by stefan.filipovic » 26 Dec 2018 17:36

Hi,

Please tell me for which Riverdi display exactly you are looking for an example?

Kind regards,
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#3 Post by martgg » 27 Dec 2018 08:13

Hi,
LCD Riverdi: RVT4.3BCFWN00, but
the controller FT800.

Why is the model here?

Input signals LCD Riverdi:
• SPI: — mosi, miso, sck, ss (only SPI mode 0 is supported);
• intr — interrupt Signal (Output signal LCD), Active Low, Internally 47k Pull UP (usually not used);
• pd — power Down Signal, Active Low, Internally 47k Pull UP;
• VDD — power supply (3.3 V);
• GND — Ground.

Kind regards, Gennadiy.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#4 Post by stefan.filipovic » 28 Dec 2018 13:28

Hi,

I just made an example for Atmega128 using Riverdi Click, this display, and mikroBoard for AVR 64-pin.
Please find the project and pictures of connection in the attachment.

Kind regards,
Attachments
Pictures.zip
(7.67 MiB) Downloaded 114 times
Riverdi_FT800_ATMEGA128.zip
(246.17 KiB) Downloaded 112 times
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#5 Post by martgg » 03 Jan 2019 16:04

Happy New Year 2019!

Thanks for the example.
I'll look after January 9

Kind regards, Gennadiy.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#6 Post by stefan.filipovic » 03 Jan 2019 17:08

Hi Gennadiy,

You're welcome.

Happy New Year and kind regards,
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#7 Post by martgg » 09 Jan 2019 11:44

Hi Stefan!

I use: 5V board with a Atmega128 + 74HC125 level converter + Riverdi Break Out Board 20 + LCD RVT4.3BCFWN00.
I don't have a VisualTFT.

Corrected your example:
// TFT module connections
var FT800_RST: sbit at PORTB6_bit; // Power Down Signal (PD), Active Low
var FT800_RST_Direction: sbit at DDB6_bit; // RST - PD on Break Out Board 20
var FT800_CS: sbit at PORTB0_bit; // CS - SPI (Hard)
var FT800_CS_Direction: sbit at DDB0_bit;

var FT800_INT: sbit at PORTE7_bit;
var FT800_INT_Direction: sbit at DDE7_bit; // must as input
// TFT module connections
// Init:
DDRB := 0xFF; // set direction to be output
DDRE := 0x00;
// DDRD := 0xFF; //

But, I see the initialization of the LCD (white color) and ... everything.
I will write a simple display list by hand.

Kind regards, Gennadiy.
Last edited by martgg on 09 Jan 2019 12:21, edited 1 time in total.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#8 Post by stefan.filipovic » 09 Jan 2019 12:09

Hi Gennadiy,

I'm glad to hear that you managed to modify my example for your needs.

Kind regards,
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#9 Post by martgg » 11 Jan 2019 15:38

Who worked with the LCD on FT800 before creating the VisualTFT?

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#10 Post by stefan.filipovic » 11 Jan 2019 16:20

Hi Gennadiy,

If this is a question for MikroElektronika, I can tell you that we have released the FT800 library together with the first release of VisualTFT software.
Before that, we did not work with FT800 graphic controller.

Kind regards,
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#11 Post by martgg » 11 Jan 2019 16:29

Hi Stefan.

Thank.
This is the complete answer.

Do you have a general guide to working with the LCD on FT800 using the FT800 library?


Kind regards, Gennadiy.
Last edited by martgg on 11 Jan 2019 16:44, edited 1 time in total.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#12 Post by stefan.filipovic » 11 Jan 2019 16:32

Hi Gennadiy,

You're welcome.

Kind regards,
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#13 Post by martgg » 11 Jan 2019 16:45

Do you have a general guide to working with the LCD on FT800 using the FT800 library?

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: LCD Riverdi with FT800 + ATmega128 ???

#14 Post by stefan.filipovic » 11 Jan 2019 17:59

Hi Gennadiy,

There are several examples in the compiler that use the FT800 Library.
Also, there is a very helpful help file for this library.
Please find this help file in the attachment.

Kind regards,
Attachments
FT800_mikroPascal.zip
(436.02 KiB) Downloaded 106 times
Stefan Filipović

martgg
Posts: 18
Joined: 07 Jul 2017 15:40

Re: LCD Riverdi with FT800 + ATmega128 ???

#15 Post by martgg » 15 Jan 2019 17:07

Hi Stefan.

Thanks for the help.
This help is in the FT800 library.

Need a description on the function.

How to check the controller after initialization?
Is the controller ready for operation?
Is the REG ID value 7С?
For example in C:
chipid = Ft_Gpu_Hal_Rd8(phost, 0x102400);
while(chipid != 0x7C) {chipid = Ft_Gpu_Hal_Rd8(phost, REG_ID); }

Kind regards, Gennadiy.

Post Reply

Return to “mikroPascal PRO for AVR General”