• Welcome to Andy's Workshop Forums. Please login or sign up.
 
April 29, 2024, 04:06:18 am

News:

SMF - Just Installed!


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - NorwE

1
Hi!  :)
Thanks for a great and informative site. A lot of interesting projects, libraries and resources :)

I have 3 pcs of a  480x272 tft panel board controlled by stm32F103vet6  and the display controller ssd1963. It is designed to be a slave and receive byte commands over serial from another mcu (e.g. arduino etc) to do drawing, text, pictures, video, audio etc. Picture of the stm32: https://drive.google.com/open?id=0B7STUO-RlvwCT0hBcVM5bFZ4c28

I found the orignal setup a bit limited and when I found this site and the ssd1963 example I decided to try to program the onboard stm32F103vet6 directly. Got that working over usart1 by removing the BOOT0 resistor and transfer hex with ST Flash loader program.

I'm now facing some issues and hoping for some advice. I get the stm32plus ssd1963 example running, just dont get anything other than backlight, a white screen.
Example code from the stm32plus library: https://github.com/andysworkshop/stm32plus/blob/master/examples/ssd1963/ssd1963.cpp
Build the library using this command: scons mode=debug mcu=f1hd hse=12000000 install INSTALLDIR=~/install/stm32plus and tested the blink example succesfully.

I looped the card to check connections between the mcu and ssd1963. It is connected as in the stm32plus library example, except from these:

-Backlight is on PB0 and reset from ssd1963 is connected to PB12. I have used this temporary solution for backlight:
  //DefaultBacklight backlight;  //removed all use of the backlight object - where is DefaultBacklight defined?

Added PB0 as digital output GpioB<DefaultDigitalOutputFeature<0,12> > pb;
pb[0].set(); //backlight on


-For reset I changed the GpioB to 12 as above and changed the LcdAccessMode arguments:
_accessMode=new LcdAccessMode(fsmcTiming,16,pb[12]); //pe[1]

D12-D15 is connected:
* PE15 => D12
* PD08 => D13
* PD09 => D14
* PD10 => D15

In the example I find this note:
* The SSD1963 driver is configured to transfer data using
* D0..D11.
* Do not connect FSMC pins D12..D15.

Any suggestions to what I can try? Is the use of full backlight likely to give problems or that I ave a different pin for the reset?
I also dont understand the reason for only using 12 data pins for the 16bit communication?

Thanks in advance  :)