- Posts: 174
- Thank you received: 0
Raspberry Pi 4
Thanks.
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 to join the conversation.
- skunkworks
- Offline
- Platinum Member
-
- Posts: 351
- Thank you received: 0
Please Log in to join the conversation.
- skunkworks
- Offline
- Platinum Member
-
- Posts: 351
- Thank you received: 0
Please Log in to join the conversation.
I'm in the process of moving my lathe over from MachineKit on a BBB to LinuxCNC on a RPI 4 with a Mesa 7c80, I've had to use master to get the INMUX support for the inputs but I'm now stuck setting up the spindle enables and direction outputs. I've got the motor drivers direction and enable inputs connected up to the Spindle Enable and Spindle Direction terminals on TB5 but I can't see anyway of triggering them from HAL - am I missing something?
Regards
Russlel
Please Log in to join the conversation.
russell wrote: Hi,
I'm in the process of moving my lathe over from MachineKit on a BBB to LinuxCNC on a RPI 4 with a Mesa 7c80, I've had to use master to get the INMUX support for the inputs but I'm now stuck setting up the spindle enables and direction outputs. I've got the motor drivers direction and enable inputs connected up to the Spindle Enable and Spindle Direction terminals on TB5 but I can't see anyway of triggering them from HAL - am I missing something?
Regards
Russlel
Yeah missing a better manual...
The spindle analog enable is part of the PWM hardware so enabled when
the PWMGen is enabled
The Optocoupler ENA (or forward) output is controlled by GPIO 20
The Optocoupler DIR (or reverse) output is controlled by GPIO 21
These are both active low so you would want to set both the is_output parameter
on both GPIO bits and set invert_output parameter on the enable pin
(and possibly on the dir pin depending on how the drive direction works)
Please Log in to join the conversation.
If one were setting up a new machine with rpi4 in mind, is there any performance benefit to the 7c80 vs something like the 7i96? There is obviously a significant cost difference.
Please Log in to join the conversation.
24 isolated inputs vs 11
8 isolated outputs vs 6
Isolated analog spindle interface vs no spindle interface
Single 10-36V power vs 5V power
Doesn't use RPI4s Ethernet
(this could be an advantage or disadvantage depending on physical layout)
Please Log in to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
Maybe I'm to blind, but i could not find the prices for the rpi cards on your pricelist..
Where can i find them.
THX
Mike
Please Log in to join the conversation.
Please Log in to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
Please Log in to join the conversation.
