Comments (6)
Sorry for so long to get back. Spent ages setting up OS for getting going, only to find out that Debian Bookworm doesn't want to play nice with SPI. Found a user on the Linuxcnc forum that had a prebuilt image based on Bullseye with Linuxcnc installed.
Everything set and the Lattice Eval board works. Had an issue with SPI when using Dupoint jumpers, solved that with a little hacked together PCB. Getting problem free SPI communication, with the divisor at 128.
Really enjoying this and appreciating your work, thank you sir.
Next is to hook up some 3.3v to 5v breakout boards I used with my Beaglebone Black & get start testing the Z axis on the ML7/Super 7 Fankenstein thing in the garage.
Cheers Rob
from linuxcnc-rio.
Hi, you can use:
configs/Olimex-ICE40HX8K-EVB_BOB/config.json
as basis and adding the osc parameter:
"clock": {
"osc": "12000000",
"speed": "100000000",
"pin": "J3"
},
from linuxcnc-rio.
That's fantastic.
Just working on a spreadsheet to get my head around FPGA pin mapping to header pins, once that's sorted I'll setup the RPi 400 and start messing around.
While I'm asking...... will there be an option for an index pulse on an encoder, say for threading for a lathe ?
Cheers
Rob
from linuxcnc-rio.
You can map all pins to each function,
only the Clock-Input is fixed (Crystal), depends on your board layout
The SPI (to raspberry) can also freely mapped, BUT i'm using the same pins as the SPI-Flash with another CS-Pin,
because, than i can flash it directly via Raspberry PI without USB.
from linuxcnc-rio.
While I'm asking...... will there be an option for an index pulse on an encoder, say for threading for a lathe ?
not supported yet, because i have no CNC-Lathe and i don't know what i should do with the index-pin .
i will check this...
encoder..index-enable (bit, I/O) - When True, counts and position are reset to zero on next rising edge of Phase Z. At the same time, index-enable is reset to zero to indicate that the rising edge has occoured. The index-enable pin is bi-directional. If index-enable is False, the Phase Z channel of the encoder will be ignored, and the counter will count normally. The encoder driver will never set index-enable True. However, some other component may do so.
puhh, sounds complicated :) i will try it
from linuxcnc-rio.
thank you !
for verifying new boards and for testing
from linuxcnc-rio.
Related Issues (13)
- Tangnano 9K HOT 3
- unable to reset E-STOP HOT 33
- joint_pwmdir does not generate pwm output HOT 4
- linuxcnc crash makes SPI no workie HOT 12
- while upload got error HOT 5
- Reverse output pwm HOT 2
- BOB design guidlines HOT 3
- UDP HOT 5
- encoder Z auto config error HOT 15
- TangNano9K will not work correctly HOT 1
- Creating digital inputs HAL: ERROR: pin_new(pinname) called with already-initialized memory HOT 2
- Incorrect byte order for multibyte DIN packets HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linuxcnc-rio.