Page 1
GreenPAK Universal Development Board User Guide Silego Technology Corporate Headquarters 1715 Wyatt Drive Santa Clara, CA 95054 Phone: 408-327-8800 http://www.silego.com...
Page 2
Silego reserves the right to make changes without further notice to the materials described herein. Silego does not assume any liability arising out of the application or use of any product or circuit described herein. Silego 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.
USB A to mini B cable; GreenPAK3 samples; Quick start guide. Inspect the contents of the kit; if you find any part missing, contact Silego for help. 1.2. GreenPAK3 Designer GreenPAK3 Designer is an easy-to-use full-featured integrated development environment (IDE) that allows you to specify exactly how you want the device to be configured.
GreenPAK Universal Development Board 1.3. Support Free support for GreenPAK3 Universal Board is available online at http://www.silego.com. silegousa silegochinese silegoeurope silegojapan Silego-Technology GreenPAK3 Designer will update itself when a new software version is detected and available. For manual updates please go to Software &...
Universal Board. 2.2. Install Hardware No hardware installation is required for this kit. 2.3. Install Software GreenPAK3 Designer software is available free of charge from the Silego website at Software & Docs page. 2.4. Uninstall Software The software can be uninstalled in the way typical for your operating system. Please...
GreenPAK Universal Development Board 3. Hardware 3.1. Overview Figure 3-1. GreenPAK3 Universal Board, top view Notification: All test points were designed only for observation of signals on the pins. Please do not try to connect external power/signal source to test points, this will affect GreenPAK3 Universal Board functionality and may even damage it.
GreenPAK Universal Development Board 3.2. Functional Description 3.2.1. Power Supply Main power source of GreenPAK3 Universal Board is USB power lines. GreenPAK3 chip power supply range is 1.8-5.5 volts. The development board can provide power from 0 to 5.5V. To provide this power range the development board is enabled with a boost converter. A Signal generator with a buffered output controls GreenPAK3 chip power rail.
GreenPAK Universal Development Board Inverted Buffered LED (with high impedance input); This option can be enabled in GreenPAK3 Designer. 3.2.6. Socket connector The GreenPAK3 Universal Board is supplied with a detachable socket board (Figure 3-3). Its main purpose is to connect GreenPAK3 chip to the Development Board. It can be used to have an easy way to use programmed chip in external circuits, or measure current consumption of your project.
GreenPAK Universal Development Board 3.2.7. Expansion connector This port was designed to connect GreenPAK3 Universal Board to external circuits and apply external power, signal sources and loads. It can be used to apply GreenPAK3 chip into your custom design with minimum additional tools. Schematic is available on Figure 3-5.
Page 11
GreenPAK Universal Development Board Figure 3-7. Socket and expansion connector schematic Expansion connector is enabled only in Emulation mode or Test mode. To enter any of this two modes GreenPAK3 chip is required inside the socket. When the Test mode button is pressed the software will first read the chip to verify that it was inserted and then configure the GreenPAK3 Universal Board as it was set in Emulation Tool window.
Page 12
(the board and socket connectors have same pinout). The GreenPAK Universal Board provides three possible ways of using expansion connector: 1) The internal power is used to run chip, no external power output is needed, external signal sources and loads can be connected between pins and GND.
Page 13
GreenPAK3 chip many times, but after power loss all internal data will be lose. Also when the GreenPAK chip is already programmed - user can use Emulation mode to load some other project and test it on the emulation tool during the Emulation mode, in that case emulation data will be cleared.
Page 14
GreenPAK Universal Development Board Figure 3-10. Expansion connector. Pin with protection resistor. Silego Technology Inc. www.silego.com 10/13/2014...
GreenPAK Universal Development Board 3.2.8. Pins connectivity GreenPAK3 Universal Board allows connecting eight types of loads and signal sources. Each source has its own special purpose. List of available connections for each pin is presented in the table below. Set to...
Page 16
GreenPAK Universal Development Board Pin signal sources/loading schematics: Set to VDD Set to GND Set to GND Set to VDD Pull up Pull down Pull up Pull down Button pressed Button released Button pressed Button released Button with different configurations...
Page 17
GreenPAK Universal Development Board Buffered LED Inverted buffered LED VDD Signal generator* VDD Signal generator *- VDD Signal generator works similar to other Signal generators but has wider output voltage range. It can provide maximum supply level of 5.5 V.
GreenPAK Universal Development Board 4. Example projects 4.1. Project: Counter with clock enable The first example project - Counter with clock enable is very simple. For this project we will need: - 2 digital inputs; - 1 digital output; - 1 Look-Up table with two inputs;...
Page 19
GreenPAK Universal Development Board Figure 4-2. GreenPAK3 Components list Silego Technology Inc. www.silego.com 10/13/2014...
Page 20
GreenPAK Universal Development Board All these components can be found in components list. If there are no components on a work area - make sure this component is enabled. Pin Configuration Pin # Pin Name Type Pin Description Supply Voltage...
Page 21
GreenPAK Universal Development Board Figure 4-3. Pin 20 mode Next component in this design is Look-Up table. First Look-Up (LUT4) table is used to generate logic “1” only when there are high logic levels on both inputs (AND gate). Select AND gate from “Standard gates”...
Page 22
GreenPAK Universal Development Board Figure 4-4. Look-Up table properties configured as AND gate Silego Technology Inc. www.silego.com 10/13/2014...
Page 23
GreenPAK Universal Development Board Figure 4-5. Look-Up table properties configured as AND gate Silego Technology Inc. www.silego.com 10/13/2014...
Page 24
GreenPAK Universal Development Board Figure 4-4. Counter properties Final step is to connect used components. Use Wire tool to perform this action. To connect two pins select “Set Wire” and then click on the first and the second pin of the module or modules that you want to connect.
Page 25
Figure 4-5 displays ready project, with configured blocks and wire connections. Use the GreenPAK Universal Board to test this project. Connect GreenPAK Universal Board to PC and press “Emulation” button. This will load code of your project to the chip and will enable Test Board functionality of your Dev.
Page 26
GreenPAK Universal Development Board Figure 4-6. GreenPAK3 Designer, Emulation tool To test this project we will use next tools: - Signal generator. Signal generator is applied on VDD pin to power GreenPAK3 chip. - Logic generator. Logic generator serves as clock source.
Page 27
GreenPAK Universal Development Board Figure 4-8. Signal generator settings Logic generator's purpose is to provide counter module clock pulses. It is configured as 10 Hz clock source as shown on Figure 4-9. Silego Technology Inc. www.silego.com 10/13/2014...
Page 28
GreenPAK Universal Development Board Figure 4-9. Logic generator properties Silego Technology Inc. www.silego.com 10/13/2014...
Page 30
GreenPAK Universal Development Board Figure 4-13. Waveform, impulse width of Logic generator and count end signal As it is shown on Figure 4-12 and Figure 4-13 Counter works only when the button is pressed. Silego Technology Inc. www.silego.com 10/13/2014...
GreenPAK Universal Development Board 4.2. Project: LED string with direction For this project we will need: - Analog pin for input data; - Digital pin for PWM output; - ADC block; - PWM block. Figure 4-14. Used blocks for current project For testing this project we will use Signal generator with sine waveform.
Page 32
GreenPAK Universal Development Board Figure 4-15. Sine waveform generated with Silego Technology Inc. www.silego.com 10/13/2014...
Page 33
GreenPAK Universal Development Board Figure 4-16. Emulation window, with Buffered LED and Signal generator Silego Technology Inc. www.silego.com 10/13/2014...
Page 34
GreenPAK Universal Development Board Pin Configuration Pin # Pin Name Type Pin Description Supply Voltage DIRECTION Input Controls direction SIGNAL Input Analog Input Ground LED_A Output LED_B Output LED_C Output Figure 4-17. Pin properties Silego Technology Inc. www.silego.com 10/13/2014...
Page 35
GreenPAK Universal Development Board Pin 6 is configured as analog input-output. This pin will be used for generating SINE waveform. Figure 4-18. Pin properties Silego Technology Inc. www.silego.com 10/13/2014...
Page 36
GreenPAK Universal Development Board Figure 4-19. ACMP properties Pin 15, 17, 19 - output pins with 1x push pull. They are an observing pin. Silego Technology Inc. www.silego.com 10/13/2014...
Page 37
GreenPAK Universal Development Board All comparators positive inputs are connected to Pin 6 analog input. When voltage on positive input is higher than voltage on negative comparator will set logic “1” on its output. In this project, 3 comparators are used. ACMP0 positive input is 200mV, ACMP1 is 500mV, and ACMP2 is 800mV.
Page 38
GreenPAK Universal Development Board Functionality Waveform Channel 1 (yellow/top) – Direction; Channel 2 (light blue /2nd line) – LED_A. Channel 3 (magenta/3rd line) – LED_B; Channel 4 (blue / 4rth line) – LED_C. Figure 4-22. Direct direction Figure 4-23. Opposite direction The PWM duty cycle rises up to 100% when analog signal is close to 1V.
Need help?
Do you have a question about the GreenPAK and is the answer not in the manual?
Questions and answers