2014-05-04 09:22 PM
Can some one help me out as
I am
unable to display image on HY32D TFT.The TFT Display controller is ILI9320 and ''LCDVision'' is used to convert image into c array.
Is there any turn around to this problem ?
Hardware and other system details are ,
Hardware Board:Hy mini STM32V
Controller:STM32F103VCT6
Thanks
Regards
#image-display-on-tft2014-05-05 02:19 AM
What have you tried? Are there not drivers available from the board house?
HAOYU Electronicshttp://www.coocox.org/forum/topic.php?id=3391
http://www.micro4you.com/store/hy-mini-stm32v.html
2014-05-05 02:54 AM
Driver is available but no code to display image so I have downloaded the code from net but that is not working .
Can I get a code to display image on the said TFT.2014-05-05 03:17 AM
The function LCD_BMP of the file attached is used to display the image.
2014-05-05 03:42 AM
Forgot to attach file in previous mail
Sorry for inconvenience and refer the file attached ________________ Attachments : ili9320.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzOi&d=%2Fa%2F0X0000000bLD%2FrMcN.WlUq3dAiz.uHUpLWU4cqxb1Ck18tYQqjf67qO8&asPdf=false2014-05-05 06:17 AM
You can edit your own posts.
With the code you provided were you able to do anything with the display? Change colour? Draw lines? Observe that you have provided code using SPI to access the display, but all evidence is that is is a parallel/fsmc based display. Please look at the code/downloads at the sites I provided earlier.http://www.micro4you.com/files/Poweravr/HY-MiniSTM32V_2012.2.28.rar
2014-05-05 10:53 PM
I have used the LCD_BMPmono function of that file only.
I have used your proposed ''LCD_DrawPicture'' function of GLCD.c this function is displaying same Image multiple times on the screen. I got an ''Image'' and its ''Carray'' from internet .When I test the ''LCD_DrawPicture'' function, the image draws multiple time on the screen but when I convert the same image by myself either using ''LCDvision'' or LCD2Image converter and test the function then only dots or lines are appered . Plz suggest an'' image to c array converter'' and alsochanges in ''LCD_DrawPicture'' function to display the monochrome images My code , image i am displaying and the image Carray is attached here with for your perusal Regards. ________________ Attachments : hy32d_Display_Image.rar : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzNl&d=%2Fa%2F0X0000000bLC%2F8O3pFnGNLUFD2CqGSCJR0aqEnUiRmez7T5palXw5bLU&asPdf=false2014-05-06 08:05 AM
I don't have your board/display, but the BMP you have uses a 24-bit Colour space (RGB 8:8:8), where as the display uses 16-bit (5:6:5). The LCD_DrawPicture() function is attempting to write directly to the LCD using the data in the structure, and so it expects the data to be suitably encoded. It also doesn't appear to handle lines properly, or program the controller with window dimensions.
Generating data for the display in a C array is not a particular complicated programming task, I would typically just code my own. If you are using any number of third party tools you will need to evaluate the command line options, and associated documentation, to understand what input and output files it deals with, and how it manipulates the data or converts to different colour spaces.[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Decoding%20bmp&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx?Paged%3DTRUE%26p_StickyPost%3D%26p_DiscussionLastUpdated%3D20140503%252008%253a14%253a41%26p_ID%3D41426%26View%3D%257bF47A9ED8%252dE726%252d42BE%252dACED%252d732F13B66581%257d%26FolderCTID%3D0x012001%26PageFirstRow%3D41¤tviews=385]A long thread on bitmaps