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

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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.

Please Log in to join the conversation.

More
2 years 5 months ago #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.
 

Please Log in to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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
 

Attachment not found


github.com/Peter-van-Tol/LiteX-CNC/discu...ssioncomment-9351198
github.com/Peter-van-Tol/LiteX-CNC/discu...8#discussion-6627097
 

Please Log in to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #300325 by wzor
  

Attachment not found



Put a board like this on and you won't have any problems! Price $5 + LPT cable!
It connects to the Colorlite board!

Please Log in to join the conversation.

More
2 years 5 months ago #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.
 

Please Log in to join the conversation.

Time to create page: 1.198 seconds
Powered by Kunena Forum