Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions riocore/boards/iCE40HX8K-EVB_minimal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "iCE40HX8K-EVB",
"description": "OLIMEX ICE40HX8K-EVB FPGA board",
"toolchain": "icestorm",
"family": "ice40",
"type": "hx8k",
"package": "ct256",
"clock": {
"speed": "100000000",
"pin": "J3"
}
}














81 changes: 81 additions & 0 deletions riocore/configs/iCE40HX8K-EVB/config-spi-test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "OLIMEX_iCE40HX8K-EVB",
"description": "OLIMEX iCE40HX8K-EVB board over SPI",
"boardcfg": "iCE40HX8K-EVB_minimal",
"protocol": "SPI",
"plugins": [
{
"type": "blink",
"pins": {
"led": {
"pin": "M12"
}
},
"frequency": 1.0
},
{
"type": "blink",
"pins": {
"led": {
"pin": "R16"
}
},
"frequency": 1.0
},
{
"name": "joint-0",
"type": "stepdir",
"pins": {
"step": {
"pin": "J2"
},
"dir": {
"pin": "H1"
}
},
"is_joint": true,
"axis": "X",
"joint": {
"type": "LINEAR",
"min_limit": 0.0,
"max_limit": 100.0,
"max_velocity": 8.0,
"max_acceleration": 100.0,
"stepgen_maxaccel": 130.0,
"home_search_vel": 20.0,
"home_latch_vel": 10.0,
"home_final_vel": 20.0
}
},
{
"type": "spi",
"pins": {
"mosi": {
"pin": "P11"
},
"miso": {
"pin": "P12"
},
"sclk": {
"pin": "R11"
},
"sel": {
"pin": "R12"
}
}
}
],
"machinetype": "mill",
"linuxcnc": {
"ini": {
"KINS": {
"JOINTS": 1,
"KINEMATICS": "trivkins coordinates=X"
},
"TRAJ": {
"COORDINATES": "X"
}
}
},
"axis": 1
}