EasyPic Fusion with PIC24EP512GU810 TFT not working

General discussion on mikroC PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
yo3hjv
Posts: 2
Joined: 05 Aug 2013 15:24

EasyPic Fusion with PIC24EP512GU810 TFT not working

#1 Post by yo3hjv » 05 Aug 2013 19:35

Hello friends!
I am a happy owner of a EP Fusion board with a PIC24EP512GU810.
I am using MikroC PRO 6.0.1 in DEMO mode.
I tried to test some examples; the ADC, LED works well but when I tried the TFT examples, get no result at all.
It's something with the DEMO version or is something in the C code examples?
I read that the new TFT IC is supported in the update...

Best regards,
Adrian

yo3hjv
Posts: 2
Joined: 05 Aug 2013 15:24

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#2 Post by yo3hjv » 06 Aug 2013 11:04

Solved by replacing TFT_Init (320, 240) with TFT_Init_ILI9341_8bit(320, 240) in examples.
Works now!

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#3 Post by marina.petrovic » 06 Aug 2013 12:31

Hi,

If you have Demo limit problem, compiler should throw you an error message: "Demo limit".

If you don't have "Demo limit" error, and your TFT is not working,
you probably have new TFT display (with ILI9341 controller).

If you have new EasyTFT display on your EasyPIC Fusion v7 (with black bar on the right side and 9A mark),
please, try to change in the example, TFT_Init() routine into TFT_Init_ILI9341_8bit().

Best regards,
Marina

harvester
Posts: 2
Joined: 22 Apr 2013 09:02

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#4 Post by harvester » 17 Jan 2014 16:01

Hi my friends
i have the same proplem, i have an Easy Pic Fusion v7 with a Dspic33ep512mu810 module.
i am using the demo version of MikroC Pro for DSpic v6.0
TFT module is working fine with the HEX files coming with the CD, but when i try to compile the codes of the related HEX files, it yileds error and underlines "TFT_Init_ILI9341_8bit(320,240);"
i changed my code to "TFT_Init(320,240)" from "TFT_Init_ILI9341_8bit(320,240);" it compiled with no problem but my LCD did not work with the new hex. it is just blinking (white for 1 sec, black for 1 sec) :(

if it will help, MIO283QT-9A right on the black bar of the TFT LCD

what am i supposed to do??, please help!

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#5 Post by marina.petrovic » 20 Jan 2014 14:06

Hi,

There are two versions of TFT display. Both displays are fully hardware compatible but they are using different initialization routine.
Old version of display (with silver bar on the right side of the screen - HX8347-D display driver)
is using initialization routine called TFT_Init()
and new version (with black bar on the right side of the screen - ILI9341 display driver)
is using initialization routine called TFT_Init_ILI9341_8bit().

In order to run your new version of TFT display you will need to substitute TFT_Init() routine with TFT_Init_ILI9341_8bit() in your code and compile your project.
Make sure that your compiler (and/or Visual TFT) is up to date, so this routine is supported.
Last version of mikroC PRO for dsPIC is v6.0.1, so please, update your compiler (Help -> Check for Updates).

Best regards,
Marina

harvester
Posts: 2
Joined: 22 Apr 2013 09:02

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#6 Post by harvester » 27 Mar 2014 15:36

Hi again, Marina
As i said, my TFT LCD is working with no problem with the HEX file coming with the CD. i updated my all compilers and compiled the related code with the changings you told me. It is compiling with no problem and creating the HEX file, but when i load the new HEX file. LCD is NOT working. Only white screen i see. i did all of them with DSPIC33EP512MU810. After that, i tried all with PIC32MX795F512L as well but the result is same.
I even tried the EASY TFT examples on your website, result is still same

where am i doing mistake?
Thanks

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: EasyPic Fusion with PIC24EP512GU810 TFT not working

#7 Post by marina.petrovic » 28 Mar 2014 13:34

Hi,

Did you try the examples from EasyPIC Fusion Webpage - "9A display" folder?
http://www.mikroe.com/easypic-fusion/

In "9A folder" you can find the examples for new TFT display on EasyTFT board with ILI9341 display driver.

Best regards,
Marina

Post Reply

Return to “mikroC PRO for dsPIC30/33 and PIC24 General”