Hello guys,
I'm starting in visual tft, and I have a mikromedia for pic32, and since yesterday when I started using the application I have this problem with it, I did a test example and see that rendering is not the only problem. The configurations appear to conform to the board specifications.
Problem rendering in visual tft
-
- Posts: 6
- Joined: 10 Aug 2017 21:50
Problem rendering in visual tft
- Attachments
-
- project_settings
- project_settings.PNG (178.53 KiB) Viewed 2446 times
-
- Example on the board
- 20170810_163830.jpg (1.28 MiB) Viewed 2446 times
-
- Example in visual tft
- screen.PNG (167.29 KiB) Viewed 2446 times
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: Problem rendering in visual tft
Hi,
Welcome to the MikroE forum.
I'm sorry because of this inconvenience.
Which version of the compiler are you using?
Can you please update to the newest, 4.0.0 and use integrated Visual TFT?
Then, when you compile example it should work properly.
The reason why it is not displayed properly is because
graphic controller ILI9341 was not in production
for a while, that is why it was changed with ST7789V.
But the library in the newest version is made on that way,
that it recognizes which graphic controller is in use
and therfore uses TFT_Init_ST7789V_8bit(320, 240) instead
of TFT_Init_ILI9341_8bit(320, 240).
If you still have issues, please change in ...driver.c file
Kind regards,
Lana
Welcome to the MikroE forum.
I'm sorry because of this inconvenience.
Which version of the compiler are you using?
Can you please update to the newest, 4.0.0 and use integrated Visual TFT?
Then, when you compile example it should work properly.
The reason why it is not displayed properly is because
graphic controller ILI9341 was not in production
for a while, that is why it was changed with ST7789V.
But the library in the newest version is made on that way,
that it recognizes which graphic controller is in use
and therfore uses TFT_Init_ST7789V_8bit(320, 240) instead
of TFT_Init_ILI9341_8bit(320, 240).
If you still have issues, please change in ...driver.c file
Code: Select all
TFT_DataPort at PORTE;
Lana
-
- Posts: 6
- Joined: 10 Aug 2017 21:50
Re: Problem rendering in visual tft
Very happy with the Mikroe partition, although the suggestion does not seem applicable to me, as I'm using Visual TFT v.4.6.1 and it does not have the device driver for this ST7789V controller, the closest of that is to the ST7715R, so I I believe that the version of the compiler used has no bearing on the nature of the problem. Thank you very much for your participation to finalize. My employer bought your board at this link:(https://shop.mikroe.com/mikromedia-3-pic32mx4) and the driver informed in the site specifications is ILI9341.
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: Problem rendering in visual tft
Hi,
I apologize once again for the inconvenience,
ILI9341 was not in production only for a while,
and some number of mikromedia for PIC32 boards are made with ST7789V.
Please install the newest version of the compiler:
https://shop.mikroe.com/mikroc-pic32
as administrator (unzip folder, and then right click -> Run as Administrator):
In the newest version of the compiler, new version of Visual TFT
is merged with it. In that version ST7789V is supported.
You can use the same hardware pattern in the newest version of Visual TFT
(which is merged with compiler), but when you compile it with 4.0.0 version
of the compiler it will work properly, because TFT Library is changed.
Kind regards,
Lana
I apologize once again for the inconvenience,
ILI9341 was not in production only for a while,
and some number of mikromedia for PIC32 boards are made with ST7789V.
Please install the newest version of the compiler:
https://shop.mikroe.com/mikroc-pic32
as administrator (unzip folder, and then right click -> Run as Administrator):
In the newest version of the compiler, new version of Visual TFT
is merged with it. In that version ST7789V is supported.
You can use the same hardware pattern in the newest version of Visual TFT
(which is merged with compiler), but when you compile it with 4.0.0 version
of the compiler it will work properly, because TFT Library is changed.
Kind regards,
Lana