background image

8

ispMACH 4000ZE Pico Development Kit

Lattice Semiconductor

User’s Guide 

Download PicoView Software and I

2

C GPIO Expansion Demo

The following steps require a host PC with a USB port configured to communicate with the Pico board. Before you 
begin, you will need to obtain the I

2

C interface program, PicoView, and the I

2

C GPIO Expansion demo design, from 

the Lattice web site.

1.

Browse to 

www.latticesemi.com/4000ze-pico-kit

.

2.

Select the PicoView for Windows Software download, review the software license agreement, save the ZIP file 
to your system, and unzip it to a location on your PC. For example: c:\4000ze-pico-kit. The ZIP archive contains 
picoview.exe.

3.

Select the I

2

C GPIO Expansion Demo download, save the ZIP file to your system, and unzip it to a location on 

your PC. For example: c:\4000ze-pico-kit.

Connect to the Pico Evaluation Board

In this step, connect the evaluation board to your PC using the USB cable provided. Once connected you can use 
ispVM System software to reprogram the Pico board or use PicoView software to interact with the interface regis-
ters of the I

2

C GPIO Expansion demo.

Connect one USB cable from a USB port on your PC to the board’s USB-to-I

2

C interface socket on the side of the 

board as shown in the PCB diagram. After connection is made, a blue Power LED will light up indicating the board 
power is now supplied from the USB cable.

Reprogram the Pico Evaluation Board

The Power demo design is pre-programmed into the Pico board by Lattice. To program the Pico board with the I

2

GPIO Expansion Design, use ispVM System software. This step requires that ispVM System be installed. For more 
information see 

www.latticesemi.com/products/designsoftware/ispvmsystem

.

1.

If not already connected, follow the procedure above to connect the Pico board and install hardware drivers. 
The USB cable must be attached and powered to enable the Pico board I

2

C channel and JTAG programming 

interface.

2.

From the 

Start

 menu run 

ispVM System

. ispVM appears.

3.

Choose 

Options > Cable

 and 

IO Port Setup...

 The Cable and I/O Port Setup dialog appears.

4.

Specify the following:

Cable Type: 

USB2

Port Setting: 

FTUSB-0

Click 

OK

5.

Choose 

c:\4000ze-pico-kit\gpio-demo.jed

. The New Scan Configuration Setup window appears. The 

LC4256ZE appears in the device list.

6.

Right-click the 

LC4256ZE

 entry and choose 

Edit Device...

 The Device Information dialog appears.

7.

From the 

Data File

 section, click the 

Browse

 button. The 

Open Data File

 dialog appears.

8.

Browse to the 

c:\4000ze-pico-kit\gpio-demo

 folder, select 

gpio-demo.jed

, and click 

Open

. From the 

Opera-

tion

 list choose 

Erase, Program, Verify

 and click 

OK

.

9.

Right-click the 

ispPAC-POWR6AT6

 row, from the 

Set Device Operations

 menu, choose 

Bypass

.

10. Choose 

Project > Download

. ispVM reprograms the Pico board. Programming requires about 20-40 seconds. 

A small timer window will appear to show elapsed programming time. At the end of programming, the configu-
ration setup window should show a 

PASS

 in the 

Status

 column.

Summary of Contents for ispMACH 4000ZE Pico

Page 1: ...September 2009 Revision EB47_01 0 ispMACH 4000ZE Pico Development Kit User s Guide ...

Page 2: ...1NN32I High side current sensor circuits Battery or USB power LCD panel USB B mini connector for power and programming 15x2 expansion header landing for general IO I2 C and JTAG Keyboard style DIP switch bank Push button input 3 3V and 1 8V supply rails Optional battery recharge circuit Pre loaded Pico Power Demo The kit includes a pre loaded demo design that highlights key CPLD applica tions and ...

Page 3: ...3 ispMACH 4000ZE Pico Development Kit Lattice Semiconductor User sGuide Figure 1 Pico Evaluation Board Top Side Figure 2 Pico Evaluation Board Bottom Side ...

Page 4: ...plication of the LC4256ZE device as an I2 C slave processing instructions issued by a CPU MPU CPLDs are ideal GPIO expanders for processors Control registers of the CPLD s I2 C module allow the processor to access counter and shift registers I O and power measurements An I2 C software interface utility PicoView emulates the CPU MPU component of the system Visit www latticesemi com 4000ze pico kit ...

Page 5: ...3V Battery ADC I2C Slave Up Down Counter VMON 4 I2C Clock Generator 5 MHz 2 Hz POWR6AT6 Enable POWR6AT6 Supply The following tables describe the 4 bit DIP switch and push button inputs that control the pre configured Pico Power demo Use them as a reference for the procedure you must follow in the next step A switch in the raised position of the 4 bit DIP switch indicates a logic level 1 input to t...

Page 6: ...upply rail in the same manner as the Current Meter Display function 1111 Standby Standby Mode Default Demonstrates standby power of the LC4256ZE No LCD output is available in this mode In battery powered standby mode CPLD core current draw is 10µA Other Reserved switch settings No LCD output Push Button Switch Pico Power Demo Feature SW1 Manual Reset is a push button switch SW1 used to assert a ma...

Page 7: ...ided to enable the USB 5V supply rail I2 C GPIO Expansion Demo This demo illustrates I2 C traffic between a PC host running the I2 C Hardware Verification Utility program PicoView and the Pico board Data is available at the expansion header landing or LCD display Control and status registers of the I2 C master and slave modules can be read or written via the PicoView user interface These instructi...

Page 8: ...ram the Pico Evaluation Board The Power demo design is pre programmed into the Pico board by Lattice To program the Pico board with the I2 C GPIO Expansion Design use ispVM System software This step requires that ispVM System be installed For more information see www latticesemi com products designsoftware ispvmsystem 1 If not already connected follow the procedure above to connect the Pico board ...

Page 9: ... prompt and run the PicoView program c 4000ze pico kit picoview exe PicoView provides a push button interface to provide read or read write access to the registers of the LC4256ZE and POWR6AT6 devices When PicoView initializes all device registers are read and the dialog is refreshed A column of R and W buttons provide read or read write control over individual registers of the LC4256ZE See Figure...

Page 10: ...r is applied due to the LC4256ZE JTAG and I O pins being biased from surrounding USB support circuits When powered by the battery cell the LC4256ZE pins are isolated by high impedance circuits to minimize current leakage paths Table 1 Feature Static Dynamic I O Current Core Current Pico Board LCD Counter 0000 Decimal Up 0001 Decimal Down Current Meter 1000 CPLD Core 5 MHz 1100 CPLD Core 1001 CPLD ...

Page 11: ...Classic or PAC Designer compile process source HDL source files for the ispLEVER Classic project testbench HDL test fixture for the ispLEVER Classic project Recompile a LC4256ZE Demo Project with ispLEVER Classic Use the procedure described below to recompile any of the LC4256ZE demo projects for the Pico Evaluation Board 1 Install and license ispLEVER Classic software 2 Download the demo source f...

Page 12: ...ispVM System software 2 Connect the board to a host PC using the USB port header connection 3 Follow the USB Cable Interface procedure below to program the evaluation board USB Cable Interface The Pico board is equipped with a built in USB based programming circuit This consists of a USB PHY and a USB connector When the board is connected to a PC with a USB cable it is recognized by the ispVM Syst...

Page 13: ...te the PicoView user interface Running PicoView To run PicoView 1 See the connection and programming procedure for the GPIO I2 C Expansion demo to prepare the Pico board 2 Download PicoView from www latticesemi com 4000ze pico kit and unzip the archive file Picoview exe is unpacked 3 From a Windows command prompt run install Picoview exe Setup By default PicoView is set to communicate between a PC...

Page 14: ...er will begin counting up or down from the preload value if it is not held in the Stop state For more information about counter controls see the Pico View Control Register dialog Shift Register R W Open the PicoView Shift Register dialog R Read the 21 bit shift register value from the CPLD and update the Shift Register but ton display W Write the shift register pre load value to the right most 7 s...

Page 15: ...USB port and Pico board is not available Enable Address Change of LC4245ZE Enable to update how PicoView addresses the LC4256ZE Requires an updated LC4256ZE programming file I2 C Clock Frequency Select between I2 C fast mode transfer rate at 400 kbit s or 100 kbit s PicoView Shift Register Dialog Function Specify the initial shift register load pattern for the right most 7 segment digit of the LCD...

Page 16: ...SB_MINI_B Programming and debug interface Components LC4256ZE CPLD U1 Lattice_4kZE 256 macrocell CPLD packaged in a 7 x 7mm 144 ball chip scale BGA POWR6AT6 Mixed Signal PLD U6 ispPAC POWR6AT6 Integrates analog DC to DC trim outputs analog monitor power supply margin trim control ADC and I2 C interface in a 32 ball QFNS package Interfaces LCD Panel Output U2 LUMEX LCD2 3 character 7 segment LCD pa...

Page 17: ...urpose inputs for the LC4256ZE Table 5 DIP Switch Reference Item Description Reference Designators SW2 Part Number 193 4MS Manufacturer CTS Web Site www ctscorp com Table 6 DIP Switch Pin Information SW2 Description LC4256ZE Pin Expansion Header Landing The expansion header provides user GPIOs connected to the LC4256ZE VMON and TRIM analog I Os connected to the POWR6AT6 and the on board I2 C SMBus...

Page 18: ...terface between a PC host and the JTAG programming chain of the Pico board The USB 5V supply is also used as a source for the 3 3V and 1 8V supply rails A USB B type mini socket is provided for the USB connector cable Table 10 JTAG Interface Reference Item Description Reference Designators U4 Part Number FT2232D Manufacturer FTDI Future Web Site www ftdichip com 7 4K_TCK TCK 8 USB_TCK N A 9 4K_TMS...

Page 19: ...S package programmable mixed sig nal PLD which provides an interface between the on board current sensor circuit and the I2 C interface bus The POWR6AT6 provides analog voltage monitors VMON and a 10 bit ADC to provide voltage measurements and an I2 C interface to the LC4256ZE CPLD The 15x2 External Header Landing provides access to VMON3 and VMON4 inputs for experiments with external circuit moni...

Page 20: ...on the Pico board to serve as the programming interface to the ispMACH 4000ZE CPLD Programming requires the ispVM System software www latticesemi com ispvm The programming connection will appear to the ispVM System software as if a regular parallel type ispDOWNLOAD cable is connected to the PC Modifying the Pico Board The ispMACH 4000ZE Pico evaluation board provides landing areas for additional c...

Page 21: ...A low battery can cause the current voltage meter features of the Pico Power demo to read 0µA 0V The demo s counter and shift register features may operate but the additional current required to energize the current sensor and POWR6AT6 may not be available once the battery begins to discharge Install a new battery if this condition occurs Determine the Source of a Pre Programmed Part It is possibl...

Page 22: ...ecksum of the original JEDEC demo programming files Ordering Information Description Ordering Part Number China RoHS Environment Friendly Use Period EFUP IspMACH 4000ZE Pico Development Kit LC4256ZE P EVN Technical Support Assistance Hotline 1 800 LATTICE North America 1 503 268 8001 Outside North America e mail techsupport latticesemi com Internet www latticesemi com Revision History Date Version...

Page 23: ...3 wide Total Glass size 1 21 long plus bump n c n c n c n c Part LCD S301C31TR U12 STG3690QTR DI QFN16 U12 STG3690QTR DI QFN16 1S2 1 1 2IN 2 2S1 3 D2 4 2S2 5 GND 6 3S1 7 D3 8 3S2 9 3 4IN 10 4S1 11 D4 12 4S2 13 VCC 14 1S1 15 D1 16 R45 10k DI R45 10k DI R46 10k DI R46 10k DI C2 0 1uF DI C2 0 1uF DI C1 0 1uF DI C1 0 1uF DI ispMACH4000ZE 144 csBGA Pin name sequence 64 128 256 Lattice_4kZE U1A PCB Foot...

Page 24: ... 0 1uF DI C5 0 1uF DI C4 0 1uF DI C4 0 1uF DI R13 100k DI R13 100k DI ispMACH4000ZE 144 csBGA Pin name sequence 64 128 256 Lattice_4kZE U1B CSBGA144 DI ispMACH4000ZE 144 csBGA Pin name sequence 64 128 256 Lattice_4kZE U1B CSBGA144 DI CLK2 I M6 IOC0 IOE0 IOI1 K7 IOC1 IOE1 IOI2 M7 IOC2 IOE2 IOI3 L7 IOC3 IOE3 IOI4 J7 NC IOE4 IOI5 L8 NC IOE5 IOI6 M8 IOC4 IOE6 IOJ1 M9 IOC5 IOE7 IOJ2 L9 IOC6 IOE8 IOJ3 K...

Page 25: ... path from R35 to U7 Board Logos R34 100 SM R_0603 DI 0 1 R34 100 SM R_0603 DI 0 1 R3 10k DI R3 10k DI R43 1M DI SM R_0603 R43 1M DI SM R_0603 D1 Blue DI SM D_0603 D1 Blue DI SM D_0603 G4 Lattice Logo DI G4 Lattice Logo DI 1 D2 1N4148 DI D2 1N4148 DI U11 MCP1703 1802E CB SOT 23 DI U11 MCP1703 1802E CB SOT 23 DI GND 1 IN 3 OUT 2 BT1 Batt_Cell_Holder BT1 Batt_Cell_Holder Vbat 3 Vbat 2 2 V 1 C30 10uF...

Page 26: ... VCC 1 D 2 D 3 GND 5 NC 4 CASE 7 CASE 8 CASE 9 CASE 6 MH1 10 MH2 11 C19 12pF DI C19 12pF DI RN1E 0 RN1E 0 5 12 R6 10k DI R6 10k DI C9 0 1uF DI C9 0 1uF DI RN1D 0 RN1D 0 4 13 C10 0 1uF DI C10 0 1uF DI C12 0 1uF DI C12 0 1uF DI C11 0 1uF DI C11 0 1uF DI U3 M93C46 W SOIC 8 DI U3 M93C46 W SOIC 8 DI CS 1 SK 2 DIN 3 DOUT 4 VCC 8 NC 7 ORG 6 GND 5 R33 330 DI R33 330 DI C21 33pF DI C21 33pF DI U5 STG3690QT...

Page 27: ... and Current Sense Amplifiers ispMACH4000ZE Pico Board C NC NC NC NC NC NC NC R8 10k DI R8 10k DI R22 1 5k DI R22 1 5k DI R31 2k DI 0 1 R31 2k DI 0 1 C16 0 1uF DI SM C_0402 C16 0 1uF DI SM C_0402 U7 STG3690QTR DI QFN16 U7 STG3690QTR DI QFN16 1S2 1 1 2IN 2 2S1 3 D2 4 2S2 5 GND 6 3S1 7 D3 8 3S2 9 3 4IN 10 4S1 11 D4 12 4S2 13 VCC 14 1S1 15 D1 16 R10 10k DNI R10 10k DNI U9B LMP7716 DI B U9B LMP7716 DI...

Page 28: ...PW060349R9BEEA 15 4 R38 R39 ERA 2AEB101X 16 2 R34 ERA 3AEB101V 17 1 R33 ERJ 2GEJ331X 18 4 R29 R32 ERA 2AEB202X 19 2 R27 R28 ERJ 2GEJ102X 20 0 R26 ERJ 3EKF1001V 21 3 R21 R22 R25 ERJ 2GEJ152X 22 1 R24 ERJ 2GEJ222X 23 0 R23 ERJ 3EKF4221V 24 1 R20 ERJ 2RKF4701X 25 10 R1 R8 R45 R46 ERJ 2GEJ103X 26 0 R10 ERJ 3EKF1002V 27 9 R11 R19 ERJ 2GEJ104X 28 3 R9 R43 R44 ERJ 2GEJ105X 29 1 RN1 EXB 2HVR000V 30 1 L1 M...

Page 29: ...MBT2222LT1G 46 1 Q4 IRLML2502TRPBF 47 0 Q6 MMBT3906LT1G 48 1 X1 HCM49 6 000MABJ UT 49 1 D1 LTST C190TBKT 50 3 D2 D3 D4 1N4148W TP 51 1 BT1 BATHLD001 52 1 CR2032 53 3 SJ61A3 Notes 1 Quantity 0 zero indicates an optional component See the Modifying the Pico Board section for more information Table 17 Bill of Materials Continued ...

Reviews: