NuMaker emWin HMI

Committer:
csyang2
Date:
Thu Feb 29 19:20:04 2024 +0800
Revision:
8:02f5b3d0cf3c
Parent:
3:ff78c029f033
Child:
10:c8165817d92a
Update README.md and remove unsupported library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
csyang2 0:9d0785906425 1 # Getting started sample with emWin simple demo on Mbed OS
csyang2 0:9d0785906425 2
csyang2 0:9d0785906425 3 This is an example to utilize emWin library to demonstrate interactive feature.
csyang2 0:9d0785906425 4
csyang2 0:9d0785906425 5 ### CLI
csyang2 0:9d0785906425 6 Target board "NUMAKER_PFM_M487" with GCC_ARM toolchain.
csyang2 0:9d0785906425 7 1. mbed target "NUMAKER_PFM_M487"
csyang2 0:9d0785906425 8 2. mbed toolchain "GCC_ARM"
csyang2 8:02f5b3d0cf3c 9 3. mbed config -G GCC_ARM_PATH "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q1-update\bin"
csyang2 0:9d0785906425 10 4. mbed compile
csyang2 0:9d0785906425 11
csyang2 0:9d0785906425 12 Target board "NUMAKER_PFM_M487" with ARM toolchain.
csyang2 0:9d0785906425 13 1. mbed target "NUMAKER_PFM_M487"
csyang2 0:9d0785906425 14 2. mbed toolchain "ARM"
csyang2 8:02f5b3d0cf3c 15 3. mbed config -G ARMC6_PATH "C:\Keil_v5\ARM\ARMCLANG\bin"
csyang2 3:ff78c029f033 16 4. mbed compile
csyang2 3:ff78c029f033 17
csyang2 2:fd584a732a41 18 Please note that the toolchain path in step 3 may be different from your environment.
csyang2 0:9d0785906425 19
csyang2 0:9d0785906425 20 ### Burn Code & Execute
csyang2 0:9d0785906425 21 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "MBED" disk.
csyang2 0:9d0785906425 22 2. Copy the built binary file into "MBED" disk on you PC.
csyang2 2:fd584a732a41 23 3. Press reset button to execute, user could test emWin simple demo.
csyang2 0:9d0785906425 24
csyang2 0:9d0785906425 25 ### Demo condition, document and link
csyang2 2:fd584a732a41 26 This demo utilizes LCD and touch to display and touch operation.
csyang2 2:fd584a732a41 27
csyang2 2:fd584a732a41 28 LCD: ILI9341 MPU-type RGB56 QVGA LCD with resistive touch panel.
csyang2 0:9d0785906425 29
csyang2 2:fd584a732a41 30 Please refer to the emWin related documents in [OpenNuvoton](https://github.com/OpenNuvoton/M480BSP) for more details!
csyang2 0:9d0785906425 31
csyang2 2:fd584a732a41 32 The link of BSP for emWin quick start guide ["M480 emWin Quick Start Guide.pdf"](https://github.com/OpenNuvoton/M480BSP)
csyang2 2:fd584a732a41 33
csyang2 2:fd584a732a41 34 The link of emWin official user manual ["UM03001_emWin5.pdf"](https://github.com/OpenNuvoton/M480BSP/tree/master/ThirdParty/emWin/Doc)
csyang2 0:9d0785906425 35
csyang2 2:fd584a732a41 36 [The link of SEGGER emWin official forum](https://forum.segger.com/index.php/Board/12-emWin-related/)
csyang2 0:9d0785906425 37
csyang2 2:fd584a732a41 38 The links of Nuvoton HMI/GUI official forum:
csyang2 2:fd584a732a41 39 [NuForum](http://forum.nuvoton.com/viewforum.php?f=31)
csyang2 2:fd584a732a41 40 [牛卧堂](http://nuvoton-mcu.com/forum.php?mod=forumdisplay&fid=86)
csyang2 2:fd584a732a41 41
csyang2 2:fd584a732a41 42 ### How to utilize emWin tool "GUIBuilder" in Windows OS?
csyang2 2:fd584a732a41 43 The link of emWin official Windows tool ["GUIBuilder"](https://github.com/OpenNuvoton/M480BSP/tree/master/ThirdParty/emWin/Tool)
csyang2 2:fd584a732a41 44
csyang2 2:fd584a732a41 45 Please refer to the chapter 4 "EMWIN GUIBUILDER" of "M480 emWin Quick Start Guide.pdf" for more details.
csyang2 0:9d0785906425 46
csyang2 0:9d0785906425 47 ### PIN
csyang2 0:9d0785906425 48 M487 TFT pin:
csyang2 0:9d0785906425 49 -------------
csyang2 0:9d0785906425 50 LCD_RS PH_3
csyang2 0:9d0785906425 51 LCD_REST PB_6
csyang2 0:9d0785906425 52 LCD_BL PB_7
csyang2 0:9d0785906425 53
csyang2 0:9d0785906425 54 M487 TOUCH pin:
csyang2 0:9d0785906425 55 ---------------
csyang2 0:9d0785906425 56 LCD_XR PB_9
csyang2 0:9d0785906425 57 LCD_YU PB_8
csyang2 0:9d0785906425 58 LCD_XL PH_4
csyang2 0:9d0785906425 59 LCD_YD PH_5
csyang2 0:9d0785906425 60
csyang2 0:9d0785906425 61 M487 EBI pin:
csyang2 0:9d0785906425 62 -------------
csyang2 0:9d0785906425 63 EBI_nRD PE_5
csyang2 0:9d0785906425 64 EBI_nWR PE_4
csyang2 0:9d0785906425 65 EBI_nCS0 PD_14
csyang2 0:9d0785906425 66 EBI_AD15 PH_11
csyang2 0:9d0785906425 67 EBI_AD14 PH_10
csyang2 0:9d0785906425 68 EBI_AD13 PH_9
csyang2 0:9d0785906425 69 EBI_AD12 PH_8
csyang2 0:9d0785906425 70 EBI_AD11 PE_0
csyang2 0:9d0785906425 71 EBI_AD10 PE_1
csyang2 0:9d0785906425 72 EBI_AD9 PE_15
csyang2 0:9d0785906425 73 EBI_AD8 PE_14
csyang2 0:9d0785906425 74 EBI_AD7 PD_9
csyang2 0:9d0785906425 75 EBI_AD6 PD_8
csyang2 0:9d0785906425 76 EBI_AD5 PG_14
csyang2 0:9d0785906425 77 EBI_AD4 PG_13
csyang2 0:9d0785906425 78 EBI_AD3 PG_12
csyang2 0:9d0785906425 79 EBI_AD2 PG_11
csyang2 0:9d0785906425 80 EBI_AD1 PG_10
csyang2 0:9d0785906425 81 EBI_AD0 PG_9