MCUXpresso_LPC55S69/boards/lpcxpresso55s69/ew_gui_examples/ew_gui_waveform_generator
Yilin Sun 6e8d03ec0a Updated to SDK v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-04-12 21:21:49 +08:00
..
EmbeddedWizard Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
GeneratedCode Release v2.12.0 2022-08-23 23:05:58 +08:00
armgcc Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00
DeviceDriver.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
DeviceDriver.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
RTE_Device.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
board.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
board.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
clock_config.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
clock_config.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
ew_gui_waveform_generator_v3_14.xml Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00
ewconfig.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
ewdef.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
ewmain.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
ewmain.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
ili9341_spi.c Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00
ili9341_spi.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
main.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
pin_mux.c Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
pin_mux.h Stock SDK v2.11.0 2022-04-08 22:42:47 +08:00
readme.md Updated to SDK v2.15.000 2024-04-12 21:21:49 +08:00

readme.md

Overview

This GUI demo is developed with the Embedded Wizard GUI solution.

The sample application 'WaveformGenerator' is focused on the calculation and presentation of dynamic data as graph diagramm by using the Graphics::Path and Views::StrokePath classes.

Within this example, two data sources ("Channel1" and "Channel2") can be configured to provide a sine, square, ramp or noise signal with a certain amplitude and frequency. These two signals are then added and used to calculate the path of the graph. Each time the signal has changed, the entire path is calulated and the waveform is shown automatically.

This examples runs bare metal, but Embedded Wizard is also possible to use with FreeRTOS. Our official Build Environments, that can be downloaded as described above, includes examples and demos that illustrate the integration of FreeRTOS and can be used for your reference.

In order create your own GUI application powered by the latest version of Embedded Wizard that is suitable for the LPCXpresso55S69 Evaluation Kit, please visit https://doc.embedded-wizard.de/getting-started-lpcxpresso55s69

For this example a simulation of the user interface is also available. It can be used under following link http://www.embedded-wizard.de/NXP-SDK-Examples/LPCXpresso55S69/WaveformGenerator/Simulation/ with any web browser. The simulation uses the JS/WebGL Embedded Wizard Platform Package. For further information about Embedded Wizard, please visit our web site at https://www.embedded-wizard.de/platforms/nxp/lpc55S69

SDK version

  • Version: 2.15.000

Toolchain supported

  • GCC ARM Embedded 12.2
  • IAR embedded Workbench 9.40.1
  • MCUXpresso 11.8.0
  • Keil MDK 5.38.1

Hardware requirements

  • Micro USB cable
  • LPCXpresso55S69-EVK board
  • Personal Computer
  • Adafruit 1947 display

Board settings

  1. Connect the Adafruit 1947 display to Arduino connector.

Prepare the Demo

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
  2. Open a serial terminal with the following settings:
    • 115200 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  3. Download the program to the target board.
  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If this example runs correctly, the sample application is displayed on the LCD screen. The log below shows the output of the sample application 'WaveformGenerator' in the terminal window:

Initialize Display...                        [OK]
Initialize Touch Driver...                   [OK]
Initialize Memory Manager...                 [OK]
Initialize Graphics Engine...                [OK]
Create Embedded Wizard Root Object...        [OK]
Create Embedded Wizard Viewport...           [OK]
---------------------------------------------
Target system                                LPCXpresso55S69
Color format                                 RGB565
MemoryPool address                           0x200121A8
MemoryPool size                              179200 bytes
Scratch-pad buffer address                   0x2000A788
Scratch-pad buffer size                      15360 pixel
Framebuffer size                             320 x 48
EwScreenSize                                 240 x 320
Graphics accelerator                         none
Vector graphics support                      enabled
Warp function support                        enabled
Index8 bitmap resource format                enabled
RGB565 bitmap resource format                enabled
Bidirectional text support                   enabled
Operating system                             none
External flash device                        none
Toolchain                                    <Toolchain name>
C-Compiler version                           <C-Compiler version>
Build date and time                          <MMM DD YYYY, HH:MM:SS>
Runtime Environment (RTE) version            10.00
Graphics Engine (GFX) version                10.00
Max surface cache size                       0 bytes
Glyph cache size                             128 x 128
Max issue tasks                              60
Surface rotation                             90
---------------------------------------------