gentleman1408 0 Posted August 31, 2013 Share Posted August 31, 2013 First success I've seen the first thing on my Display but then nothing happens's any more... is the spi speed maybe a reason? 500ns Period -> 4 Mhz? Quote Link to post Share on other sites
RobG 1,892 Posted September 1, 2013 Author Share Posted September 1, 2013 I have used them with 16MHz clock and they were fine. Which display do you have? This is how I got my F5172 dev board to work with this library (pin compatible with G LP.) I removed clock setting lines, commented out HARDWARE_SPI define, changed include from msp430g2553 to msp430f5172, removed all SEL2 references. Also, since by default MCU runs @1MHz, all delays had to be decreased at least 16x. Above steps result in very slow drawing speed, but you will have confirmation that your display works. Quote Link to post Share on other sites
gentleman1408 0 Posted September 1, 2013 Share Posted September 1, 2013 1.8TFT SPI 128*160 from ebayIt have the ST7735 Controller. The Display works with an Arduino and the adafruit lib. I am not sure if the controller is depending on time? That the init seq for the controller is to slow. Quote Link to post Share on other sites
RobG 1,892 Posted September 1, 2013 Author Share Posted September 1, 2013 OK, I just realized that my newest library is not yet 100% compatible with ST7735 (though it does work to some extent.) Try using older library (050613files.zip) Quote Link to post Share on other sites
gentleman1408 0 Posted September 3, 2013 Share Posted September 3, 2013 Hi Rob, Do you tested this "older" Code from you with a ST7735R ? I've traced my SPI Signal and i think everything is right... but i'm not sure if the delay timing is correct. What the peaks are you can see on the right side in the table. MISO is not connected -> FF The clock runs with 1Mhz Quote Link to post Share on other sites
gentleman1408 0 Posted September 3, 2013 Share Posted September 3, 2013 You use 3 Wire SPI without the CS, is that correct? I've seen a trace from an arduino with CS ? Do you now what the difference is between the st7735 and the st7735R ? I've got the R. I've compare your init-seq with the one from the arduino and it's not the same. Quote Link to post Share on other sites
RobG 1,892 Posted September 3, 2013 Author Share Posted September 3, 2013 All SPI devices must use CS and it is used in my library. Yes, "older" code does work with ST7735R (see video below) Some init sequences are different because they might use diff set of features or (redundantly) set default values. Quote Link to post Share on other sites
gentleman1408 0 Posted September 3, 2013 Share Posted September 3, 2013 It WORKS !!!!!!!!!!!!!!!!!!!! :grin: I've to use the Hardreset pin before i start the init THANK YOUUUU !!! If you want, i can send you the code. Then you have a example for an msp430f5310. Quote Link to post Share on other sites
RobG 1,892 Posted September 3, 2013 Author Share Posted September 3, 2013 I have Fxxx library pretty much ready to go (ready support for F5172, F5510, F5529,) but in the process, I discovered a bug in UCLCD16 library. Quote Link to post Share on other sites
RobG 1,892 Posted September 4, 2013 Author Share Posted September 4, 2013 New version of the library is available. To download and to see what's new, go to the first post. Quote Link to post Share on other sites
gentleman1408 0 Posted September 8, 2013 Share Posted September 8, 2013 Hi, i tried to use the tool and get code, but it's not working and i don't know why, have someone of you tried it like "username" and can give me a code example ? greets David FYI for anyone interested in printing images to their LCD display, this tool is super useful --> http://code.google.com/p/lcd-image-converter/ . You can get the output in hex bytes. Consequently, to print a image you simply do setAddr(0, 0, LCD_WIDTH, LCD_HEIGHT); for(i=0;i<byte_array_length;i++) writeData(byte_array); Only trick with this is that we got a very small amount of flash size on the MSP430. Not even close to being able to fit a full screen generally. I've ported this lib to a cortex-m3 LPC1769 and have been playing around with it on there where I got 512kb flash size. I'd be nice to get an example up with a msp430 using a SD card and flashing an image to it. Trick with most file system like fatfs is our ram is so tiny =( . One of these days when I get abit more time i'll make it a point to try it. Anyhow, heres using that 2.2" display Cameras taking pics of LCD displays generally doesn't work too well. Looks alot better than the this pic =P Image i flashed was one I created in highschool and can be seen here: http://www.superiorgamer.deviantart.com/art/The-Empire-s-fleet-84524169 Quote Link to post Share on other sites
Ozindfw 1 Posted January 5, 2014 Share Posted January 5, 2014 I'm looking for documention on the V1.2 board - specifically schematic and parts list. I've rummaged around the forum and read this thread, but haven't spotted any. I have the board, but need to stuff it (with parts.) Oz (in DFW) Quote Link to post Share on other sites
Ozindfw 1 Posted January 5, 2014 Share Posted January 5, 2014 Never mind. Just spotted what I need on the wiki. Not sure why I didn't see it the first time. D'oh The link to the file inteh wiki is malformed - in has a spurious "f" on the end. I can't edit it to correct it. http://doc.43oh.com/BoosterPack:Universal_Color_LCD Link under hardware revisions is: http://doc.43oh.com/File:Jdt1800-v2.pngf should be http://doc.43oh.com/File:Jdt1800-v2.png Oz (in DFW) Quote Link to post Share on other sites
DrDay 0 Posted February 21, 2014 Share Posted February 21, 2014 Rob, I just bought a display that uses the ST7735 (B actually, which I'm not sure exactly what the difference is compared to the R) and my launchpad is the MSP430F5529. I noticed on the opening page that you are still dealing with some bugs with this combination. Any chance you have solved those since September? -Edit, just saw the second thread in the forum with the updated libraries. I managed to completely ignore the bold red font that links to it last night Quote Link to post Share on other sites
Quoctoandt2 0 Posted May 16, 2014 Share Posted May 16, 2014 hello guy port 1 of msp430g2553 is full, so can i use port 2 for lcd nokia 6100 ? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.