Coder Social home page Coder Social logo

Comments (6)

ozzyrob avatar ozzyrob commented on September 22, 2024 1

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.

multigcs avatar multigcs commented on September 22, 2024

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.

ozzyrob avatar ozzyrob commented on September 22, 2024

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.

multigcs avatar multigcs commented on September 22, 2024

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.

multigcs avatar multigcs commented on September 22, 2024

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.

multigcs avatar multigcs commented on September 22, 2024

thank you !
for verifying new boards and for testing

from linuxcnc-rio.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.