LitexCNC: firmware and driver for 5A-75B and 5A-75E

More
07 May 2024 21:10 #300067 by Ehsan_R

Does the controller actually generate steps when LinuxCNC is not running,
or does it just float its outputs, possibly causing noise generation because
the I/O levels are undefined?

The motor starts moving at a speed of about 100 rpm
And this work continues until the software is opened again and the power button is pressed

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

More
08 May 2024 01:27 - 08 May 2024 01:29 #300085 by Mecanix

Does the controller actually generate steps when LinuxCNC is not running,
or does it just float its outputs, possibly causing noise generation because
the I/O levels are undefined?
 

No it doesn't, neither ghosted. Works great (200+hrs so far, many parts). The I/O states are initialized and maintained hardware-wise (pullups/pulldowns). That's the machine-tool builder's responsability when designing the interfacing board/pcb.
Last edit: 08 May 2024 01:29 by Mecanix.
The following user(s) said Thank You: Ehsan_R

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

More
08 May 2024 01:36 - 08 May 2024 01:40 #300086 by PCW
So are you saying that the FPGA board has undefined states at its I/O pins
if they are floated so require the interfacing hardware to have pullups
or pulldowns to define the state after a watchdog bite?

That might explain the issue if the interfacing hardware lacks these.
 
Last edit: 08 May 2024 01:40 by PCW.

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

More
08 May 2024 01:41 #300087 by Mecanix
Ofc. I doubt anyone would go about interfacing machine-tools straight into level shifters. Seen worst mind you, so all guesses as to what's happening in some other cases.

Yes. It indeed requires an additional board (1. colorlight fpga board, and 2.proper interfacing board).

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

More
08 May 2024 02:03 #300088 by Mecanix
RC net, schmitt triggers/buffers, pullups/pulldowns, octocouplers... you know. Usual motion control interfacing board stuff. Nothing fancy or spaceship. $10 worth but regardless, "mandatory" for obvious reasons.

Actually works beyond expectations, quite impressed. Recommend.

ps. with your hostmot2 I believe

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

More
08 May 2024 09:21 - 08 May 2024 09:27 #300098 by Ehsan_R

So are you saying that the FPGA board has undefined states at its I/O pinsif they are floated so require the interfacing hardware to have pullupsor pulldowns to define the state after a watchdog bite?That might explain the issue if the interfacing hardware lacks these. 

 

I sent the header board schematic file
Of course, it needs to be modified in some cases
Also a short video of the problem I'm having
 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


github.com/Peter-van-Tol/LiteX-CNC/discu...ssioncomment-9351198
github.com/Peter-van-Tol/LiteX-CNC/discu...8#discussion-6627097
 
Attachments:
Last edit: 08 May 2024 09:27 by Ehsan_R.

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

More
08 May 2024 10:20 #300107 by Ehsan_R
I did not consider the pull down resistors for the input and output pins. I actually thought this resistor was intended on the fpga board.Where else should the pin intended for the watchdog be connected?

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

More
10 May 2024 05:53 #300291 by Ehsan_R

No it doesn't, neither ghosted. Works great (200+hrs so far, many parts). The I/O states are initialized and maintained hardware-wise (pullups/pulldowns). That's the machine-tool builder's responsability when designing the interfacing board/pcb.

Hello
Can you please share your board schematic and ini and hal configuration files with us?

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

More
10 May 2024 14:15 - 10 May 2024 14:21 #300325 by wzor
  

Put a board like this on and you won't have any problems! Price $5 + LPT cable!
It connects to the Colorlite board!
Attachments:
Last edit: 10 May 2024 14:21 by wzor.

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

More
10 May 2024 16:30 - 10 May 2024 16:48 #300335 by besriworld
This board is not good for high speed step/dir . 
For reliability you need differential signals. 
It is also important to have a nice layout for the input signals.
 
Last edit: 10 May 2024 16:48 by besriworld.

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

Moderators: PCWjmelson
Time to create page: 0.125 seconds
Powered by Kunena Forum