TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136639 times)
  2. FAT32 Library (69848 times)
  3. Network Ethernet Library (55897 times)
  4. USB Device Library (46232 times)
  5. Network WiFi Library (41868 times)
  6. FT800 Library (41093 times)
  7. GSM click (28947 times)
  8. PID Library (26402 times)
  9. mikroSDK (26320 times)
  10. microSD click (25330 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: 3547 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

Rotary Encoder using CLC module

0

This is an example code using the CLC (Configurable Logic Cell) module available in newer PIC16F and PIC24F.

[Learn More]

RGB Led Controller Android version

0

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

[Learn More]

Video Poker Game

15

Classical Video Poker Game build for the PIC32MX4 and PIC32MX7 Boards. Note: The file Cards.rar needs to be uncompressed on the root of an SD card. It contains all the .bmp needed to display the cards. Edit 2012-01-09 Add a new version for the PIC32MX7 board. Use the older version for PIC32MX4.

[Learn More]