« The Bad Old Way | Main | Wires Are Your Enemy »

Loomings

To work! Here are the bits and pieces I'll be playing with:

EZ430-F2013

ez430_f2013_top.jpg

ez430_f2013_bottom.jpg

(I'll call it the "f2013" from now on.) The f2013 has 14 through-holes in the tiny board which contains the microcontroller. These 14 pins connect directly to the 14 pins of the microcontroller. The f2013 as shipped is inside a plastic case; with a little care it's easy to pry apart the two halves of the case to get access to the f2013 board. Notice that I've soldered a 2x7 connector to the proto holes in the f2013.

Pins of the connector are labeled according to the micro pin they connect to, for example "P3" connects to microcontroller pin 3. The pins are physically arranged like this, if you're looking at the top view of the board (looking at the the connector pins as they are soldered into the through holes) with the USB connector on the left:

P14P1
P13P2
P12P3
P11P4
P10P5
P9P6
P8P7


1c20 board (links to pdf)

1c20_board.jpg

This is a development board for a perfectly decent, but rather old FPGA - the Cyclone 1c20. Since I work for Altera, it's easy for me to get my hands on one of these boards. I chose this board because it still works just fine with modern tools. Any dev board with a santa cruz connector would work equally well.

J15 is a handy 14-pin connector in a 2x7 arrangement, just right for plugging the f2013 into. Well. Almost just right. More below. Here's the pinout:

j15.GIF


If I blindly plugged the f2013 into J15, these are the connections that would result:

J15 pinJ15 functionf2013 pinf2013 function
J15-1GNDP14GND
J15-2+5VP1VCC
J15-3R11P13XIN
J15-4Y9P2P1.0
J15-5W9P12XOUT
J15-6T10P3P1.1
J15-7U10P11TEST
J15-8V10P4P1.2
J15-9W10P10RST
J15-10Y10P5P1.3
J15-11V11P9P1.7
J15-12U11P6P1.4
J15-13W11P8P1.6
J15-14Y11P7P1.5

The problem is on the second line of the table: J15-2 is +5V, but the f2013 VCC is only 3.6V. Bad things will happen if I connect those two power supplies! I could physically remove that pin of the 2x7 header soldered to the f2013, but in the ultimate application, that pin may be used for supplying power. Or, I could cut the +5V pin on J15, but I don't really want to modify the 1c20 board. Solution: don't plug the f2013 directly into the 1c20 board; instead, plug it in via an intermediate board, which will connect every pin except for J15-2/P1.

Santa Cruz Connector Prototype Board

sc_board.jpg

This is a handy little prototype board which plugs into the "santa cruz connector" footprint of the 1c20 board. I've carved away the connection of J15-2, so that the 1c20 board's +5 supply doesn't connect to the board. The f2013 board connects right into the santa cruz board:

on_sc_card.jpg

And then the santa cruz board plugs into the 1c20 board:
complete_system.jpg

That's enough for now - next time, I'll cover the process of building a testbench, a.k.a. a binary configuration file for the FPGA.

TrackBack

TrackBack URL for this entry:
http://www.antfarm.org/cgi-bin/blog/mt-tb.cgi/26

Comments (1)

Ok. Now I finally understand. That's a pretty brillig little system for peeking, poking, and generally prodding the dut!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on June 16, 2007 7:56 PM.

The previous post in this blog was The Bad Old Way.

The next post in this blog is Wires Are Your Enemy.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31