You are on page 1of 13

Gettingstarted

withthefreeUSBi

www.freeDSP.cc

freeUSBi

Revisionhistory

Revision

Description

Date

V1.0

InitialVersion

29Sep2015

V1.1

ConversiontoGoogleDocs+newdriverinstallation

06Nov2015

V1.2

AddedpictureforalternativeCY7C68013AMINIBOARD

11Nov2015

V1.3

13Nov2015

www.freeDSP.cc

freeUSBi

Tableofcontents

AboutthefreeUSBi
Importantinformation
Overview
HowtogetthefreeUSBiupandrunning
Geteverythingneeded
Soldertheboard
Installthedriver
Troubleshooting
Appendix
Partlist
Assemblyprint
Schematic
PinoutoftheUSBiconnector

www.freeDSP.cc

freeUSBi

AboutthefreeUSBi

The freeUSBi is a lowbudgetrealtime programmingdevicefor the freeDSPand other DSP


boards from Analog Devices. It is based on a CY7C68013A MINI BOARDcombined with an
adapterPCB(printedcircuitboard)thataddsthepossibilityofrealtimeprogramming.
It has the same features as the Analog Devices USB interface (EVALADUSB2EBZ), such as
changing parameters while already using the freeDSP or easy changes of theschematicin
SigmaStudio.YoualsocanwriteyourprogramtotheEEPROM.

Importantinformation

The freeUSBi is provided to you as is. We make no express or implied warranties


whatsoever withrespecttoitsfunctionality,operability,oruse,including,withoutlimitation,
any impliedwarranties ofmerchantability, fitness foraparticular purpose,orinfringement.
We expressly disclaim any liability whatsoever for any direct, indirect, consequential,
incidentalorspecialdamages,including,withoutlimitation,lostrevenues,lostprofits,losses
resultingfrombusiness interruption or lossof data regardless ofthe formof actionorlegal
theory under which the liability may be asserted, even if advised of the possibility or
likelihoodofsuchdamages.Featuresandspecificationsmightchangewithoutpriornotice.

Please keep in mind that freeDSP and freeUSBi are opensource sparetime projects.
Because the freeDSP is very flexible, many applications are possible. Questions and new
ideascanbe discussedonline withotherDIYers.
PleaseusetheDigitalLineLevelsubforum
@ diyAudio.com to connect with other people working with the freeDSP. Please create
individual threads for your topics. Link these threads inthe
freeDSPmain thread so that
otherscanfind them.Somequestionscanbeansweredbycarefullyreadingthismanual.We
cannotprovideindividualsupportviaemail.
Thankyouforyourunderstanding!

www.freeDSP.cc

freeUSBi

Overview

Figure1showsthekeyfeaturesofthefreeUSBiboard.

Figure1Functionsandorientation:CY7C68013AMINIBOARDwithfreeUSBiadaptershieldV0.1.

HowtogetthefreeUSBiupandrunning

The following steps will guide you through the workflow to get your freeUSBi up and
running. Everything starts with ordering all necessary components. After soldering your
board,thewaytouseitwithSigmaStudioisdescribed.

Geteverythingneeded

Youwillneeda soldering iron plus somesolderingexperiencetoassemblethethroughhole


components. However,we think it is feasibleforeveryone.We
DONOTofferafreeUSBiDIY
kit ofpartsincludingcomponentsandthe printedcircuitboard.Thereisalso
NOcompletely
assembledversionofthefreeUSBiavailable.Pleasefollowthestepsdescribedbelow:

a. The
CY7C68013Aminiboard
canbeboughton
eBayusingthissearchlink
.Becareful
toorderaboardthatlooksidenticaltoFigure2with
ONLYONEJUMPER
.

Figure2CY7C68013AMINIBOARDthisboardcanbeusedasitis.

www.freeDSP.cc

freeUSBi


IfyourCY7C68013A miniboard looks differentandhas
TWOJUMPERSyou
HAVETO
modify italittlebit.PleasepinchofftwoofthepinslikeshowninFigure3.Otherwise
youwilldamageyourboard.

Figure3CY7C68013AMINIBOARDthisboardwithtwojumpers(markedwithgreenarrows)
HASTObemodifiedbypinchingofftwopinsmarkedwithredcircles!Otherwiseyouwilldamageyourboard.

b. Rememberthatyouwillneedan
additionalUSBcable
!

c. DownloadthefreeUSBiadapterfilesfromourwebsiteand
manufacturetheprinted
circuitboard
.Youmightwanttolocallyorganizecentralizedbuyingandboard
productiontogetherwithsomefriends.YoucanfindthenecessaryKiCADand
GERBERfilesoftheboardonthefreeDSPwebsite

www.freeDSP.cc
.
d. Youwillalsoneedto
orderallelectronicparts
fromthepartlistintheappendix.All
partsareavailablefromReicheltusingthis

shoppingbasket
.
e. Install
SigmaStudio
(free)onyourPCasdescribedinthefreeDSPGettingStarted
PDF,ifnotalreadydone.

f. Installthe
freeUSBiDriver
onyourPCasdescribedlater.

www.freeDSP.cc

freeUSBi

Soldertheboard
All components are through hole,so they can be soldered withbasicsolderingknowledge.
Youcanfindthepartlistandtheassemblyprintintheappendix.

Importantnote
:P3isdirectlyconnectedwith+5Vfromthebottomofthe CY7C68013AMINI
BOARDusing an additionalcable as shown in Figure4,optionalyoucanadda2x1multipin
connector.

Figure4P3isdirectlyconnectedwith+5Vfromthebottomof
theCY7C68013AMINIBOARDusinganadditionalcable.

Theflatcableneedstobeconfigured1:1
asseeninFigure5.

Figure5Flatcable.

www.freeDSP.cc

freeUSBi

Installthedriver

1.

RemovetheavailablejumpersfromtheCY7C68013AMINIBOARD
.
Dependingonyourboardtheremaybeoneortwojumpers.

2.

DownloadthefreeUSBidriveronthefreeDSPwebsite
www.freeDSP.cc
.

3.

SearchforthefileADI_USBi.sptinyourSigmaStudioprogramfolder

(e.g.,
C:\ProgramFiles\AnalogDevices\SigmaStudio3.11\USBdrivers\[x86or
x64]\ADI_USBi.spt)andcopyitintothefreeUSBi
driver
folder
youjust
downloaded:usethefolder
whichcorrespondstoyouroperatingsystem
(e.g.,Win8.1/x86ifyouhavea32bitsystemorWin8.1/x64ifyoursystemis
64bit)
.

4.

Connecttheboardwithyour
PCusingaUSBcable.

DoNOTconnectitwith
thefreeDSPyet.(TheremightbeaproblemwithsomeUSB3ports.Ifyou
getanUSBerrorduringprogramming,pleasetryusingaUSB2portif
available.)

5.

InstallthedriverfromthefreeUSBidriverfolderwhichyouhavealready
usedinstep3,e.g.usingtheWindowsDeviceManager.

Ifrequiredbyyour
system,confirmthatyouwanttoinstallthisuncertifieddriver.Ifany
problemsoccur,pleaserefertothenotebelow.

6.

ReconnectyourfreeUSBibyunpluggingandpluggingtheUSBcable.DoNOT
attachthejumper(s).

7.

You'redone!SigmaStudio
shouldrecognizetheboardas
USB
interface.It
cannowbeusedasUSBiprogrammerforrealtimeprogramming.

Note:
OnWin8.1(x64)sometroublescouldoccurduringthedriverinstallationprocess.
ThisisduetotheWin8.1securitypolicyconcerningtheinstallationofunsigned
drivers.Ifyourdriverinstallationfails,pleasetrythefollowingworkaround:

A. MakesurethatyouhaveanAdministratoruseraccount

B. Openthe
PCSettings
andchoosetheoption
Change

PCSettings
C. Choosetheoption
Update/Recovery

D. Choosetheoption
Recovery

E. Choosetheoption
Restart

F. Waitamoment

www.freeDSP.cc

freeUSBi


G. Choosetheoption
FixProblems

H. Choose
Further

Options
I. Choosetheoption
StartPreferences

J. Choosetheoption
Restart

K. Waitamoment

L. Duringtherestartprocedureafurtheroptionwindowoccurs:choosethe
option
ForceDeactivationofDriverSignature
bypushingthekey
7
or
F7
M. Afterthesystemhasrestarted,pleaserepeatsteps5.to7.ofthedriver
installationproceduredescribedabove
>Thedriverinstallationprocessshouldbesuccessfulnow!

Alternativedriverinstallationprocess
(nolongerrecommended)
:

1. Install
CySuiteUSB_3_4_7_B204.exe
(whichcontainsCyConsole)and
cy3684setup.exe
(whichcontainsthedriverfortheCY7C68013A).
2. RemovetheonlyavailablejumperfromCY7C68013AMINIBOARD.
3. ConnecttheboardwithyourPCusinganUSBcable.DoNOTconnectitwith
thefreeDSP.
4. Installdriver(cyusb3.sys)ifWindowsasksfor.Itisusuallyplacedhere:
C:\Cypress\USB\CY3684_EZUSB_FX2LP_DVK\1.1\Drivers.
5. StartCyConsole
6. PressLoadScriptandchoosethisfile:
C:\ProgramFiles\AnalogDevices\SigmaStudio3.11\USBdrivers\[x86or
x64]\ADI_USBi.spt
7. PressPlayScript.TheboardshouldnowbedetectedasAnalogDevice
USBi(programmed).
8. Reattachthejumper
9. PressResetDeviceorReconnectDevice
10. SigmaStudioshouldnowrecognizetheboardasUSBInterfaceandcanbe
usedasUSBiprogrammerforrealtimeprogramming.
11. Importantnote:
Steps29havetobedoneeverytimeyoudisconnectand
reconnectyourfreeUSBifromtheUSBportofyourPC.

www.freeDSP.cc

freeUSBi

Troubleshooting

1. Pleasetakethetimeto carefully readthisgettingstartedguide.Pleasekeepinmind


thatfreeUSBi and freeDSP areopensourcesparetimeprojects.Thankyouforyour
understanding!
2. Maybe your issue has already been discussed in the
freeDSP forum
. There might
already be a solution for the problem you are facing. Please use the Digital Line
Level subforum @ diyAudio.com to connect with other people working with the
freeDSP. Please create individual threads for your topics. Link these threads in the
freeDSPmainthread
sothatotherscanfindthem.
3. Wecannot provide support viaemailorthe contactformonthewebsite.Wehope
that you understandthat freeDSP is not a commercial product.Itisanopensource
sparetime project
. We hope that questions can be answered together with the
freeDSP community in the
freeDSP forum
. Please be patient and remember that
forumsworkonavoluntarybasis.Ifyouposttoa
forum
,pleaseprovide:

a. The version of the freeDSP board you are working with. A good resolution
photo of your soldered board from top and bottom. If you made some
changestotheoriginaldesign,pleasedescribethemindetail.

b. Adetailedandclearexplanationofthesymptomsyouareseeing.

c. A description of the troubleshooting steps you already performed and the


resultsobtained.

www.freeDSP.cc

freeUSBi

10

Appendix
Partlist

All parts in the following list are needed for the freeUSBi. There is a
Reichelt shopping
basket
,whichmighthelptoorderparts.

Table1Partlist.

Label

Qty.

Ordernumber
www.reichelt.de

100F

SM100/
16RAD

2
1
1

SLK3MMGE
LED3MMGN
LED3MMRT

BL2X10G82,54

WSL10G

P3

Multipin
connector,angled,
1x2,RM2.54mm
(optional)

Q1,Q2
R1
R2,R5,R6,R7,R9
R3,R4
R8

nMOSFET2N7000
Resistor,49.9
Resistor,470

Resistor,10k

Resistor,1M

addcolorcodehere
addcolorcodehere
addcolorcodehere
addcolorcodehere

2
1
5
2
1

2N7000

Flatcable,10pin

METALL470
METALL10,0K
METALL1,00M
AWG2810F3M

IDCsocket,10pin,
withcableclamp

PFL10

Part
C1,C2
D1,D3
D2
D4
P1,P4

P2

Description
Electrolytic
capacitor,radial,
100F/16V
LED,3mm,yellow
LED,3mm,green
LED,3mm,red
Multipinconnector,
2x10,RM2.54mm
Boxedheader,10
pins

METALL49.9

www.freeDSP.cc

freeUSBi

11

Assemblyprint

Figure6BoardsilkscreenandpartsplacementforfreeUSBi0.1.

Schematic

Figure7SchematicofthefreeUSBi0.1.Pleasezoomintoseemoredetails.

www.freeDSP.cc

freeUSBi

12

PinoutoftheUSBiconnector

Figure8PinoutoftheUSBiconnector.

www.freeDSP.cc

freeUSBi

13

You might also like