Bug GLCD ILI9341
Moderator: Benj
Bug GLCD ILI9341
Small bug found with the ILI9341 component. The CS pin is always activate (Low) after initialise with component macro. The screen intermittently freezes when CS pin stay activate (Low). I have try to deactivate (High) the CS pin after each call component macro and now all work fine. Also SCL pin is always High after call component macro but in serial interface protocole the SCL pin is Low after send data but LCD work fine.
- Attachments
-
- ILI9341_Timing.pdf
- (58.47 KiB) Downloaded 200 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bug GLCD ILI9341
Hello,
Many thanks for letting us know of the issue.
I've had a quick go at adding the chip select toggle without impacting the speed of the display too much. Would you mind having a quick look to make sure the problem is now fixed and reporting back how you get on.
Simply copy the attached file into your "Flowcode 7/components" folder and restart Flowcode if you have it running.
Many thanks for letting us know of the issue.
I've had a quick go at adding the chip select toggle without impacting the speed of the display too much. Would you mind having a quick look to make sure the problem is now fixed and reporting back how you get on.
Simply copy the attached file into your "Flowcode 7/components" folder and restart Flowcode if you have it running.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Bug GLCD ILI9341
Hi Ben!
I have made a program with a GPS and a SHT21 temp and hum sensor. Of course with the old component file, and the program/display work fine. But then I saw your new updated component, I updated in the component in the directory.
After that. I tryed to download my program (to Arduino) again, but now it doesn´t work. It initialise ok, but It does not write write texts nor write data in display from my SHT21 and GPS. It can make graphics, squares, circles ect fortunately I have saved the old file). I try to use the old component file again and then it work again
I think there still are a bug in the new component file. Please
Br jorgen
I have made a program with a GPS and a SHT21 temp and hum sensor. Of course with the old component file, and the program/display work fine. But then I saw your new updated component, I updated in the component in the directory.
After that. I tryed to download my program (to Arduino) again, but now it doesn´t work. It initialise ok, but It does not write write texts nor write data in display from my SHT21 and GPS. It can make graphics, squares, circles ect fortunately I have saved the old file). I try to use the old component file again and then it work again
I think there still are a bug in the new component file. Please
Br jorgen
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bug GLCD ILI9341
Thanks Jorgen,
Hopefully this one now solves the problem, I had missed the CS pins toggle from a couple of macros relating to printing text.
Hopefully this one now solves the problem, I had missed the CS pins toggle from a couple of macros relating to printing text.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Bug GLCD ILI9341
Hi again Ben!
Sorry. Now it look like it not can delete the screen.Old text will not be deleted, it writes on old text . And ithe display is slowly.
Br. Jorgen
Sorry. Now it look like it not can delete the screen.Old text will not be deleted, it writes on old text . And ithe display is slowly.
Br. Jorgen
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bug GLCD ILI9341
Hi Jorgen,
Did Leighs suggestion help? If not then can you go into more detail on what exactly you're seeing.
Did Leighs suggestion help? If not then can you go into more detail on what exactly you're seeing.
Sorry. Now it look like it not can delete the screen.Old text will not be deleted, it writes on old text . And ithe display is slowly.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Bug GLCD ILI9341
Hi Leigh and Ben!
I have probably not explained correctly
First, I have made little project with ILI9341 with a SHT21 and a GPS module. With the "old "ILI9341 component it work. I read temperature and humidity from the SHT21 and I read the time an date from GPS shown in the ILI9341 display. Created in FC7 and work perfect, glad, all component seem to be ok
So I think the settings for font and transparant is ok.
But, suddently;
Then I saw Berubeq discovered a bug concerning the CS pin. > Ben, you tryed to fix this, (and of course I also want the perfect coponent file in my FC7 ) and I tested the new component with my project, and downloaded in my Arduino.
But after that it was not possible to write text in the display.
Then you made a new correction again and wrote:
"Hopefully this one now solves the problem, I had missed the CS pins toggle from a couple of macros relating to printing text".
After this new correction again:
The text write on top of each other, and it look like old tekst/data not is deleted anymore. It is loooong time to start up. And I still use the same program without any changes.
But when I use the old component again, it work again.
Hope it make sense. Nice evening to your both.. Br Jorgen
I have probably not explained correctly
First, I have made little project with ILI9341 with a SHT21 and a GPS module. With the "old "ILI9341 component it work. I read temperature and humidity from the SHT21 and I read the time an date from GPS shown in the ILI9341 display. Created in FC7 and work perfect, glad, all component seem to be ok
So I think the settings for font and transparant is ok.
But, suddently;
Then I saw Berubeq discovered a bug concerning the CS pin. > Ben, you tryed to fix this, (and of course I also want the perfect coponent file in my FC7 ) and I tested the new component with my project, and downloaded in my Arduino.
But after that it was not possible to write text in the display.
Then you made a new correction again and wrote:
"Hopefully this one now solves the problem, I had missed the CS pins toggle from a couple of macros relating to printing text".
After this new correction again:
The text write on top of each other, and it look like old tekst/data not is deleted anymore. It is loooong time to start up. And I still use the same program without any changes.
But when I use the old component again, it work again.
Hope it make sense. Nice evening to your both.. Br Jorgen
- Attachments
-
- Perfect Old component.JPG (57.08 KiB) Viewed 5891 times
-
- New component.JPG (54.14 KiB) Viewed 5891 times
-
- GPS_test3Til Urprojekt.V1.05fcfx.fcfx
- (64.76 KiB) Downloaded 189 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bug GLCD ILI9341
Thanks Jorgen much clearer now
Ok I have hopefully got rid of the new kinks in the component and also hopefully also added a bit of an additional speed increase.
As always let us know how you get on.
Ok I have hopefully got rid of the new kinks in the component and also hopefully also added a bit of an additional speed increase.
As always let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Bug GLCD ILI9341
Hi ben!
Perfect, now it seems to work. I also sense it has become a bit faster. Thanks again Ben
By the way, a nice little display, and hopefully now a perfect Ili9341 component
Br Jorgen
Perfect, now it seems to work. I also sense it has become a bit faster. Thanks again Ben
By the way, a nice little display, and hopefully now a perfect Ili9341 component
Br Jorgen
Re: Bug GLCD ILI9341
Hi Benj,
The display work fine and CS pin stay High level. Now test for long time running.
Thanks
Also thanks to jgu1 to have testing all modified component.
The display work fine and CS pin stay High level. Now test for long time running.
Thanks
Also thanks to jgu1 to have testing all modified component.