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
EasyPic Fusion with PIC24EP512GU810 TFT not working
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
Solved by replacing TFT_Init (320, 240) with TFT_Init_ILI9341_8bit(320, 240) in examples.
Works now!
Works now!
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
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
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
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
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!
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!
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
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
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
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
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
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
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: EasyPic Fusion with PIC24EP512GU810 TFT not working
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
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