New library for LCD FT8XX STM32

Discussions about the STM32generic core
User avatar
lightcalamar
Posts: 35
Joined: Tue Mar 28, 2017 3:15 pm

Re: New library for LCD FT8XX STM32

Post by lightcalamar » Wed Jul 26, 2017 10:21 pm

Last week the FT81x team managed to obtain for the entire STM32F103x family working properly our library, including microSD reader for the families of FT8XX screens.
It's been a hard day but we've got it and working well.
In representation of the FT81x Team, our library is in this link;

Library GD23STM32_F103

Modify the first link in this thread. Put a new video demonstration of it soon.

Past this border, we go to get library for MCUś STM32F407 soon ...

User avatar
lightcalamar
Posts: 35
Joined: Tue Mar 28, 2017 3:15 pm

Re: New library for LCD FT8XX STM32

Post by lightcalamar » Mon Jul 31, 2017 10:51 pm

Team FT81x work hard on getting library.
But look, not be important in your forum, we Spanish Team.

We have managed to make it work in any F103 family, the FTDI FT8XX screens with SD reader.

On the other hand your forum will only focus on ILI9341 and / or ILI9325 screens that will make the Team laugh. :) to us to produce much laughter, you do not know or deepen, but be the forum system. We respect. . . .


In first mesaje in representation of the Team FT81x say us to interest boards or CPU F103, and to obtain success. We go for the GREAT F407 and almost get the goal.

Team FT81x be raising, and thanks for this forum, do not pubricate our next advances, in the near future (days, or weeks) at least in the family STM32F407xxxx

However we publish, we entrust this public library, the future, possibly not. :D

raufjay
Posts: 2
Joined: Wed Feb 03, 2016 3:31 am

Re: New library for LCD FT8XX STM32

Post by raufjay » Wed Sep 20, 2017 3:30 am

Hello Spanish friend,
I am from Canada. I downloaded your latest library GD23STM32_F103x from your github page. But when I tried to compile any example, I use to get some errors. Some of them are as per the followings:

In HelloWorld example:
--------------------------------------
Arduino: 1.6.5 (Windows 8.1), Board: "Generic STM32F103C series, STM32F103CB (20k RAM. 128k Flash), Serial, 72Mhz (Normal)"

Build options changed, rebuilding all

Using library SPI in folder: C:\Rauf\development\Arduino\arduino-1.6.5\hardware\Arduino_STM32\STM32F1\libraries\SPI

Using library GD23STM32_F103x in folder: C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x (legacy)

In file included from Helloworld.ino:3:0:
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:650:18: error: 'File' has not been declared
byte loadSdFat(File& archive, void (*progress)(long, long) = NULL);
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:654:22: error: 'File' has not been declared
void safeloadSdFat(File& archive);
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:1196:3: error: 'File' does not name a type
File archive;
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h: In member function 'void StreamerSdFat::begin(const char*, uint16_t, byte, uint32_t, uint16_t)':
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:1144:2: error: 'archive' was not declared in this scope
archive.open(rawsamples, O_RDONLY);
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h: In member function 'int StreamerSdFat::feed()':
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:1173:7: error: 'archive' was not declared in this scope
archive.read(buf,512);
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:1181:9: error: 'archive' was not declared in this scope
return archive.position() - archive.size();
^
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h: In member function 'void StreamerSdFat::progress(uint16_t&, uint16_t&)':
C:\Rauf\development\Arduino\arduino-1.6.5\libraries\GD23STM32_F103x/GD23STM32.h:1185:15: error: 'archive' was not declared in this scope
uint32_t m = archive.size();
^
Multiple libraries were found for "SPI.h"

Used: C:\Rauf\development\Arduino\arduino-1.6.5\hardware\Arduino_STM32\STM32F1\libraries\SPI

Not used: C:\Rauf\development\Arduino\arduino-1.6.5\libraries\SparkFun_MPU-9250_Breakout_Arduino_Library-master

Error compiling.

I am using HOTMCU 4.3" with FT800 board. And am using STM32F103 blue pill generic board with arduino 1.6.5.

Any idea?

Thank you,

Rauf

victor_pv
Posts: 1743
Joined: Mon Apr 27, 2015 12:12 pm

Re: New library for LCD FT8XX STM32

Post by victor_pv » Wed Sep 20, 2017 4:53 am

Rauf looks like you may need the SDFat library, do you have it in your libraries folder?

victor_pv
Posts: 1743
Joined: Mon Apr 27, 2015 12:12 pm

Re: New library for LCD FT8XX STM32

Post by victor_pv » Wed Sep 20, 2017 5:16 am

lightcalamar wrote:
Mon Jul 31, 2017 10:51 pm
Team FT81x work hard on getting library.
Good job porting the library. You could improve the performance of your library with a few small changes, and perhaps be able to play the jpgs with a frame rate more similar to teensy.
You have a lot block reads and transfers in loops sending 1 byte at a time repeatedly. The SPI library has functions to read and write a buffer of X bytes all at once, and on top there are functions to do so with DMA transfers that speed it up even a bit more.

Functions like this:
https://github.com/lightcalamar/GD23STM ... ing.h#L139

Or this:
https://github.com/lightcalamar/GD23STM ... ing.h#L228

Could be much faster sending a buffer at once rather than byte by byte.

Also seems like you may have a bug in this line:
https://github.com/lightcalamar/GD23STM ... ring.h#L46
The text says you are adjusting to 10.5Mhz, but the number is actually 105 000 000, so 105Mhz.

TFTLCDCyg
Posts: 7
Joined: Tue Sep 20, 2016 5:06 pm

Re: New library for LCD FT8XX STM32

Post by TFTLCDCyg » Wed Sep 20, 2017 7:58 am

We have to put in context some conditions:

CoreSTM: Core generic of danieleff
SdFat library: present in the core generic of danieleff
EEPROM library: AT24Cxx to manage calibration of the tactil screen

This is a work in progress. Enthusiasts of the FT8XX screens can follow us on our page and forum: http://ft81xmania.com/comunidad/

You can download the library (that we calling GD2UB) and the additional libraries.

We appreciated any suggestions to improve the library.

At this moment our team has been work hard in order to make that the library can be 100% functional on boards like F103X, F407X and in the last week on the F429ZI-DISCO.

This is an example with FT813 of 5" and M4-DEMO board
https://www.youtube.com/watch?v=JjzhNjXjwrU

Image

Thanks to RogerClark and danieleff for your great effort in this amazing forum.

Best Regards from México

User avatar
lightcalamar
Posts: 35
Joined: Tue Mar 28, 2017 3:15 pm

Re: New library for LCD FT8XX STM32

Post by lightcalamar » Wed Sep 20, 2017 8:18 am

Hello everyone.

The FF81x Team is working very hard and already have a new library from this previous. We have created a space where we already have everything prepared and many new features.
Be correcting error and more functions. We have managed to operate all family FTDI screens and used various core for example STM32_duino and STM32GENERIC and adapt the families STM32 F103, F407 and F429 and future F7xx

Ask for a little patience. Our new generation library name GD2UB, have same feature as predecessor GD23STM32

In our forum are working for these improvements. Link; https://ft81xmania.com/

Image

New github for library GD2UB; https://github.com/Ft81xMania
Forum; https://foro.ft81xmania.com/
Channel YouTube; Movies FT81xMania

RndMnkIII
Posts: 2
Joined: Mon Jul 17, 2017 9:54 pm

Re: New library for LCD FT8XX STM32

Post by RndMnkIII » Wed Sep 20, 2017 1:39 pm

Always have room for improvement.The library is designed to be use joined with STM32CORE files with Arduino IDE which needs to be installed before. More information about this in
https://ft81xmania.com/comunidad

User avatar
lightcalamar
Posts: 35
Joined: Tue Mar 28, 2017 3:15 pm

New library for LCD FT8XX STM32

Post by lightcalamar » Thu Sep 21, 2017 7:29 pm

New HOWTO library for FTDI, screen FT800 with Blue Pill STM32F103C8T6

Link; https://ft81xmania.com/comunidad/Tema-H ... -Blue-Pill

User avatar
lightcalamar
Posts: 35
Joined: Tue Mar 28, 2017 3:15 pm

Re: New library for LCD FT8XX STM32

Post by lightcalamar » Wed Sep 27, 2017 7:07 am

victor_pv wrote:
Wed Sep 20, 2017 5:16 am
Also seems like you may have a bug in this line:
https://github.com/lightcalamar/GD23STM ... ring.h#L46
The text says you are adjusting to 10.5Mhz, but the number is actually 105 000 000, so 105Mhz.
Thank you. for reporting, we have modified this error. Thank you

Post Reply