Dialog GreenPAK User Manual

GreenPAK Designer
User Guide
Dialog Semiconductor Corporate Headquarters
2560 Mission College Blvd Santa Clara, CA 95054 USA Phone: +1 408 845 8500
http://www.dialog­semiconductor.com
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 1
GreenPAK Designer 6.25
GreenPAK

Copyrights
Copyright © 2010-2020 Dialog Semiconductor. The information contained herein is subject to change without notice. Dialog Semiconductor assumes no responsibility for the use of any circuitry other than circuitry embodied in a Dialog product. Nor does it convey or imply any license under patent or other rights. Dialog products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Dialog. Furthermore, Dialog does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Dialog products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Dialog against all charges. GreenPAK Designer™, GreenPAK Programmer™ and GreenPAK™ are trademarks of Dialog Semiconductor. All other trademarks or registered trademarks referenced herein are property of the respective corporations. Any Source Code (software and/or firmware) is owned by Dialog Semiconductor (Dialog) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Dialog hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Dialog Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Dialog integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Dialog. Disclaimer: DIALOG MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Dialog reserves the right to make changes without further notice to the materials described herein. Dialog does not assume any liability arising out of the application or use of any product or circuit described herein. Dialog does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Dialog product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Dialog against all charges. Use may be limited by and subject to the applicable Dialog software license agreement.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 2
GreenPAK

GreenPAK Designer 6.25
Contents
1. Introduction
1.1 Application Overview ............................................................................................................................ 5
1.2 System Requirements ......................................................................................................................... 5
1.3 Support ................................................................................................................................................ 6
1.4 Acronyms.............................................................................................................................................. 6
2. GreenPAK Designer Launcher................................................................................................................... 7
3. GreenPAK Designer
3.1 GreenPAK Designer Overview............................................................................................................. 8
3.1.1 Main Menu...................................................................................................................................... 10
3.1.2 Tool Bars........................................................................................................................................ 11
3.1.3 Work Area....................................................................................................................................... 13
3.1.4 Properties Panel............................................................................................................................. 14
3.1.5 Components List............................................................................................................................. 14
3.1.6 Color Scheme................................................................................................................................. 14
3.2 Creating a Project................................................................................................................................. 15
3.2.1 Updating Existing Projects.............................................................................................................. 15
3.2.2 Lock NVM Window......................................................................................................................... 15
3.2.3 Project Settings Window................................................................................................................. 16
3.3 Configuring Chip Components............................................................................................................. 17
3.3.1 Placing Components....................................................................................................................... 17
3.3.2 Setting Chip Components Parameters........................................................................................... 17
3.4 Specifying Interconnections.................................................................................................................. 18
3.4.1 Wire Types..................................................................................................................................... 20
3.4.2 Set/Erase Label.............................................................................................................................. 22
3.5 Specifying the Pinout ........................................................................................................................... 23
3.5.1 Port Connections............................................................................................................................ 23
3.5.2 Port Drive Modes............................................................................................................................ 23
3.6 Navigation............................................................................................................................................. 24
3.7 Keyboard commands............................................................................................................................ 24
3.8 GreenPAK Designer Settings............................................................................................................... 26
3.9 Legend Box.......................................................................................................................................... 28
3.10 Updating GreenPAK Designer............................................................................................................ 29
3.11 Help Window...................................................................................................................................... 30
3.12 Demo board and Demo mode............................................................................................................ 31
3.13 Snipping Tool...................................................................................................................................... 32
3.14 EPG Waveforms Editor....................................................................................................................... 33
4. Print Function
4.1. Print Editor........................................................................................................................................... 36
4.2. Print Editor Preview Window................................................................................................................ 43
4.3. Print..................................................................................................................................................... 45
5. Rules Checker........................................................................................................................................... 46
6. GreenPAK Debug Tool
6.1. Types of Areas..................................................................................................................................... 50
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 3
GreenPAK

GreenPAK Designer 6.25
6.2. Generators........................................................................................................................................... 54
6.2.1. General Option in Signal Wizard Modes........................................................................................ 55
6.2.2. Period Modes................................................................................................................................. 57
6.2.3. Logic Generator............................................................................................................................. 59
6.2.4. I2C Generator................................................................................................................................ 60
6.2.5. Signal (Analog) Generator............................................................................................................. 62
6.2.6. Custom Signal Wizard................................................................................................................... 69
6.2.7. VDD/VDD2 Power Signal Generator............................................................................................. 72
6.3. Expansion Connector........................................................................................................................... 73
6.4. Control Panel.......................................................................................................................................... 73
7. Asynchronous State Machine
7.1. ASM block............................................................................................................................................ 84
7.2. ASM Editor........................................................................................................................................... 85
8. GreenPAK Simulation................................................................................................................................ 87
9. Designing Overview
9.1. SLG46721 Properties Interpretation.................................................................................................... 97
A. Example Projects...................................................................................................................................... 131
B. Major features history ............................................................................................................................... 132
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 4
GreenPAK

GreenPAK Designer 6.25

1. Introduction

This document describes the installation and usage of Dialog GreenPAK® Designer software. This software can be used as a stand-alone application for the firmware development and for GreenPAK chips programming. If the information in this guide is not sufficient to resolve issues experienced with GreenPAK Designer, refer to the resources listed under the Support section.
Features that are common for GreenPAK 3 Designer, GreenPAK 4 Designer, GreenPAK 5 Designer and GreenPAK 6 Designer are described in chapters with a GreenPAK Designer general name. The differences are described in separate chapters.

1.1 Application Overview

Each GreenPAK Designer (GreenPAK 3 Designer, GreenPAK 4 Designer, GreenPAK 5 Designer, GreenPAK 6 Designer) is a full-featured integrated development environment (IDE) that allows you to specify exactly how you want the device to be configured. This provides you direct access to all GreenPAK device features and complete control over the routing and configuration options. GreenPAK Designer will be used as a general name for GreenPAK 3-6 Designer.
GreenPAK Designer has an integrated programming tool that allows you to program configured design into your GreenPAK chip. With this tool you can also read an already programmed chip and export its data to the Designer. Designer will generate a project, which has the same configuration as chip.
To start working with GreenPAK Designer please take the following steps:
Download and install GreenPAK Designer software; Select what components you need; Interconnect and configure components; Specify the pinout;
Test your design with the Emulation Tool;
Use appropriate GreenPAK development platform to program your project into GreenPAK chip. You can
find your kit on Dialog's webstore.

1.2 System requirements

PC System Configuration Minimum System Requirements for Dialog GreenPAK Designer: CPU: 1800MHz System Memory (RAM): 512MB Graphics Card: 128MB Free Hard Disk Space: 200MB Operating System: Windows 7/8.1/10, MAC OS X (v10.8 or higher), Ubuntu 18.04 (32, 64-bit), Debian 10 (32, 64­bit).
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 5
GreenPAK

GreenPAK Designer 6.25

1.3 Support

Free support for GreenPAK is available online at http://www.dialog-semiconductor.com Also click Help- > Social in GreenPAK Designer and get access to Facebook, Twitter, LinkedIn and Dialog TV.
For software updates, please go to the Software page on our website. You can find all these resources in the Help menu of GreenPAK Designer.
1.4 Acronyms
These are the acronyms used in the User Guide.
Table 1-1. Acronyms
Acronym Description
GPD GreenPAK Designer
GPP GreenPAK Programmer
IDE Integrated Development Environment
I/O Input/Output
IC Integrated Circuit
OE Output Enable
USB Universal Serial Bus
GPIO General Purpose Input / Output
GPI General Purpose Input
GPO General Purpose Output
NMOS N-channel MOSFET
(metal-oxide-semiconductor field-effect transistor)
PMOS P-channel MOSFET
(metal-oxide-semiconductor field-effect transistor)
ASM Asynchronous State Machine
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 6
GreenPAK
GreenPAK Designer 6.25


2. GreenPAK Designer Launcher

This section describes GreenPAK Designer launcher application and its features.

Figure 2-1. GreenPAK Designer Launcher User Interface

GreenPAK Designer launcher:

Welcome – welcome page with short information and tips for new users.
Develop – on this page user can select chip revision to start new project for required revision:
SLG46721V, SLG46722V, SLG46108V, SLG46110V, SLG46116V, SLG46117V, SLG46120V/P, SLG46121V, SLG46125M, SLG46127M, SLG46169V, SLG46170V, SLG46621V, SLG46620V/G/-AG, SLG46625-AP, SLG46140V, SLG46531V, SLG46532V, SLG46533V/M, SLG46534V, SLG46535V, SLG46536V, SLG46537V/M, SLG46538V/M, SLG46538-AP, SLG46517M, SLG46580V, SLG46582V, SLG46583V, SLG46585M, SLG46880V, SLG46880-AP, SLG46881V, SLG46824V/G, SLG46826V/G, SLG46827-AG, SLG46828V, SLG46855V/-AP, SLG46857-AP, SLG46811V, SLG46867M, SLG47105V, SLG47004V.
Demo – on this page user can start GreenPAK Designer in Demo mode for selected Demo project and
read information about it.
Recovery Files – page with restored files after crash or freeze. Files was saved with Autosave feature in
predetermined time intervals. New – starts new project for selected chip revision (or double-click with left mouse button on selected chip revision icon); Open – opens existing project, automatically selects chip revision; Close – close GreenPAK Designer Launcher.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 7
GreenPAK Designer 6.25
GreenPAK


3. GreenPAK Designer

This section describes GreenPAK Designer application and its features.

3.1 GreenPAK Designer Interface Overview

GreenPAK Designer consists of: main menu, toolbar, main work area, output window, properties panel and components list (see Figure 3-1, Figure 3-2).
Figure 3-1. GreenPAK User Interface
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 8
GreenPAK

GreenPAK Designer 6.25
Figure 3-2. GreenPAK 4 User Interface
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 9
GreenPAK
GreenPAK Designer 6.25


3.1.1. Main Menu

Main menu contains controls described below:
- File
New – start new or open existing project from GPAK Launcher; Open – open existing project in GP Designer; Clear – clear project and select revision for specified chip; Open in current – open existing project for specified chip; Save – save current project; Save as – save current project in specified location; Import NVM bits – load configuration bits from text file; Export NVM bits – save configuration bits to text file; Print – start Print Editor referring item 4; Print Sch (Beta) – simple print feature without detailed block information; Project Information; Application Notes – opens examples web page; Exit program – close GPD;
- Edit
Rotate Left – rotate a selected block counterclockwise; Rotate Right – rotate a selected block clockwise; Flip Horizontal – horizontal reflection of a selected block Flip Vertical – vertical reflection of a selected block Align Horizontal – horizontal alignment of selected blocks Align Vertical – vertical alignment of selected blocks Set Label – creating a text label for selected blocks Erase Label – erasing text labels near selected blocks Set Wire – enable wire creating mode; Erase Wire – enable wire erase mode;
- View
Zoom in – increase the work area scale; Zoom out – decrease the work area scale; Fit work area – tune scale to show all blocks visible in project; Zoom 1:1 – set default scale; Full-screen mode – switch to full-screen mode Pan mode – enable/disable scene move in pan mode; Show hints – enable/disable hints for blocks on the scene; Properties – show/hide Properties panel; Component Library – list of external components for Software Simulation; Components – show/hide Green PAK blocks list; NVM Viewer – show/hide NVM bits viewer; Rules Checker Output;
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 10
GreenPAK

GreenPAK Designer 6.25
- Tools
Debug – this tool is included for convenient project testing; Rules Checker – checks current design for correct settings; Comparison – compares bits of two projects; ASM Editor – allows to configure the State Machine using state diagram and set the output
configuration for SM Output block;
I2C Tools – enhanced I2C tools with I2C snapshot Reconfigurator (only in GreenPAK 5-6
Designer);
- Options
Settings – default projects folder, autosave, toolbars position, recovery, shortcuts and update
options;
- Help
Help – show help window; User Guides – open User guides web page; Legend box – show the color legend box; Dialog web site – open Dialog official web site; Software and documentation – open Software & Dock web page; Dialog web store – open Dialog chip store; Design support – web page with training courses and videos; Contact Us – web form with request; Social – Dialog Semiconductor in social networks; Application Notes – open examples web page; Datasheet – open documentation web page; Updater – open GreenPAK update tool; About GreenPAK Designer – show information about GPD versions modification.
3.1.2. Tool-bars
Toolbar provides a quick access to frequently used functions. There are 8 tool-bars:
- File
New; Open; Save; Print;
- Undo
Undo; Redo;
- Wire
Set wire; Erase Wire;
- Label
Set Label; Erase Label;
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 11
GreenPAK

GreenPAK Designer 6.25
- Item editor
Rotate Left; Rotate Right; Flip Horizontal; Flip Vertical; Align Horizontal; Align Vertical;
- Tools
Rules Checker; Debug; ASM Editor (only in GreenPAK 5-6 Designer); Project Settings; Project Info;
- Panel switcher
Properties; Components; NVM Viewer;
- Navigation
Zoom slider – adjust scale; Zoom 1:1; Fit work area; Full screen mode; Pan mode; Show item hint;
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 12
GreenPAK

GreenPAK Designer 6.25

3.1.3. Work Area

Work area contains all blocks available in GreenPAK chip and their connections. In GreenPAK 4 Designer (SLG46620V and SLG46621V) work area consist of 2 matrices: Matrix0 and Matrix1(Figure 3-4). The components of each matrix can be interconnected through 10 input and 10 output ports.
Matrices window placement define buttons:
- Matrix 0 (full screen);
- Matrix 1 (full screen);
- Vertical placement (2 matrices);
- Horizontal placement (2 matrices);
- One of matrices in separate window or monitor.
Figure 3-4. Two matrices of GreenPAK 4 Designer.
Three types of components connection:
- Connectivity matrix connections (green) – user can connect any output to any input through wiring tool;
- Settings defined connections (orange) – these connections are predefined and depend on block settings;
- Buses (wide orange line) – buses also depend on block settings. All buses are 8-bit wide. All blocks can be moved using mouse or keyboard (Ctrl+Arrow Keys or Alt+Arrow Keys) and rotated. You can move a few blocks at the same time by using multiple select option. Rotation, flipping and alignment is also available for more than one block at a time.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 13
GreenPAK

GreenPAK Designer 6.25
3.1.4. Properties Panel
Properties panel contains all settings available for selected chip component. The panel is divided in two partitions: Properties and Connections. Properties division contains settings and parameters that could be specified for a selected block. Connection division contains settings which control the predefined connections to the selected block. Last division could not be present in some blocks. Some parameters and settings are common for a few blocks. There are 2 types of controlling elements Edit Box and Drop List. To change settings in Drop List you
can click and select action or place the mouse pointer over selected list and scroll by mouse wheel. To enter value into the Edit Box you can use keyboard, mouse scroll or buttons at the right. After finishing all configurations
press Apply button to confirm changes. If you want to discard changes you can press Reset button with options: reset settings to default or reset connections to default.

3.1.5. Components List

The Components list is an instrument that contains all blocks available in chip. It provides user with the possibility to show/hide unused blocks. You cannot hide blocks that are connected by any type of lines. In the GreenPAK chip there are connections which are beyond the connectivity matrix. They are controlled by settings of proper components and cannot be fully disconnected. That's why there are some blocks that cannot be hidden. Hidden blocks retain their configuration. For this reason, be sure to configure hidden components properly. You can show/ hide selected blocks by using the check/un-check feature on the list. In order to show a group of blocks, double­click on the check box of the desired group. In order to hide a group use a single click. There are two buttons at the bottom of the components list – Show all (shows all blocks) and Hide all (hides all blocks which are not connected to a circuit). Also user can use filter to find required components. User can drag&drop any component from Component List to the workarea to the right place:
3.1.6 Color Scheme
Components:
Mode Description
Normal Selected
Turned on
Turned off
I/O PAD
Components Pin Tips:
Color Value
User can connect wire to this pin
Pin has already been connected (and there cannot be any other connections to this pin)
User can connect wire to this pin only after changing component option
Inner connection, user cannot connect wire to this pin
External I/O Pin (I/O from chip)
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 14
GreenPAK

GreenPAK Designer 6.25
3.2 Creating a Project
To create a new GreenPAK Designer project start GPD Launcher or go to File->New or click the “New” icon on the toolbar. While creating new project in GreenPAK Designer please choose chip revision for current project and specify operating conditions – VDD and Temperature.
Figure 3-4. Set Chip Revision and Operating conditions.
A new project will be created in current window and all unsaved changes will be lost. Also you can start a new GreenPAK Designer copy and it will be loaded with the blank project. By default the project is configured for minimal power consumption and some components are disabled. All disabled components are darker and colored in red after selection. GreenPAK 3-6 projects use [.aap,.hvpak,.gp3,.gp4,.gp5,.gp6] file extension. It contains information about position, rotation/flipping and configuration of chip blocks, all wire connections, and bit file sequence settings of test mode, etc. Interface settings will not be saved in the Project file.
3.2.1 Updating Existing Projects
If you load an existing project created by a previous version of GreenPAK Designer and want to save changes, it will be saved in the updated file format.
3.2.2 Lock NVM Window
Figure 3-5. NVM Options.
Lock status – blocks NVM reading. A programmed project becomes unavailable for chip reading. Though chip is still applicable for the emulation.
Pattern ID – gives an ID (1-255) to the project. The ID will be put in the chip after programming, and also will be read back during “chip reading” operation.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 15
GreenPAK

GreenPAK Designer 6.25
3.2.3 Project Settings Window
Figure 3-6. Project Settings General tab
GPIO quick charge – this option will temporarily enable 2k resistor for ~1μs duration in parallel to internal pull-up/downs during power on, before reset signal is released to internal blocks. For example, this option should be used to ensure the internal pull-up rise-time is fast enough to be detected as high level during power-on. Otherwise, a rising edge with weak internal pull-up can be quite slow, and miss detection as a high-level because of too slow of risetime.
Figure 3-7. Project Settings Security tab
Lock status – blocks NVM reading/writing. A programmed project becomes unavailable for chip reading or for chip writing via I2C Tools for chips with I2C Serial Communication (see chip datasheet). The chip is still applicable for emulation.
Pattern ID – gives an ID (1-254/65534) to the project. The ID will be put in the chip after programming, and also will be read while “chip reading” operates.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 16
GreenPAK

GreenPAK Designer 6.25

3.3 Configuring Chip Components

3.3.1 Placing Components

When you open GreenPAK Designer it will start with a blank project. A blank project contains pins and blocks which cannot be hidden. Components can be moved, rotated, flipped and aligned. In order to move a component, simply drag it where you want by clicking the left mouse button. To rotate/flip/align component select it and press
the “Rotate/Flip/Align” buttons on the toolbar or select Rotate/Flip/Align in the main menu.

3.3.2 Setting Chip Components Parameters

Each chip component has different parameters. Some components have parameters that are shared with other components. Changes in one block cause changes in other blocks. Component settings are available at component Properties panel (Figure 3-8) which appears after double-clicking on the component. Properties panel consists of three parts: Properties, Connections, and Information. Properties section contains all settings of a selected component. Connections section allows you to configure connections that couldn’t be made using wiring tool. Information section contains short information about parameters of selected component. After making changes in Properties panel click the “Apply” button to save changes. If you do not click the “Apply” button and select another block, a save changes message box will appear.
Figure 3-8. Properties Panel
Reset connections and/or settings to default: this option allows to reset NVM bits, components properties, wire connections from/to component.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 17
GreenPAK

GreenPAK Designer 6.25

3.4 Specifying Interconnections

You can interconnect chip components to achieve the necessary functionality. To make a connection please select
Set wire on the Wire toolbar or from the main menu. Next, click the first and second pins that you want to connect. After selecting the first pin, GPD highlights allowed connections in green. If you click the first pin and then decide to exit line creating mode press Esc or the right mouse button.
Figure 3-9.
Also you can manually correct the created wires. You can move horizontal lines up and down, vertical lines left and right (Figure 3-10).
Figure 3-10.
You can move points on the wire (Figure 3-11).
Figure 3-11.
In order to create additional points on the line use the double click (Figure 3-12).
Figure 3-12.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 18
GreenPAK

GreenPAK Designer 6.25
Only the green color pins can be connected Using Wire Creating tool. Some components have pins that are not allowed to be connected using wiring tool. Connections between such pins (orange dotted line and violet pin color) and buses can be made only by changing settings in Connections section of the Properties panel of proper components. In this case violet pins can change color to green and user can connect them using wiring tool. Orange wires will be automatically generated. Orange wires also can be modified by user. Input pins without connections are considered to be tied to ground.
In order to delete wire please select Erase wire at the Wire tool-bar and click on the selected wire. Only green wires can be deleted.
Additional controls for add/remove wires:
Hold button to force wire mode:
Shift: for Set Wire;
Alt: for Erase Wire;
Action with multiple wires:
Hold Ctrl+Shift and click on pin: add multiple wires from the same source pin;
Hold Ctrl+Alt and click on wire: remove all wires from source pin;
Hold Ctrl: works as Ctrl+Shift or Ctrl+Alt based on current wire mode;
Move network
Move network feature provides the fastest way to reconnect all matrix wires from any pin to another. Simply click on wire with right mouse button and select Move network in Context menu
Figure 3-13. Move network in Context menu
Select new source from list in Move network window. User can select new source only from list of visible blocks or from list of all blocks.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 19
GreenPAK

GreenPAK Designer 6.25
Figure 3-14. Move network window
3.4.1 Wire Types
Figure 3-15. Green Line
Green lines in GreenPAK Designer software tools are used to mark manual wires. Using them you can manually connect necessary blocks to operate in the desired way. You can connect block output to multiple inputs, but wiring of different outputs to one input is impossible.
Figure 3-16. Orange Line
Orange lines are used to mark the internal functional bounds of the chip blocks. They do not have the impact on chip operation until the proper function is used. These lines can’t be erased.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 20
GreenPAK

GreenPAK Designer 6.25
Figure 3-17. Bold Orange Line
Bold orange lines (like the orange lines) mark the internal bounds. The difference is that the bold orange lines mark 8-bit parallel data buses. These lines also cannot be erased. They do not have an impact on chip operation until the proper function is used and the proper option is set.
Figure 3-18. Light Green Line
Light green lines are used to mark the shared connections. Their behavior is the same as the green lines.
Replacing wires by labels
This option converts wired connection to 2 labels (for output and input pins) and back (Figure 3-19). Name of the label will be generated automatically: NETx, where x – random number. If output was connected to few inputs all of them should have the same name. For changing the connection type use the context menu of the block, line or label(NET).
Figure 3-19.Labeled connections
Available options for wire (context menu):
- Convert to labeled connection;
Available options for label (context menu):
- Convert to wired connection;
- Rename network;
- Remove connection.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 21
GreenPAK

GreenPAK Designer 6.25
3.4.2 Set/Erase Label
Using Set/Erase Label the user can add/delete text label. The Set Label tool adds a text label to the selected component or without connecting them to the specific component. The user can Attach label to component or Detach label(s) from component(s). If no component is selected, then the user can select a component from the list offered by the Set Label tool. The user can also choose text color. If the selected component already has a label, Set Label tool can edit label text. If the user selects more than one component, it is possible to change the text color without changing text in all components at once. If the user changes the text while more than one component is selected, it will be changed on all selected components at once as well. Erase Label deletes text label.
Figure 3-20. Add Label
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 22
GreenPAK

GreenPAK Designer 6.25

3.5 Specifying the Pinout

3.5.1 Port Connections

Pin blocks can be connected just like any other blocks using the Wiring Tool.

3.5.2 Port Drive Modes

GreenPAK chips have GPIO, GPO and GPI pin components. These components can be configured to work in the following modes:
Digital in with Schmitt trigger; Digital in without Schmitt trigger; Low voltage digital in; 1x push pull; 2x push pull; 1x open drain NMOS; 2x open drain NMOS; 4x open drain NMOS; 1x open drain PMOS; 2x open drain PMOS; 1x 3-State Output; 2x 3-State Output; Analog input; Analog output;
Also, Pull-Up/Pull-Down resistors are configurable. To configure the pin component, open its parameters to set a desired mode and pull-up/pull-down resistor. I/O pin components have input (IN), output (OUT) and output enable (OE) pins. These pins are one-way directed, so you need to configure the pin component and connect the proper pin. OUT pin is an output signal from the pin component. It corresponds to the signal from the input buffer. IN pin is an input to the pin component. It accepts a signal from internal components. Output Enable (OE) signal defines the Push-pull buffer state. Low OE signal switches buffer to Hi-Z state. High OE signal enables Push-pull buffer regardless of selected component operating mode. It could be used for applications where bidirectional pins are needed.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 23
GreenPAK

GreenPAK Designer 6.25
3.6 Navigation
To navigate through project workspace use the View menu or toolbar. Use Zoom In , Zoom Out
buttons or slider to zoom workspace. If you want to see all project components click on Fit work area or
Zoom 1:1 . To navigate through work area you can use Pan mode . Pan mode also activates by using middle mouse button.
To enable block's hint, press Show item hints button. A hint box pops up next to the item when the mouse moves over the block.
3.7 Keyboard commands
To navigate through GreenPAK Designer use specific keyboard commands or shortcuts. List of commands specified in the table:
Table 3-1. Keyboard commands
Keyboard command Action
Block moving on the scene
Alt+Arrow Keys Moves selected block on 1 pixel
Ctrl+Arrow Keys Moves selected block on 10 pixels
Connecting/Erasing wires
Hold Shift Forces Set wire while using Erase Wire
Hold Alt Forces Erase wire while using Set Wire
Hold Ctrl+mouse cursor Adds multiple wires from the same source
Hold Ctrl+Shift+mouse
cursor
Forces add of multiple wires from the same source while using Erase Wire
Hold Ctrl+Alt+mouse
cursor
Forces remove of all wires from the network while using Set Wire
Standard hotkeys
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+N New project
Ctrl+O Open project
Ctrl+S Save project
Ctrl+P Print Editor
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 24
GreenPAK

GreenPAK Designer 6.25
Ctrl+Q Exit program
Ctrl+L Rotate component Left
Ctrl+R Rotate component Right
Ctrl+H Flip component Horizontal
Ctrl+V Flip component Vertical
Ctrl+W Set Wire
Ctrl+E Erase Wire
Ctrl+F Filter on Components List
H Hide component
+ Zoom in
- Zoom out
F1 Help
F2 NVM Viewer
F3 Properties of component
F4 Components List
F5 Rules Checker
F9 Debug
F11 Fullscreen Mode
Debug hotkeys
Shift+E Emulation
Shift+I Info
Shift+L Log
Shift+N NVM Data
Shift+P Program
Shift+R Read
Shift+S Save Settings
Shift+T Test Mode
All other Designer main window actions can be configured by entering specific key sequence in Settings window on Shortcuts tab. For ASM Editor user should enter key sequence in format: Ctrl+key.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 25
GreenPAK

GreenPAK Designer 6.25
3.8 GreenPAK Designer Settings
GreenPAK Designer settings configure all basic options of program in several tabs (Figure 3-21). To open settings select Options-> Settings in main menu.
Figure 3-21. Settings window
GreenPAK Designer settings window contains of tabs:
General:
Default projects folder – defines path to users GPD project files;
Projects recovery – activates autosave function, which allows to reduce the risk or impact of data loss in
case of a crash or freeze. Autosave function in predetermined time intervals will save your files and after a critical problem will offer to restore these files in GreenPAK Designer Launcher on Projects files recovery tab (Figure 3-22);
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 26
GreenPAK

GreenPAK Designer 6.25
Figure 3-22. Project files recovery tab in GPD Launcher
Designer:
Pin hints – shows pin hints while block is selected or properties panel of component is visible:
Look-Up Table (LUT) – allow usage of regular shape by default. For example, regular shape of NXOR:
Appearance:
Window appearance – saves positions of toolbars/dock widgets and window geometry of GP Designer
work area;
High DPI displays – enables GP Designer scalling on high DPI displays;
Shortcuts:
On Shortcuts tab all GP Designer actions can be configured by entering specific key sequence. For ASM
Editor user should enter key sequence in format: Ctrl+key;
Updater:
Scheduler – determines check for updates time: after Designer starts or Once per 1-7 days;
Path – defines server for update and destination to download updates;
Proxy – allow user to configure proxy for updates;
Check configuration button – checks connection to server.
Default button:
Resets settings to default parameters by categories or all at once.
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 27
GreenPAK

GreenPAK Designer 6.25
3.9 Legend Box
Legend box shows the color scheme of GreenPAK designer. The user can open this window by clicking 'Legend box' button in 'Help' menu.
Figure 3-23. Legend Box View
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 28
GreenPAK Designer 6.25
GreenPAK

3.10. Updating GreenPAK Designer
There are two ways of updating the GreenPAK Designer:
When updates are available – this information will be displayed. The user will get a chance to either
download a new version using the “OK”, or the “Cancel” to delay the update until the next program start. After the download is finished, Designer automatically installs the software. IMPORTANT: After finishing installation, restart the GreenPAK Designer software.
Figure 3-24. Updating GreenPAK Designer
You can also find the latest GPD version at Software page of Dialog web site. For the best user
experience, keep your GreenPAK Designer up to date. Feel free to email suggested updates to the developer to improve this program (Please refer to “About GreenPAK ” section of Help menu).
Configure Updater options on Updater tab in Designer Settings window (see Section 3.8 GreenPAK Designer Settings)
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 29
GreenPAK
GreenPAK Designer 6.25

3.11 Help Window
To view information about a specific block, select the block and click 'Help' from the Help menu or press the 'F1'
button. A window will list the information about each block ('short info'). Press the 'detailed info' button for more detailed information (Figure 3-25). If you don't select any block, you will be shown the information about all the blocks. The 'Help' button on the property panel of each block provides the same information about the current block.
Figure 3-25. Help Window
Dialog Semiconductor www.dialog-semiconductor.com
12/24/2020 30
GreenPAK

GreenPAK Designer 6.25
Loading...
+ 102 hidden pages