Open main menu

Changes

m
A open source project can be found here, it includes pin access to:
* FPGA JTAG* UART 3.3V with pin compatible FT232 socket* Power 5V over USB-C* 5 Button inputs* Buffered video output and socket for USB Videograbber* Digital 14 bit video out header with hsync vsync and clk.*
UART 3the pcb layout has been tested and seems to work.3V with pin compatible FT232 socket
Power 5V over USB-C
5 Button inputshttps://oshwlab.com/gamerpaddy/d8x3c-backpack-usb
Buffered video output and socket for USB Videograbber
Digital 14 bit video out header with hsync vsync and clk.
 
the pcb has been tested and seems to work.https://oshwlab.com/gamerpaddy/d8x3c-backpack-usb
== Sending Serial Commands directly over UART ==
Sending Serial commands directly over UART to the core requires some additional bytes.
The packet structure is as follows (Strip spaces, commands are allways uppercase and 3 chars)
<STX> <LENGTH1> <LENGTH2> Command, Value, Checksum <ETX>
Pseudocode to craft a command packet may look like this<syntaxhighlight lang="c">
//cmd is allways 3 byte uppercase chars
//values can be multiple comma seperated like 320,240
function make_packet(cmd, values):
payload = cmd + "," + join(values, ",") + ","
bytes = ascii(payload)
length = len(bytes)
checksum = sum(bytes) mod 256
return [0x02, length&0xFF, length>>8] + bytes + [checksum, 0x03]
</syntaxhighlight>