TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42559 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

SSD1963 Driver 7 inches, 800x480, 16 bits PMP for PIC32

Rating:

0

Author: Serge Tremblay

Last Updated: 2016-04-30

Package Version: 1.0.0.0

Category: Graphics & LCD

Downloaded: 3594 times

Not followed.

License: MIT license  

Here is my modified version of the __Lib_TFT_Defs.c library of the PIC32 C compiler. It permit to use the SSD1963 display in 800x480 16 bits mode with Visual TFT.

Abuse Reported

Do you want to subscribe in order to receive notifications regarding "SSD1963 Driver 7 inches, 800x480, 16 bits PMP for PIC32" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "SSD1963 Driver 7 inches, 800x480, 16 bits PMP for PIC32" changes.

Do you want to report abuse regarding "SSD1963 Driver 7 inches, 800x480, 16 bits PMP for PIC32".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

SSD1963

SSD1963

SSD1963 7 inches 16 bits

View full image

Here is my modified version of __Lib_TFT_Defs.c for the PIC32 C compiler. Now with this version it is possible to use with Visual TFT, the popular 7inches 800x480 display found on this page.

http://www.bestelecs.com/wiki/index.php?title=7_inch_TFT_LCD_Controller_Board

For my test I used the 16 bits PMP of a PIC32.

With this file given by the Mikroe Team http://www.mikroe.com/forum/viewtopic.php?f=160&t=51033#p199829
you can add you custom SSD1963 16 bits board to VTFT. This file will not be required after the next update of Visual TFT.

Here is my custom Init code for 16 bits PMP

void Init_MCU() {
  PMMODE = 0;
  PMAEN  = 0;
  PMCON  = 0;  // WRSP: Write Strobe Polarity bit
  PMMODEbits.MODE = 2;     // Master 2
  PMMODEbits.WAITB = 0;
  PMMODEbits.WAITM = 1;
  PMMODEbits.WAITE = 0;
  PMMODEbits.MODE16 = 1;   // 16 bit mode
  PMCONbits.CSF = 0;
  PMCONbits.PTRDEN = 1;
  PMCONbits.PTWREN = 1;
  PMCONbits.PMPEN = 1;
  TP_TFT_Rotate_180(0);
  TFT_Set_Active(Set_Index,Write_Command,Write_Data);
}

Replace the original Set_Index, Write_Command and Write_Data with these ones

void Set_Index(unsigned short index) {
  TFT_RS = 0;
  PMDIN = index;
  TFT_RS = 1;
}

void Write_Command( unsigned short cmd ) {
  PMDIN = cmd;
}

void Write_Data(unsigned int _data) {
  PMDIN = _data;
}

Add this Set_BackLight function

void Set_BackLight(unsigned short Bkl)
{
 TFT_CS = 0;
 Set_Index(0xBE);                //set PWM for B/L
 Write_Command(0x06);
 Write_Command(Bkl);
 Write_Command(0x01);
 Write_Command(0xf0);
 Write_Command(0x00);
 Write_Command(0x00);
 TFT_CS = 1;
}

Don't forget to call Set_BackLight after the initialization code

Set_BackLight(0x80);

Toley 2012-11-07

ALSO FROM THIS AUTHOR

RGB Led Controller Android version

0

A RGB Led is controlled by an Android phone with bluetooth communication.

[Learn More]

Fusion for ARM v8 CEC1302 VTFT and Gesture Demo

0

Fusion for ARM v8 VTFT definition Pattern and gesture demo for the CEC1302 MCU.

[Learn More]

RGB Led Controller Visual TFT version

0

This project show how to use progress bar as slider in Visual TFT. A RGB led is connected to 3 PWM output and display the same color as the Sliders.

[Learn More]