NuMaker emWin HMI

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