RobG 1,892 Posted May 6, 2013 Author Share Posted May 6, 2013 Well, needed to be done for the show. You don't want people to see slow graphics Quote Link to post Share on other sites
shluzzzoid 18 Posted May 15, 2013 Share Posted May 15, 2013 hello! Can I use this library for LCD HD66760? This display driver from the Sony Ericsson T68: Lcd chip: custom HD66760 (device address 0x72 )/ UC1682 I2c address:0x72 / 0x74 / 0x70 (3 chip version) Resolution: 101x80 RGB Quote Link to post Share on other sites
Attila2013 0 Posted August 9, 2013 Share Posted August 9, 2013 Hi! Have you got XPT2046 LCD driver? Please share to me! Thank's Quote Link to post Share on other sites
RobG 1,892 Posted August 9, 2013 Author Share Posted August 9, 2013 hello! Can I use this library for LCD HD66760? No, this library works with SPI displays only, you would have to add I2C (and HD66760 config) functions. Hi! Have you got XPT2046 LCD driver? You have to provide more details about your display. XPT2046 is a touch controller, not LCD driver. Attila2013 1 Quote Link to post Share on other sites
Attila2013 0 Posted August 9, 2013 Share Posted August 9, 2013 S6D1121 chip is a LCD driver? Quote Link to post Share on other sites
RobG 1,892 Posted August 9, 2013 Author Share Posted August 9, 2013 Yes, that's the driver. I don't have config for it, but you can find one from other platforms and adopt. The display board you bought uses LCD's parallel interface, so you will have to replace SPI functions with parallel. Quote Link to post Share on other sites
Attila2013 0 Posted August 9, 2013 Share Posted August 9, 2013 -- http://forum.stellarisiti.com/ Quote Link to post Share on other sites
spirilis 1,265 Posted August 9, 2013 Share Posted August 9, 2013 Please help to me! This code is 8051 and i use stellaris launcpad LM4F. How can i use Lm4f? please help! For Stellaris LM4F & Tiva TM4C stuff you might want to check this site's sister site -- http://forum.stellarisiti.com/ Quote Link to post Share on other sites
RobG 1,892 Posted August 16, 2013 Author Share Posted August 16, 2013 New version of my library is now available (see first post.) Added support for large displays, 320 x 240 Added rotation at run time Supported drivers: ILI9340/ILI9341 (2.2" 320x240) ST7735R (JD-T1800, 1.8" LCD)HX8340B (BTL221722, 2.2" without touch)ILI9225B (2.2" with touch) Quote Link to post Share on other sites
gentleman1408 0 Posted August 28, 2013 Share Posted August 28, 2013 Hi Rob and all the other, I used a MSP430F6638 100 PIN I have the following problem by building.... Description Resource Path Location Type #10010 errors encountered during linking; "USB.out" not built USB C/C++ Problem Description Resource Path Location Type #10234-D unresolved symbols remain USB C/C++ Problem Description Resource Path Location Type #20 identifier "P8SEL2" is undefined msp.c /USB line 44 C/C++ Problem Description Resource Path Location Type unresolved symbol setOrientation, first referenced in ./main.obj USB C/C++ Problem And i don't know why, #define ST7735 // use for JD-T1800 (1.8") //#define HX8340 // use for BTL221722 (2.2" without touch) //#define ILI9225 // 2.2" with touch //#define ILI9340 // 2.2" 240x320 I changed the PINS to Port 8. The following are aan "error" LCD_SPI_SEL2 |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN;//MSP.C I used your newest code I hope you can help me greatings from germany Quote Link to post Share on other sites
RobG 1,892 Posted August 29, 2013 Author Share Posted August 29, 2013 There's no PxSEL2 on F6638. I will post F5xxx compatible driver later this week, but for now, you can deleting all references to PxSEL2. Quote Link to post Share on other sites
gentleman1408 0 Posted August 30, 2013 Share Posted August 30, 2013 Oh stupid mistake.... It's still not work but i have to analyze the spi part, because with my logic analyzer i can't detect a signal And it's very nice that you want to write a f5xx driver i will need that Thank's ROBG !! Quote Link to post Share on other sites
RobG 1,892 Posted August 30, 2013 Author Share Posted August 30, 2013 Another thing you should try is to disable hardware SPI (comment out #define) Quote Link to post Share on other sites
gentleman1408 0 Posted August 30, 2013 Share Posted August 30, 2013 ? Are you sure? I think i have to change the registers or i am totally wrong? for my msp i tried to change the SPI Settings: #ifdef HARDWARE_SPI ///////////////////// // hardware SPI setup ///////////////////// // setup UCB0 //LCD_SPI_SEL |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN; //LCD_SPI_SEL2 |= LCD_SCLK_PIN + LCD_MOSI_PIN + LCD_MISO_PIN; P8SEL |= BIT1 |BIT4 |BIT5 ; UCB0CTL0 = UCCKPH + UCMSB + UCMST + UCSYNC;// 3-pin, 8-bit SPI master UCB0CTL1 |= UCSSEL_2;// SMCLK UCB0BR0 |= 0x01;// 1:1 UCB0BR1 = 0; UCB0CTL1 &= ~UCSWRST;// clear SW ///////////////////// #endif Quote Link to post Share on other sites
RobG 1,892 Posted August 30, 2013 Author Share Posted August 30, 2013 find and comment out the following line (it's in the header file) #define HARDWARE_SPI leave all #ifdef HARDWARE_SPI as they are 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.