cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO ENABLE VERTICAL SCROLLING ILI9320

soobia
Associate II
Posted on July 09, 2014 at 05:57

Can any body have idea how to enable vertical scrolling in ILI9320 based TFT.

Regads

#lmgtfy #vertical-scrolling-ili9320 #rtfm
5 REPLIES 5
Posted on July 09, 2014 at 12:07

Hi siddiqui.soobia,

Are you using this TFT screen separattely or it's embedded within an ST board ?

With regards.

soobia
Associate II
Posted on July 10, 2014 at 06:56

I did not get what do you mean by embedded with the board?

I am using HY-Mini Stm32V Borad and TFT is shipped with the board.

This board using STM32f103 controlloer to drive the TFT.

Regards

Posted on July 10, 2014 at 14:23

Review the manual for your display controller.

http://www.densitron.com/uploadedFiles/Displays/Support/ILI9320DS_V0.51.pdf

Search on ''Vertical Scroll Control''

The 0x6A register controls the vertical line offset

Alternatively just memcpy() your frame buffer to accommodate a new line at the bottom.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
soobia
Associate II
Posted on July 15, 2014 at 06:58

Sir,

Plz elaborate ''Alternatively just memcpy() your frame buffer to accommodate a new line at the bottom''

I have set the values of vertical scroll registers as 

Register 61h = 0x0003(set  VLE and  REV bit to 1)

Registe 6Ah = 0x0004(Scroll 4 lines)

 

Posted on July 15, 2014 at 15:48

If you have a local frame buffer you can move the data in it around to accommodate new line(s) in the top or bottom of the frame.

The line controls on the chip allow you to roll the screen up or down, within the chip's frame buffer, you will then need to paint in new content.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..