What is the best way for communication over US1? is uart possible?
emard
@emard
Yes US1 supports USB-RS232 all standard speeds like 9600 or 115200 and few additional faster maximal is 3Mbps = baudrate 3000000
Andrew E Wilson
@AEW2015
@emard is it just the pins for FTDI_TXD/RXD? What about the host side? is special software required or can I just use screen or putty?
emard
@emard
Yes TXD/RXD are enough (and few other control lines are also connected to FPGA maybe they can be useful). You can connect using
screen /dev/ttyUSB0 115200
or sometimes also thisworks:
fujprog -t
note in our "official" constraints about directions. ftdi_txd is TX of FTDI and input to FPGA. also ftdi_rxd is RX of FTDI and should be output from FPGA.
Andrew E Wilson
@AEW2015
@emard Thanks! fujprog -t just worked on windows (D19 led blinks), just need to find an example with uart or write my own.
emard
@emard
Easiest example is to compile loopback
assign ftdi_rxd = ftdi_txd;
Andrew E Wilson
@AEW2015
Any suggestions for connectors to get for the PMOD set?
Also, do those PMODs have schematics on github?
Goran Mahovlic
@goran-mahovlic
@AEW2015 yes, but I made a few changes recently on HDMI
It may be shipped in additional package - for some reason...
That are connectors I would recommend, but @emard has different approach
Andrew E Wilson
@AEW2015
I did it through the Campaign, got a box with blank pcb, ULS3S, and the pmods, but no connectors like listed above. Should I wait for another box? I never got a tracking number.
Goran Mahovlic
@goran-mahovlic
yes, you will get it separately at some point - if not please let me know so we can send complains
Andrew E Wilson
@AEW2015
yea the paper inside, says a item is pending, I assume its that.
What software do you use to view sch files?
Goran Mahovlic
@goran-mahovlic
kicad
and yes I need to include pdf - that is missing - will do it tomorrow
_
there is also suggested connector place on ULX3S - for USB PMOD you will connect it to top right corner - so it can get 5V
and for GPDI (HDMI) best way is to connect it to bottom left corner
on that place you can get input working - on other places you can only do outputs
Andrew E Wilson
@AEW2015
is the reason known?
Goran Mahovlic
@goran-mahovlic
yes, at bottom left corner is differential clock capable pin - and we need that for clock input
Andrew E Wilson
@AEW2015
That makes sense. I was going to try an input -> output video filter as one of my first project.
Goran Mahovlic
@goran-mahovlic
that is hardest thing to get :)
from all projects - we have some examples - but you still need to adjust phase with buttons to get it right ...
Andrew E Wilson
@AEW2015
I have done it a lot with the Xilinx Pynq but will have to figure out the Xilinx IP i used and if I can get VDMA working with the limited ram on this board.
Also suggested resolution is 640x480 - as it is easiest to adjust phase on lower res
Andrew E Wilson
@AEW2015
what framerate?
Goran Mahovlic
@goran-mahovlic
I think 60 is standard
the thing is that if you are input device you need to provide EDID info over I2C to device that will then send picture on resolutions you are supporting
in the code I ave send you edid.rom will "offer" 640x480x60
you can also use for example raspberry to some other resolution and disable EDID check
that way you can maybe get bigger resolutions, but main thing is to somehow get sync
Andrew E Wilson
@AEW2015
Yea I played around with edid files to get weird resolutions and framerate.