Converting a 7i76e config to 7c81/7i76 pair

More
3 years 2 months ago #279181 by acondit
Hi Peter,

That sounds easy enough but I don't know how to turn SPI on Debian 12. So I am having to stand on my head to create a new disk with RaspberryPi OS (currently still Bullseye) so that I can write the 7c81_7i76x2.bit file to the 7c81 board.

If it is possible to turn on the spi device on Debian Bookworm, that would be great.
Is that possible?

I am currently using Bookworm on my CNCLathe with PC/5i25/7i76 and my PCBMill with 7i76e. So life would be simpler if I could also run my X2mill with the RPi4/7c81/7i76 on Bookworm. It sounds like once I have the correct bit file on the 7c81 that then I can run linuxcnc 2.9 with the RPi4/7c81/7i76. Is that correct?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279182 by PCW
Did you try enabling SPI with raspi-config?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279188 by acondit
I thought you said raspi-config was not available on Debian 12? Did I misunderstand?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279197 by PCW
Not that I recall, but you may need to add it if its not included.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279210 by Cant do this anymore bye all
I could never get a spi device with bookworm tried for about a day or so but no luck, so I just went with Raspbian based on Bullseye. Have no trouble at all, even works with the Spartan-6 dev board I have with 7c81 firmware loaded.
Seriously Pete from MESA is a top guy. His range of products and support take Linuxcnc to the next level.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #279214 by rodw

I could never get a spi device with bookworm tried for about a day or so but no luck, so I just went with Raspbian based on Bullseye. Have no trouble at all, even works with the Spartan-6 dev board I have with 7c81 firmware loaded.
Seriously Pete from MESA is a top guy. His range of products and support take Linuxcnc to the next level.
I think this has been resolved on Bookworm recently but you will have to compile from source to get the changes (which I am doing now).
The issue was we used a non-standard way to talk to the GPIO's which became depreciated in Bookworm. Andy has done some changes to get gpio working. He has also written a new gpio driver that uses the gpiod library which is the correct method. BUt I don't think its been included yet.

Please Log in or Create an account to join the conversation.

Time to create page: 0.359 seconds
Powered by Kunena Forum