Yeah, I got my board, what next ?
First of all, as of all electronic board, use the usual precautions, as well as static care.
Then.. here is the big picture
You can start with populating the headers.
- J7 is essential, it is used to program the board
- J3 as well, as it controls HV, selecting levels with jumpers.
You can install other headers, including the raspberry pi. In the end, my own setup is as follows:
BEWARE: note the yellow jumper: never ever insert it "horizontally", you may short HV levels and destroy the board.
Note I've left the place for a SMA connector, which is good, but you don't need it, just solder any piezo connectors directly if you prefer.
To program it, you have to:
- Install iceprog on your computer (part of the icestorm toolchain.)
- Using a linux, the following command should work:
sudo apt-get install iceprog
- For a Windows, use the following instructions
And to flash the FPGA:
- Put a jumper on the header at "FT if IN" (parallel to R42). It allows the FTDI to kick in to program the flash.
- Download an bitstream / embedded software, this one for example is fine.
- Connect the board via usb to your computer
- Flash it using iceprog MATTY_un0rick_20180826.bin
You're all set now!
For reference, here's what it should look like:
Prepare the RPi
Please note that you can use a Raspberry, as it may be a easy solution, but it is not mandatory to use a raspberry pi. You may want to use any controller with SPI communication capability.
For ease of starting, you can use the raspberry, plugged as showed on the image above. Burn this SD image, and you should be all set. Once logged (pi:raspberrypi as the default Jesse password), you can start a jupyter notebook on the raspberry (with the local ./start script), and connect to this notebook from whereever. Normally, the image can be put on any card with 2GB+ capacity.
- For reference, under Windows, you can flash the SD card for raspberry.
To set up the wireless aspects, there will be a
wpa_supplicant.conf file as
/etc/wpa_supplicant/wpa_supplicant.conf -- Open it with a text editor to indicate your wifi name and password - at the next boot of the RPi you should be set.
Don't hesitate to not connect the RPi yet, check first that it appears on our local network by pinging and connecting to firstname.lastname@example.org with default credentials.
For an easier way, please refer to the Passwordless SSH access page.
And .. use it.
It's just a matter of SPI communication from now on!
There are already notebooks on the raspberry image to let you start playing with the acquisition board.
To start notebooks, you can just use the following sequence once on the Pi: