Raspberry Pi 4

More
6 years 9 months ago #154768 by skunkworks
Replied by skunkworks on topic Raspberry Pi 4
99% sure the problems I was having was timesyncd -> switched to ntp

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

More
6 years 9 months ago #154837 by russell
Replied by russell on topic Raspberry Pi 4
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

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

More
6 years 9 months ago - 6 years 9 months ago #154840 by PCW
Replied by PCW on topic Raspberry Pi 4

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)
Last edit: 6 years 9 months ago by PCW.

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

More
6 years 9 months ago #155082 by AgentWD40
Replied by AgentWD40 on topic Raspberry Pi 4
Maybe this is the wrong place to ask this, if so I apologize in advance.

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 or Create an account to join the conversation.

More
6 years 9 months ago #155083 by PCW
Replied by PCW on topic Raspberry Pi 4
No performance difference, the 7C80 does provide quite a bit more I/O

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)
The following user(s) said Thank You: AgentWD40

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

More
6 years 9 months ago #155118 by Mike_Eitel
Replied by Mike_Eitel on topic Raspberry Pi 4
Hi PCW
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 or Create an account to join the conversation.

Time to create page: 0.465 seconds
Powered by Kunena Forum