This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR5969 working with SHARP LCD 128x128 pixel resolution display

Other Parts Discussed in Thread: ENERGIA, MSP430FR5969, MSP430-GRLIB, MSP430WARE, MSP-EXP430FR5969

I would like to know whether MSP430FR5969 launch pad can be used to program 128x128 pixel SHARP LCD LS013B7DH03 display using energia. The energia program on executing can display few lines on the display but they are not printing the text and graphics.  I guess the problem is with the library files or with the program if anyone could help me out  on this. ?

  • Hi Fredrick,

    I'm not 100% sure what code you are using, but your situation sounds a lot like this 43oh thread where someone was trying to do the same thing: http://forum.43oh.com/topic/5261-energia-sharp-memory-lcd-example-library-question/?p=46184

    If you use the MSP430ware Graphics library included in CCS you should be able to modify it for the 128x128 pixel fairly easily as described in the 43oh post I linked above. (MSP430-GRLIB can also be downloaded separately).

    As a note CCS v 6 now includes support for importing Energia sketches: http://processors.wiki.ti.com/index.php/CCSv6_Changes?keyMatch=energia&tisearch=Search-EN#Energia_Sketch_Support

    ADDED: This thread is by person who worked on community Energia library for the SHARP display - he makes it sound like it is specifically for the one on the boosterpack, and so you may have better luck with TI MSP430-GRLIB for modifying to your larger Sharp display: http://forum.43oh.com/topic/4979-sharp-memory-display-booster-pack/?p=45990

    Regards,

    Katie

  • Hi Katie ,

                   Thanks for the reply. I am trying to integrate the LCD display with Freescale k53 micro controller. Hence I am trying with IAR IDE. I couldn't find any library files for the sharp memory LCD LS013B7DH03.

    I face issues in CS chip select pins with regard to the timing patterns. 

  • Imagined: (Katie slowly raises pistol to forehead...)

    Or (poetic justice)   Freescale forum receives a similar post in which the failed interface involves a TI MCU...

    Legal training detects some conflict between poster's opening and second writing...  Suspect CS pins are only "tip" - this iceberg...

  • Hi Fredrick,

    I can only provide support for TI microcontrollers as this is the TI MSP430 forum.

    Have you switched from MSP430FR5969? In your first post it sounded like you were going to use the MSP430. If the FR5969 did not meet your needs, I'm sure we'd like to hear any feedback you might have about the device and why it didn't work out for you.

    Regards,

    Katie

  • Hi Katie ,

            Thanks for the reply. The Memory LCD I am using is a 128 x 128 resolution display. The SRAM in MSP430FR5969 is only 2kB whereas the LCD display requires more than 2KB of SRAM to process and display. I tried following the same steps as you mentioned previously in CSS. But since in my project I am using IAR IDE to run other features either energia or CSS cant be used. This made me switch to the other. But if this is possible to display my LCD in IAR using MSP430 ; then it is fine. Whereas I couldnt find enough resources on the same for 128 x 128 resolution display.

    Kindly If the above mentioned thing is possible in MSP430 share me the library files in a similar way that of the 96 x 96 memory LCD display which is available. 

    Thanks in advance,

    Fredrick 

  • Hi Fredrick,

    Is the issue you are referring to the fact that 128x128 = 16384/8bits = 2048B = 2kB, just for storing the whole contents of the display? And the FR5969 has 2kB of SRAM?

    Fortunately the MSP430FR5969 is an FRAM device! FRAM is non-volatile, but it gets accessed just like RAM (no erasing before writing, etc) and has access speeds similar to RAM. This unified memory gives you the flexibility to use some of your FRAM like SRAM to store variables, buffers, etc, and still use the rest of it to store your program code, constants, etc. This means you aren't really limited to the 2kB of SRAM on the part. FRAM is perfect for storing a large display memory buffer like this so that it doesn't take up all of your SRAM. Please see MSP430 FRAM Technology - How To and Best Practices: www.ti.com/lit/pdf/slaa628 for more information about FRAM.

    So this will allow you to put the display buffer in FRAM instead of SRAM, so you should still have enough space to run this display on the MSP430FR5969. There is even already an example doing this (using FRAM for the display buffer) in the MSP430-GRLIB examples that I pointed you to before - http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/Graphics_Library/latest/index_FDS.html This stand-alone download includes example projects for IAR (since you mentioned in  your last post that you want to use IAR) - I had recommended CCS before since you had mentioned Energia at the beginning of the thread, but MSP430-GRLIB can be used with either CCS or IAR.

    Open the MSP-EXP430FR5969 with Graphics Library example (in the GRLIB download I linked, under Examples\MSP-EXP430FR5969_Grlib_Example) - you'll see there's an example both for CCS or IAR. If you go into the file HAL_MSP-EXP430FR5969_Sharp96x96.h, you'll see that there is a #define NON_VOLATILE_MEMORY_BUFFER and NON_VOLATILE_MEMORY_ADDRESS. These #defines are then used in the file Sharp96x96.c to place the DisplayBuffer array into FRAM so that it won't take up all of your RAM.

    So you should be able to take this existing Sharp96x96 + MSP-EXP430FR5969 MSP430-GRLIB example, and use that as a base that you can modify for supporting your 128x128 display as discussed in the posts above. The changes shouldn't be too much since the writes to the display etc should be the same format.

    I hope this helps get you up and running with the MSP430FR5969 with your display.

    Regards,

    Katie

  • Hi Katie,

                    Thanks I got it done. 

**Attention** This is a public forum