Surenoo Ssp0096a-80160 Series Spi Tft Lcd Module User Manual

Surenoo Ssp0096a-80160 Series Spi Tft Lcd Module User Manual

Surenoo - Logo

SHENZHEN SURENOO TECHNOLOGY CO.,LTD.
Model No.: SSP0096A3A-80160

SSP0096A-80160 Series
SPI TFT LCD Module USER MANUAL
Please click the following image to buy the sample

Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Cover

SSP0096A-80160 Series SPI TFT LCD Module

Surenoo SSP0096A 80160 Series SPI TFT LCD Module - QR Code 1Surenoo SSP0096A 80160 Series SPI TFT LCD Module - QR Code 2Surenoo SSP0096A 80160 Series SPI TFT LCD Module - QR Code 3
MECARD:TEL:0086-17820607849; URL:http://www.surenoo.com; EMAIL:[email protected]; N:PotterHao;ORG:Surenoo Technology;https://wa.me/qr/4GGOIDYZ2PXXN1

http://qr.kakao.com/talk/THom9tzJN5OMzvx1vTL1V.LvnEc-

Surenoo SSP0096A 80160 Series SPI TFT LCD Module - QR Code 4Surenoo SSP0096A 80160 Series SPI TFT LCD Module - QR Code 5
https://line.me/ti/p/oas8BmVLVdhttps://u.wechat.com/EAK0B_l2YfPLwx3tRqiKkf4

Shenzhen Surenoo Technology Co.,Ltd.
www.surenoo.com
Skype: Surenoo365

Reference Controller Datasheet
SPI TFT LCD Module Selection Guide
ST7735S

Product Description

This product is a 0.96inch IPS display module, it has a resolution of 80×160.it uses a 4-wire SPI communication method and the inner IC is ST7735S.The module contains an LCD display and PCB backboard.

Product Features

  • 0.96-inch color screen, support 65K color display, display rich colors
  • 80X160 resolution, clear display
  • Large viewing angle(full angle),display color undistorted.
  • Using the 4-line-SPI serial bus, it only takes a few IOs to illuminate the display
  • Provide a rich STM32 and C51 sample program
  • Military-grade process standards, long-term stable work
  • Provide underlying driver technical support

Product Parameters

Name Description 
Display ColorRGB 65K color
SKUMSP0961
Screen Size0.96(inch)
TypeTFT
Driver ICST7735S
Resolution80*160 (Pixel)
Module Interface4-line SPI interface
Active Area10.80×21.70 (mm)
Touch Screen Typehave no touch screen
Touch IChave no touch IC
Module PCB Size30.00×24.04 (mm)
Angle of viewall angle
Operating Temperature-10℃~60℃
Storage Temperature-20℃~70℃
Operating Voltage3.3V
Power ConsumptionTBD
Product Weight(With packaging)8(g)

Interface Description

Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Interface Description 1

Picture1. Module pin Label picture

important:

  1. The following pin numbers 1~8 refer to the module pin numbers of our company with PCB backplane. If you are buying a bare screen, please refer to the pin definition of the bare screen specification, refer to the wiring according to the signal type instead of directly according to the following. The module pin number is used for wiring. For example: CS is 7 feet on our module. It may be x pin on different size bare screen.
  2. About VCC supply voltage: The IPS display module can only be connected to 3.3V.
  3. About backlight voltage: The module with PCB backplane has integrated triode backlight control circuit, only need to input high level or PWM wave on BL pin to backlight. If you are buying a bare screen, the LEDAx is connected to 3.0V-3.3V, and the LEDKx can be grounded.
    Number Module Pin Pin Description 
    1GNDLCD Power ground
    2VCCLCD power supply is positive (3.3V)
    3SCLLCD SPI bus clock signal
    4SDALCD SPI bus write data signal
    5RESLCD reset control signal(Low level reset)
    6DCLCD register / data selection control signal (Low level: register, high level: data)
    7CSLCD selection control signal(Low level enable)
    8BLKLCD backlight control signal (high level lighting, if you do not need control, please connect 3.3V)

Hardware Configuration

The LCD module hardware circuit comprises two parts: an LCD display control circuit and a backlight control circuit.
The LCD display control circuit is used to control the pins of the LCD, including control pins and data transfer pins.
The backlight control circuit is used to control the backlight to be on and off. Of course, if the backlight is not required to be be on and off, can be directly connected to the 3.3V power supply.

working principle

  1. Introduction to ST7735S Controller
    The ST7735S controller supports a maximum resolution of 132*162 and a 48114-byte GRAM. It also supports 8-bit, 9-bit, 16-bit, and 18-bit parallel port data buses. It also supports 3-wire and 4-wire SPI serial ports. Since parallel control requires a large number of IO ports, the most common one is SPI serial port control. The ST7735S also supports 65K, 262K RGB color display, display color is very rich, while supporting rotating display and scroll display and video playback, display in a variety of ways.
    The ST7735S controller uses 16bit (RGB565) to control a pixel display, so it can display up to 65K colors per pixel. The pixel address setting is performed in the order of rows and columns, and the incrementing and decreasing direction is determined by the scanning mode. The ST7735S display method is performed by setting the address and then setting the color value.
  2. Introduction to SPI communication protocol
    The 4-wire SPI bus write mode timing is shown in the following figure:
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - working principle 1CSX is a slave chip select, and the chip is enabled only when CSX is low. D/CX is the data/command control pin of the chip. When DCX is low, the command is written. When it is high, the data is written.
    SCL is the SPI bus clock, and each rising edge transmits 1 bit of data;
    SDA is the data transmitted by SPI, and it transmits 8-bit data at a time. The data format is as shown below:
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - working principle 2The high position is in front and transmitted first.
    For SPI communication, the data has a transmission timing, that is, a combination of clock phase (CPHA) and clock polarity (CPOL):
    The CPOL level determines the idle state level of the serial synchronous clock, CPOL = 0, which is low. CPOL does not have a lot of impact on the transport protocol; The level of CPHA determines whether the serial synchronous clock is acquired on the first clock transition edge or the second clock transition edge.
    When CPHL = 0, data acquisition is performed on the first edge of the transition;
    The combination of the two becomes the four SPI communication methods. SPI0 is usually used in China, that is, CPHL = 0, CPOL = 0.

Instructions for use

  1. STM32 instructions
    Wiring instructions:
    See the interface description for pin assignments.
    Number Module Pin Corresponding to MiniSTM32 development board wiring pin 
    1GNDGND
    2VCC3.3V
    3SCLPB13
    4SDAPB15
    5RESPB12
    6DCPB10
    7CSPB11
    8BLKPB9

    STM32F103ZET6 microcontroller test program wiring instructions

    Number Module Pin Corresponding to Elite STM32 development board wiring pin
    1GNDGND
    2VCC3.3V
    3SCLPB13
    4SDAPB15
    5RESPB12
    6DCPB10
    7CSPB11
    8BLKPB9

    STM32F407ZGT6 microcontroller test program wiring instructions

    Number Module Pin Corresponding to Explorer STM32F4 development board wiring pin
    1GNDGND
    2VCC3.3V
    3SCLPB3
    4SDAPB5
    5RESPB12
    6DCPB14
    7CSPB15
    8BLKPB13

    STM32F429IGT6 microcontroller test program wiring instructions

    Number Module Pin Corresponding to Apollo STM32F4/F7 development board wiring pin
    1GNDGND
    2VCC3.3V
    3SCLPF7
    4SDAPF9
    5RESPD12
    6DCPD5
    7CSPD11
    8BLKPD6

    STM32F767IGT6 and STM32H743IIT6 microcontroller test program wiring instructions

    Number Module Pin Corresponding to Apollo STM32F4/F7 development board wiring pin
    1GNDGND
    2VCC3.3V
    3SCLPB13
    4SDAPB15
    5RESPD12
    6DCPD5
    7CSPD11
    8BLKPD6

    Operating Steps
    A. Connect the IPS module and the STM32 MCU according to the above wiring instructions, and power on;
    B. Select the test example according to the model of the microcontroller, as shown in the following figure: (Please refer to the test program description document in the test package for the test program description)
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Instructions for use 1C. Open the selected test program project, compile and download; detailed description of the STM32 test program compilation and download can be found in the following document: http://www.lcdwiki.com/res/PublicFile/STM32_Keil_Use_Illustration_EN.pdf
    D. If the IPS module displays characters and graphics normally, the program runs successfully

  2. C51 instructions
    Wiring instructions:

    See the interface description for pin assignments.
    STC89C52RC and STC12C5A60S2 microcontroller test program wiring instructions
    Number Module Pin Corresponding to STC89/STC12 development board wiring pin
    1GNDGND
    2VCC3.3V
    3SCLP17
    4SDAP15
    5RESP33
    6DCP12
    7CSP13
    8BLKP32

    Operating Steps
    A. Connect the IPS module and the C51 MCU according to the above wiring instructions, and power on;
    B. Select the C51 test program to be tested, as shown below: (Please refer to the test program description document in the test package for the test program description)
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Instructions for use 2C. Open the selected test program project, compile and download; detailed description of the C51 test program compilation and download can be found in the following document: http://www.lcdwiki.com/res/PublicFile/C51_Keil%26stc-isp_Use_Illustration_EN.pdf
    D. If the IPS module displays characters and graphics normally, the program runs

Software Description

  1. Code Architecture
    A. C51 and STM32 code architecture description
    The code architecture is shown below: Sample code
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 1The Demo API code of the main program runtime is included in the test code; LCD initialization and related operations are included in the LCD code; Drawing points, lines, graphics, and Chinese and English character display related operations are included in the GUI code;
    The main function implements the application to run;
    Platform code varies by platform;
    SPI initialization and configuration related operations are included in the SPI code; The key processing related code is included in the key code (the C51 platform does not have a button processing code);
    The code related to the led configuration operation is included in the led code;
  2. software SPI and hardware SPI description
    The IPS module provides software SPI and hardware SPI sample code (except STC89C52RC, because it does not have hardware SPI function, the hardware SPI function of STC12C5A60S2 is error for testing and need to be connected a level conversion module,so the program isn’t support), the two sample code does not make any difference in the display content, but the following aspects are different:
    A. display speed
    The hardware SPI is significantly faster than the software SPI, which is determined by the hardware.
    B. GPIO definition
    The software SPI all control pins must be defined, any idle pin can be used, the hardware SPI data and clock signal pins are fixed (depending on the platform), other control pins should be defined by themselves, or any idle reference can be used. foot.
    C. initialization
    When the software SPI is initialized, only the GPIO for pin definition needs to be initialized (not required by the C51 platform). When the hardware SPI is initialized, the relevant control registers and data registers need to be initialized.
  3. GPIO definition description
    A. STM32 test program GPIO definition description

    The STM32’s LCD non-SPI GPIO definition is placed in lcd.h as shown below(take STM32F407ZGT6 microcontroller FSMC test program as an example):
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 2All pin definitions can be modified and can be defined as any other free GPIO. The GPIO definition of the STM32 LCD SPI is placed in spi.h as shown below(take STM32F407ZGT6 microcontroller FSMC test program as an example):
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 3If the software SPI is used, all pin definitions can be modified and can be defined as any other free GPIO.
    If hardware SPI is used, these pins do not need to be defined. At the same time, the SCLK, MISO and MOSI pins need to be initialized and removed in the LCD_ GPIO Init function in the lcd.c file, as shown in the following figure(take STM32F407ZGT6 microcontroller FSMC test program as an example):
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 4The contents of the red circle must be removed.
    B. C51 test program GPIO definition description
    C51 test program GPIO definition is placed in the lcd.h file, as shown below:
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 5If the software SPI is used, all pin definitions can be modified and can be defined as any other free GPIO.
    If hardware SPI is used, the LCD_BL, LCD_RS, LCD_CS, and LCD_RST pin definitions can be modified and can be defined as any other free GPIO. LCD_CLK and LCD_SDI do not need to be defined.
  4. SPI communication code implementation
    A. STM32 test program SPI communication code implementation

    Hardware SPI communication is implemented by the system. We only need to operate the register and call the relevant function. For details, please refer to the MCU related documentation.
    The software SPI communication code is implemented in spi.c ,as shown in the following figure:
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 6If the transmitted data bit is 1, the SPI data pin is pulled high. When it is 0, the SPI data pin is pulled low, one byte of data is transferred each time, the upper bit is first, and one bit of data is transmitted on each rising edge of the clock.
    B. C51 test program SPI communication code implementation
    The software SPI communication code is implemented in lcd.c ,as shown in the following figure:
    Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Software Description 7If the transmitted data bit is 1, the SPI data pin is pulled high. When it is 0, the SPI data pin is pulled low, one byte of data is transferred each time, the upper bit is first, and one bit of data is transmitted on each rising edge of the clock.

Common software

This set of test examples requires the display of Chinese and English, symbols and pictures, so the modulo software is used. There are two types of modulo software: Image2Lcd and PCtoLCD2002. Here is only the setting of the modulo software for the test program.
The PCtoLCD2002 modulo software settings are as follows:
Dot matrix format select Dark code the modulo mode select the progressive mode
Take the model to choose the direction (high position first)
Output number system selects hexadecimal number
Custom format selection C51 format
The specific setting method is as follows: http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings
Image2Lcd modulo software settings are shown below:

Surenoo SSP0096A 80160 Series SPI TFT LCD Module - Common software 1

The Image2Lcd software needs to be set to horizontal, left to right, top to bottom, and low position to the front scan mode.

www.surenoo.com

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals