ST AEK-LCD-DT028V1 Getting Started

ST AEK-LCD-DT028V1 Getting Started

Display expansion board with resistive touch for chorus family
Table of Contents

Advertisement

Quick Links

Getting started with the AEK-LCD-DT028V1 display expansion board with
Introduction
The
AEK-LCD-DT028V1
evaluation board hosts a 2.8" LCD display with resistive touch for a graphical user interface (GUI)
which interacts with SPC58 MCU discovery boards. It aims at providing, in the prototyping phase, a simple and fast tool to
display information or simple menus in automotive applications.
A new trend in modern vehicles calls for several auxiliary displays to complement the main infotainment system. The additional
displays are employed for status feedback reporting, for extended infotainment features like in rear-seats and for basic control to
replace standard buttons and levers like in seat adjustment, mirror positioning or headlight height adjustment.
The board can be easily evaluated thanks to a common platform consisting of
SPC5-STUDIO
based on the Eclipse platform). This tool-set facilitates the configuration of the board and the microcontroller
peripherals used and provides automatic code generation capability exploiting a template-based engine.
The
AEK-LCD-DT028V1
has a 240x320 pixels LCD resolution and interfaces with an ILI9341 IC driver, managing the display,
and a TSC2046, managing the touch feedback, via SPI communication (4 wires).
UM2939 - Rev 1 - September 2021
For further information contact your local STMicroelectronics sales office.
Figure 1.
Extended infotainment system
resistive touch for Chorus family
SPC5-STUDIO
and
AutoDevKit
UM2939
User manual
(plug-in of
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AEK-LCD-DT028V1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST AEK-LCD-DT028V1

  • Page 1: Figure 1. Extended Infotainment System

    UM2939 User manual Getting started with the AEK-LCD-DT028V1 display expansion board with resistive touch for Chorus family Introduction AEK-LCD-DT028V1 evaluation board hosts a 2.8” LCD display with resistive touch for a graphical user interface (GUI) which interacts with SPC58 MCU discovery boards. It aims at providing, in the prototyping phase, a simple and fast tool to display information or simple menus in automotive applications.
  • Page 2: Figure 2. Aek-Lcd-Dt028V1 Evaluation Board (Top And Bottom Views)

    UM2939 Figure 2. AEK-LCD-DT028V1 evaluation board (top and bottom views) Warning: AEK-LCD-DT028V1 evaluation board has not to be used in a vehicle as it is designed for R&D laboratory use only. UM2939 - Rev 1 page 2/28...
  • Page 3: Getting Started

    18-bit, and SPI communication via three or four wires. It also supports display at 65K, 262K RGB color, display rotation and scroll view. In the AEK-LCD-DT028V1 evaluation board, the communication between the ILI9341 and the external microcontroller is managed via 4-wire SPI communication. Moreover, the ILI9341 controller is configured to work in 16-bit (RGB565) mode in order to display up to 65K colors per pixel.
  • Page 4: Touch Control Circuit

    The acquisition time is included in the first eight clock cycles while the next twelve clock cycles accomplish the actual analog to-digital conversion. In AEK-LCD-DT028V1, the TSC2046 is configured to complete the conversion in thirteen clock cycles. To complete the D replay message, three more clock cycles are needed but they will be ignored by the converter.
  • Page 5: Aek-Lcd-Dt028V1 Pin-Out Description

    UM2939 Hardware overview 1.2.3 AEK-LCD-DT028V1 pin-out description Table 1. AEK-LCD-DT028V1 pin-out Symbol on PCB Description 5 V power supply Ground Chip select signal RESET Reset control signal WR/DC Data selection control signal MOSI SPI bus master output slave input SCLK...
  • Page 6: Autodevkit Software Library For Aek-Lcd-Dt028V1 Board

    UM2939 AutoDevKit software library for AEK-LCD-DT028V1 board AutoDevKit software library for AEK-LCD-DT028V1 board All the development of the drivers related to the LCD display based on AEK-LCD-DT028V1 are included in a component belonging to AutoDevKit software (STSW-AUTODEVKIT) version 1.5.0 (or higher).
  • Page 7: Usage Of Graphic And Touch Libraries Example

    This square-shaped approximation could be used also to display more complex images. In this case, the square would represent the touchable area behind the image. Figure 8. AEK-LCD-DT028V1 square-shaped touch menu representation The following steps shows how to create the code required to implement a proper detection of the blue square (bottom left one).
  • Page 8 UM2939 Usage of graphic and touch libraries example Step 1. Use the graphic library to draw the four squares representing our buttons. The required driver function is: aek_ili9341_drawRect(AEK_LCD_DEV0, 10, 80, 105, 110, ILI9341_COLOR_BLUE); and the input parameters are: *@brief Draw a Rectangle *@param[in] dev LCD_Component *@param[in] x, y...
  • Page 9: Autodevkit Ecosystem

    • PLS UDE programmer and debugger • AutoDevKit software library (STSW-AUTODEVKIT) • AEK-LCD-DT028V1 driver SPC5-STUDIO SPC5-STUDIO is an integrated development environment (IDE) based on Eclipse designed to assist the development of embedded applications based on SPC5 Power Architecture 32-bit microcontrollers.
  • Page 10: Figure 9. Selecting The Font Size File

    UM2939 AEK_LCD_DT028V1 component Step 1. Select the font file to be embedded into your application. Figure 9. Selecting the font size file Step 2. Add a row (by clicking on the + sign) in the board list for each LCD board that you would like to use. Figure 10.
  • Page 11: Figure 11. Configuration Options

    UM2939 AEK_LCD_DT028V1 component Step 4. Choose one among the following options: – LCD_DSPI + LCD_CS to use the display only, without touch feature – LCD_DSPI + LCD_CS + Enable_Touch and Sensing to use the display features with the touch detection only. Selecting this configuration, you will not be able to retrieve the X, Y coordinates. –...
  • Page 12: Aek-Lcd-Dt028V1 Sample Application

    AEK-LCD-DT028V1 Component RLA Figure 13. SPC5-STUDIO - adding AEK-LCD-DT028V1 component 1. SPC58ECxx Platform Component RLA 2. Open available components 3. AEK-LCD-DT028V1 Component RLA Step 3. Select [AEK-LCD-DT028V1 Component RLA] to open the [Application Configuration] window. UM2939 - Rev 1 page 12/28...
  • Page 13: Figure 14. Aek-Lcd-Dt028V1 Component Configuration

    Configure the board as shown in the image below. Figure 15. AEK-LCD-DT028V1 sensor configuration Step 7. Click the [Allocation] button below the AEK-LCD-DT028V1 list and click [OK] in the confirmation window. This operation delegates automatic pin allocation to AutoDevKit. UM2939 - Rev 1...
  • Page 14: Figure 16. Aek-Lcd-Dt028V1 Pinmap Configuration

    UM2939 How to create a simple AEK-LCD-DT028V1 sample application Step 8. Click on the PinMap editor icon to check that required pins have been properly allocated. Figure 16. AEK-LCD-DT028V1 PinMap configuration Step 9. Close the PinMap Editor and save the application.
  • Page 15 UM2939 How to create a simple AEK-LCD-DT028V1 sample application Step 11. Open the main.c file and include AEK-LCD-DT028V1.h file. #include "components.h" #include "aek_lcd_dt028v1.h" #include <stdio.h> void *sbrk(size_t incr) extern uint8_t __heap_base__; extern uint8_t __heap_end__; static uint8_t *p=&__heap_base__; static uint8_t *newp;...
  • Page 16: Available Demos For Aek-Lcd-Dt028V1

    AEK-LCD-DT028V1 to a USB port on your PC using a mini-USB to USB cable. Step 15. Launch SPC5-UDESTK-SW and open the debug.wsx file in the AEK-LCD-DT028V1– Application /UDE folder. Step 16. Run and debug your code. Available demos for AEK-LCD-DT028V1...
  • Page 17: Figure 17. Aek-Lcd-Dt028V1 Demo Upload (1 Of 2)

    UM2939 How to upload the demos for AEK-LCD-DT028V1 Step 2. Insert the appropriate product MCU family details. Figure 17. AEK-LCD-DT028V1 demo upload (1 of 2) Step 3. Select the desired application from the library. UM2939 - Rev 1 page 17/28...
  • Page 18: Figure 18. Aek-Lcd-Dt028V1 Demo Upload (2 Of 2)

    UM2939 How to upload the demos for AEK-LCD-DT028V1 Step 4. Click on the [Finish] button. Figure 18. AEK-LCD-DT028V1 demo upload (2 of 2) UM2939 - Rev 1 page 18/28...
  • Page 19: Available Apis

    UM2939 Available APIs Available APIs ILI9341 initialization aek_ili9341_init aek_ili9341_getScreenWidth Gets the screen width Gets the screen height aek_ili9341_getScreenHeight Sets the screen orientation aek_ili9341_setOrientation Gets the screen orientation aek_ili9341_getOrientation aek_ili9341_clearScreen Clears the screen aek_ili9341_cropScreen Crops the screen aek_ili9341_writeHLine Draws a horizontal line aek_ili9341_writeVLine Draws a vertical line aek_ili9341_drawLine...
  • Page 20: Board Versions

    UM2939 Board versions Board versions Table 2. AEK-LCD-DT028V1 versions Finished good Schematic diagrams Bill of materials AEK$LCD-DT028V1A AEK$LCD-DT028V1A schematic diagrams AEK$LCD-DT028V1A bill of materials 1. This code identifies the AEK-LCD-DT028V1 evaluation board first version. UM2939 - Rev 1 page 20/28...
  • Page 21: Regulatory Compliance Information

    UM2939 Regulatory compliance information Regulatory compliance information Formal Notice Required by the U.S. Federal Communications Commission FCC NOTICE: This kit is designed to allow: (1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and (2) Software developers to write software applications for use with the end product.
  • Page 22: Schematic Diagrams

    Schematic diagrams Figure 19. AEK-LCD-DT028V1 circuit schematic VDD5 VDD3.3 VDD5 WR-PHD Pin Header_SIL_14x1_61301411121 TP_CLK TFT_CS +VCC DCLK TP_CS TFT_RESET 2.7K TP_DIN TFT_DC TSC2046 TFT_SDI (MOSI) BUSY TP_OUT TFT_SCK DOUT TP_IRQ TFT_BLK PENIRQ TFT_SDO (MISO) 0603 VBAT IOVDD TP_CLK VREF TP_CS...
  • Page 23: Bill Of Materials

    UM2939 Bill of materials Bill of materials Table 3. AEK-LCD-DT028V1 bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code 1uF, 0805, SMD ceramic CGA4J3X7R1H105K125A 25V, +/-10% capacitor 4.7µF, 1206, C2, C3 polarized Kemet T491A475K025AT 25V, +/-10% capacitor 100nF, 0603,...
  • Page 24: Revision History

    UM2939 Revision history Table 4. Document revision history Date Revision Changes 21-Sep-2021 Initial release. UM2939 - Rev 1 page 24/28...
  • Page 25: Table Of Contents

    How to upload the demos for AEK-LCD-DT028V1 ........
  • Page 26: List Of Tables

    AEK-LCD-DT028V1 bill of materials ........
  • Page 27: List Of Figures

    AEK-LCD-DT028V1 square-shaped touch menu representation ........7...
  • Page 28 ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’...

Table of Contents