background image

Step 4.

Click on [

+

] to add a new element to the board list.

Figure 14. 

AEK-LCD-DT028V1 component configuration

1. AEK-LCD-DT028V1 component
2. Add new element icon (+)
3. New entry

Step 5.

Double click on the newly added element to configure the board.

Step 6.

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

How to create a simple AEK-LCD-DT028V1 sample application

UM2939

 - 

Rev 1

page 13/28

Summary of Contents for AEK-LCD-DT028V1

Page 1: ...ioning or headlight height adjustment Figure 1 Extended infotainment system The board can be easily evaluated thanks to a common platform consisting of SPC5 STUDIO and AutoDevKit plug in of SPC5 STUDI...

Page 2: ...AEK LCD DT028V1 evaluation board top and bottom views Warning The AEK LCD DT028V1 evaluation board has not to be used in a vehicle as it is designed for R D laboratory use only UM2939 UM2939 Rev 1 pa...

Page 3: ...cation 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 ext...

Page 4: ...s off For X position driver 1 is off Y is selected and driver 2 is on Y turns on when power down mode is entered and PD0 0 Note 2 Drivers remain on if PD0 1 power down mode not activated until the sel...

Page 5: ...signal 6 MOSI SPI bus master output slave input 7 SCLK SPI clock signal 8 LED LCD back light control signal 9 MISO SPI bus master input slave output 10 T_SCLK Touch screen SPI clock signal 11 T_CS To...

Page 6: ...be divided into Graphic library Touch library 2 1 Graphic library The graphic library implements screen orientation basic geometric figures e g rectangles triangles circles lines and the respective fi...

Page 7: ...ch time a button is pressed Note 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...

Page 8: ...ition i move to next corner else first time save the extreme corners of the square in the xx_BlueButton variables aek_lcd_read_touch_pos AEK_LCD_DEV0 x_value y_value we are in normal touch detection p...

Page 9: ...ons created with SPC5 STUDIO 3 2 STSW AUTODEVKIT The STSW AUTODEVKIT plug in for Eclipse extends SPC5 STUDIO for automotive and transportation applications STSW AUTODEVKIT features integrated hardware...

Page 10: ...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 Adding rows Step 3 Double click on the element...

Page 11: ...he X Y coordinates LCD_DSPI Enable_Touch DSPI_Touch Sensing to use all board features Figure 11 Configuration options Note To optimize the number of the allocated pins it is possible that both LCD and...

Page 12: ...Component RLA SPC58ECxx Low Level Drivers Component RLA Note If these components are not added the other components are not visible Step 2 Add the following additional components AutoDevKit Init Pack...

Page 13: ...y added element to configure the board Step 6 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 DT028V...

Page 14: ...Close the PinMap Editor and save the application Step 10 Generate and build the application using the appropriate icons in SPC5 STUDIO The project folder will be populated with new files including ma...

Page 15: ...the orientation aek_ili9341_setOrientation AEK_LCD_DEV0 ILI9341_PORTRAIT crop screen aek_ili9341_cropScreen AEK_LCD_DEV0 aek_ili9341_getScreenWidth AEK_LCD_DEV0 aek_ili9341_getScreenHeight AEK_LCD_DEV...

Page 16: ...ouch aek_lcd_set_touchFeedback AEK_LCD_DEV0 Step 12 Save generate and compile the application Step 13 Open the BoardView Editor provided by AutoDevKit This provides a graphical point to point guide on...

Page 17: ...e 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 How to upload the demos for AEK LCD DT028V1 UM2939 R...

Page 18: ...Step 4 Click on the Finish button Figure 18 AEK LCD DT028V1 demo upload 2 of 2 UM2939 How to upload the demos for AEK LCD DT028V1 UM2939 Rev 1 page 18 28...

Page 19: ...aek_ili9341_drawString Draws a string aek_ili9341_verticalScroll Vertical scroll aek_lcd_read_touch_pos Reads the x and y coordinates of the point touched on the display The x and y coordinates are d...

Page 20: ...hed good Schematic diagrams Bill of materials AEK LCD DT028V1A 1 AEK LCD DT028V1A schematic diagrams AEK LCD DT028V1A bill of materials 1 This code identifies the AEK LCD DT028V1 evaluation board firs...

Page 21: ...However there is no guarantee that interference will not occur in a particular installation Standard applied FCC CFR 47 Part 15 Subpart B Test method applied ANSI C63 4 2014 Formal Product Notice Requ...

Page 22: ...TFT_SDO MISO TFT_DC FB1 WE CBF SMT EMI SuppressionFerriteBeadp nWurth 74279267 L1 60Ohm 2A 4 7 F C2 1206 Vin 3 Vout 0 2 GND Adj 1 LD1117S33TR U2 LD1117S33TR 10K R5 0603 100 R4 0603 Q1 STR2N2VH5 GND Y...

Page 23: ...0141 1121 Wurth Elektronik 61301411121 7 1 Q1 STR2N2VH5 SOT 23 N channel 20 V 0 025 Ohm typ 2 3 A STripFET H5 power MOSFET in SOT 23 package ST STR2N2VH5 8 1 R1 2 7K 0402 1 16W 1 SMD RESISTOR Vishay C...

Page 24: ...Revision history Table 4 Document revision history Date Revision Changes 21 Sep 2021 1 Initial release UM2939 UM2939 Rev 1 page 24 28...

Page 25: ...m 9 3 1 SPC5 STUDIO 9 3 2 STSW AUTODEVKIT 9 3 3 AEK_LCD_DT028V1 component 9 3 3 1 AEK_LCD_DT028V1 component configuration 9 4 AEK LCD DT028V1 sample application 12 4 1 How to create a simple AEK LCD D...

Page 26: ...f tables Table 1 AEK LCD DT028V1 pin out 5 Table 2 AEK LCD DT028V1 versions 20 Table 3 AEK LCD DT028V1 bill of materials 23 Table 4 Document revision history 24 UM2939 List of tables UM2939 Rev 1 page...

Page 27: ...DT028V1 square shaped touch menu representation 7 Figure 9 Selecting the font size file 10 Figure 10 Adding rows 10 Figure 11 Configuration options 11 Figure 12 Adding rows 11 Figure 13 SPC5 STUDIO a...

Page 28: ...ts and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST pro...

Reviews: