[hpsdr] Trying to get Blinkity to work on a v2 Ozy
Bill Tracey
bill at ewjt.com
Sun May 4 12:18:04 PDT 2008
Hi Charles,
Nice to see someone hacking the FPGA code.
Are you starting form a blank project? I usually start from an
existing working project and then cut it down to what I want -- this
usually gets me the correct pin definitions, device setups etc. The
Quartus project we use for Ozy/Janus can be found at:
svn://206.216.146.154/svn/repos_sdr_hpsdr/trunk/OzyV2-JanusV2
As to where to look for Pin assignments, in Quartus under Assignment
-> Pin Planner, or Assignments -> Assignment Editor will show the Pin
Assignments. You may also need to tweak the device settings
under Assignments -> Settings -> Device -> Device and Pin Options ...
Under General I usually check
Auto-resart config after error
Enable INIT_DONE output
Under Unused Pins - As input tri-stated
Under Dual Purpose Pins
ASD0, nCSO - as input tri stated
nCEO - Use as regular IO
Under Voltage - Default I/O Standard - 3.3v LVTTL
The DEBUG LEDs attached to the FPGA are DEBUG_LED[0-4] and they're
assigned to Pin 4, 33, 34, and 108 respectively. Pin 108 is also
nCEO, so Quartus probably does not allow you to assign that unless
you've got nCEO set as a regular I/O in the Dual Purpose Pin
settings The remaining LEDs are connected to the FX2 and to the
INIT_DONE line on the FPGA, so they're not user programmable from the FPGA.
Hope this get's you going .. if not come on back with some more
details/questions and we'll try again.
Cheers,
BIll (kd5tfd)
At 10:01 AM 5/4/2008, Charles Brain wrote:
>***** High Performance Software Defined Radio Discussion List *****
>
>As my first attempt at FPGA coding (so please gentle with me) I am
>trying to get the blinkity program to work on my Ozy2.
>
>I have changed the device type and need to change the pin assignments.
>Trouble is I can't figure out which pins the leds are. When I try
>using the pin numbers in the cct diagram Quartus tells me that I am
>trying to use a pin for IO that can't be used for IO.
>
>Can some tell me where to look for the pin assignements!
>
>I assume I should be using debug_led0 thru 7
>
>- Charles G4GUO
1209928684.0
More information about the Hpsdr
mailing list