Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 196
» Latest member: jenny13857
» Forum threads: 96
» Forum posts: 274

Full Statistics

Online Users
There are currently 18 online users.
» 0 Member(s) | 16 Guest(s)
Bing, Google

Latest Threads
Reading analog inputs wit...
Forum: General Questions
Last Post: jdeschamps
Yesterday, 10:52 AM
» Replies: 3
» Views: 806
Unable to upload sketch t...
Forum: General Questions
Last Post: RedPants
05-20-2020, 01:42 AM
» Replies: 1
» Views: 105
using avr interface for a...
Forum: General Questions
Last Post: caravandal
05-19-2020, 08:39 PM
» Replies: 0
» Views: 50
lucid analog input tutori...
Forum: General Questions
Last Post: caravandal
05-19-2020, 05:56 PM
» Replies: 3
» Views: 237
Burning MoJo board from X...
Forum: General Questions
Last Post: cerkit
05-17-2020, 11:59 PM
» Replies: 1
» Views: 318
Alchitry in Linux
Forum: General Questions
Last Post: sabquat
05-16-2020, 03:43 AM
» Replies: 4
» Views: 247
Re-flashing a Mojo V3 boa...
Forum: General Questions
Last Post: alchitry
05-12-2020, 02:35 PM
» Replies: 6
» Views: 420
New Accounts
Forum: Announcements
Last Post: alchitry
05-11-2020, 04:25 PM
» Replies: 0
» Views: 95
Alchitry_labs 1.05 Update...
Forum: General Questions
Last Post: alchitry
04-27-2020, 03:03 PM
» Replies: 1
» Views: 802
Serial Port Monitor Does ...
Forum: General Questions
Last Post: alchitry
04-27-2020, 02:59 PM
» Replies: 1
» Views: 754

 
  Alchitry Cu and Io Pulldown Resistors
Posted by: Geo747 - 02-26-2019, 09:37 PM - Forum: General Questions - Replies (1)

Hey,
I've been trying to get the Io board to work with the Cu today. I'm using verilog and Icecube2 with the alchitry loader (not using the alchitry ide). I'm trying to set up a .pcf file for the IO and have all the LEDs working correctly but cant get the switches or buttons to work. I believe this is because I need to set the inputs to have pull down resistors, as per the schematic, however I cant find any documentation of the iCE40-HX8K that suggests it has pull down resistors available on its inputs. In the icecube2 pin constraints editor only pull up resistors are available, and they havent helped in my scenario. When I have the pullup enabled, I just get a constant high logic level from that pin, and when the pullup isnt enabled it has erratic behaviour and will turn on or change state when i touch the button's casing, without actually depressing the button.

If someone knows what im missing to get it to work that would be much appreciated.

Thanks,
George


  Cu - how to start?
Posted by: wing - 02-24-2019, 06:46 PM - Forum: General Questions - Replies (5)

Hi ,
   Just received the Alchitry Cu, look great.
May I ask how to get started? It seem the tutorials are still for "mojo v3" and using Xilinx tools.

Thanks
Wing


  Alchitry Io Switches with Au
Posted by: garthberry - 02-22-2019, 03:22 PM - Forum: Tips and Tricks - No Replies

After trying to get the switches (DIP and pushbutton) Alchitry Io working for a little too long it finally occurred to me that pulldowns need to be enabled for each of the pins attached to a switch. If pulldowns are not enabled the pin will typically float high. The pulldown resistor can be enabled on a pin by pin basis in the  constraints file as follows:

Code:
set_property PACKAGE_PIN C4 [get_ports {dip_sw[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {dip_sw[0]}]
set_property PULLDOWN TRUE [get_ports {dip_sw[0]}]


  Clocking with Lattice Parts
Posted by: samuelcomeau - 02-22-2019, 06:25 AM - Forum: General Questions - Replies (2)

Hey,
So with the Mojo, the way to get new clocks was to use coregen via the awesome installed button. Since Cu is a Lattice part there is obviously not a coregen option. Therefore, how do I get my higher or lower clock signal?


  Headers. (First!)
Posted by: samuelcomeau - 02-22-2019, 01:26 AM - Forum: General Questions - Replies (7)

Hey, 
So I've had the Alchitry Cu for a few days. Great looking board, I'm excited to get the software up and running. Just one question. How do I connect anything to it? I don't see my comfortable headers and I feel completely paralyzed. 
Objectively, I know there is a solution to this problem and that it wouldn't require too much work on my part, but is there a simple solution to go from the super whamadine headers to my comfortable breadboard friendly ones? 
(P.S. I don't hate the new headers, my Mojo has so many bent pins it's starting to look like a porcupine.)
-Sam


  Welcome to the new forum!
Posted by: alchitry - 02-21-2019, 05:47 PM - Forum: Announcements - No Replies

Welcome to the new forum! After the old forum was basically made useless by an overflow of spam, this new one will hopefully fare better.

Note that you will need seperate logins for the forum and our store.

You can still access the old forum in its "read only" state here https://forum.embeddedmicro.com/