Raspberry Pi 4

More
6 years 9 months ago #153875 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4
And is the sheckles you save worth the effort? The Mesa stuff just works. Sure, in my case the 7i90 needs three 7i42TA's because the 7i90 is a 3.3 volt max card and I had a huge noise problem early on, brings it up to about $200 but it sure works nice and wires up easily. And with 72 I/O I'll never run out of I/O even if I replace my tool post with a cnc'd turret. I haven't taken inventory but probably have 40 or more empty lines to use yet. ATM I'm using 2 stepgens, one pwmgen and 3 encoders. The pwmgen is driving a spinx1 to run the vfd. The 2nd and 3rd encoders are replacing the hand cranks with encoder dials so I can drive it by hand too.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
6 years 9 months ago #153878 by gtt38
Replied by gtt38 on topic Raspberry Pi 4
Mesa board are really beatiful and really cheap for the protection (5v tolerant etc...), that's why i'm gonna buy the 7c81 for my lathe. With my 7i78 it will run good i think.
I'm looking for cheap solution too, a raspberry is a cheap computer, and driving 3dprinters or laser cutters could be nice and better than arduino.
I have a cheap CPLD board too like this :
www.openimpulse.com/blog/products-page/p...d-development-board/
based on XC9572XL
hostmot2 SPI on a small board like this could be enough to drive a 3D printer in 3.3V

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

More
6 years 9 months ago #153883 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4
It does look interesting if I wanted to learn yet another language. But at my age, 85, I'd much rather throw money at it. If I had the money. I'd like to have a 3d printer, but I am out of room in the garage. And with my recent health problem, my parts list is beginning to look like the 6 million dollar man. I also have a couple pieces of furniture cut out to finish which I hope to complete before I miss roll call. When that's done and delivered, I might have room for a 3d. If I've got the giddyup left. We'll have to wait and see. :)

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >

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

More
6 years 9 months ago #154014 by gtt38
Replied by gtt38 on topic Raspberry Pi 4
so i made an image with Gene repo and latest driver it works pretty good and it's quick to create.
unfortunatly same SPI1 error (SPI0 is working really good)
Code:
pi@LinuxCNC:~ $ halrun halcmd: loadrt hostmot2 Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 halcmd: loadrt hm2_rpspi spi_probe=16 spi_debug=5 spiclk_rate=5000 spiclk_rate_rd=5000 hm2_rpspi: Platform: Raspberry Pi 4 Model B Rev 1.1 hm2_rpspi: Base address 0xfe000000 size 0x01800000 hm2_rpspi: Mapped peripherals from 0xfe000000 (size 0x01800000) to gpio:0x0xb4c80000, spi:0x0xb4c84000, aux:0x0xb4c95000 hm2_rpspi: SPI1/CE2 clock rate: 5000000/5000000 Hz, VPU clock rate: 500000000 Hz hm2_rpspi: SPI1/CE2 write clock rate calculated: 5000000 Hz (clkdiv=100) hm2_rpspi: SPI1/CE2 read clock rate calculated: 5000000 Hz (clkdiv=100) hm2_rpspi: SPI1/CE2 Invalid cookie, read: 00000000 00000000 00000000, expected: 55aacafe 54534f48 32544f4d hm2_rpspi: SPI1/CE2 No drive seen on MISO line (kept at pull-down level). No board connected or bad connection? hm2_rpspi: rtapi_app_main: No such device (-19) <stdin>:2: waitpid failed /usr/bin/rtapi_app hm2_rpspi <stdin>:2: /usr/bin/rtapi_app exited without becoming ready <stdin>:2: insmod for hm2_rpspi failed, returned -1
i can try on CE0 or CE1 but i think it's the same...

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

More
6 years 9 months ago #154015 by Bertho
Replied by Bertho on topic Raspberry Pi 4
Yes, but this is still on a RPI4:
"hm2_rpspi: Platform: Raspberry Pi 4 Model B Rev 1.1"

But what does a RPi3 say?

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

More
6 years 9 months ago #154017 by PCW
Replied by PCW on topic Raspberry Pi 4
you could put a pullup resistor on the MISO line
If you get 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
its likely the CE line is not asserted...

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

Time to create page: 0.572 seconds
Powered by Kunena Forum