cancel
Showing results for 
Search instead for 
Did you mean: 

Programming an LCD via ST32F103ZE microcontroller

mariemzidi
Associate II
Posted on March 04, 2010 at 10:38

Programming an LCD via ST32F103ZE microcontroller

13 REPLIES 13
hervieux
Associate II
Posted on May 17, 2011 at 13:42

Hi,

I am sending an attachment, and here is the link or you can find everything you need.

http://www.st.com/mcu/devicedocs-STM32F103ZE-110.html

mariemzidi
Associate II
Posted on May 17, 2011 at 13:42

Hi Cédric,

thank you for your quick reply.

I searched in the attach which you sent to me but I didn't found what I need to program my Demo which is the DfuSeDemo.exe to install it in my computer and follow the different steps of the Demo..

hope you can find out how to do it?

Regards,

 

hervieux
Associate II
Posted on May 17, 2011 at 13:42

To set on your demo you will need DfuSe Demonstration which is present in the. Zip file attached above, as well as on the website which I quoted the link.

mariemzidi
Associate II
Posted on May 17, 2011 at 13:42

thank u Cédric

mariemzidi
Associate II
Posted on May 17, 2011 at 13:42

Hi Cédric,

I need to convert my Bitmap image into an Hex code before loading it.

Do u have plz any ideas to do it

Regards,

Mariem

hervieux
Associate II
Posted on May 17, 2011 at 13:42

Hi Hal,

Sorry I have no idea, google ... ^^

mariemzidi
Associate II
Posted on May 17, 2011 at 13:42

Hi Cédric,

I want to ask you about displaying the image on the LCD..

According to the Demo, I need to specify the Height and Width of the image which means the vertical and horizantal dimensions knowing its dimensions in pixels..

Any ideas please..

Looking forward to hearing from you

mariemzidi
Associate II
Posted on May 17, 2011 at 13:42

Hi Cédric,

I want to ask you about displaying the image on the LCD..

According to the Demo, I need to specify the Height and Width of the image which means the vertical and horizantal dimensions knowing its dimensions in pixels..

we have the function

LCD SetDisplayWindow(u16 Xpos,u8 Ypos,u8 Height,u16 Width) 

in which should precise the Width and Height of the image.

So I started by converting my Bitmap image to hexadecimal code and i used this function to display it on the screen but the problem is I have to determine these dimensions to display a clear image.

For example, I tried to display an image 17*17pixels(width and height)

and I was able to have a clear image after putting: 

 Height = 16 and Width = 32 in the LCD SetDisplayWindow function.

Do you know how to determine these dimensions????

Looking forward to hearing from you

Regards,

hervieux
Associate II
Posted on May 17, 2011 at 13:42

Hi Zidi,

I worked on this card using uClinux, and I display as an image, it has the size 320x240 (which is adapted to the screen).

Maybe this will help.

Good luck!

Cédric