- Posts: 13
- Thank you received: 1
ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
2 years 10 months ago - 2 years 10 months ago #288737
by horcsab
Replied by horcsab on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
[ 25.078490] usb 2-4: Manufacturer: FTDI
[ 25.118608] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 25.118664] ftdi_sio 2-4:1.0: FTDI USB Serial Device converter detected
[ 25.118920] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 25.118972] ftdi_sio 2-4:1.1: FTDI USB Serial Device converter detected
[ 25.119186] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB1
[ 25.119231] ftdi_sio 2-4:1.2: FTDI USB Serial Device converter detected
[ 25.119427] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB2
[ 25.119475] ftdi_sio 2-4:1.3: FTDI USB Serial Device converter detected
[ 25.119636] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB3
JTAG connection:
ADBUS0 -> J27
ADBUS1 -> J32
ADBUS2 -> J30
ADBUS3 -> J31
GND -> J34
I use external +5V power supply connect to Colorlight board.
[ 25.118608] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 25.118664] ftdi_sio 2-4:1.0: FTDI USB Serial Device converter detected
[ 25.118920] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 25.118972] ftdi_sio 2-4:1.1: FTDI USB Serial Device converter detected
[ 25.119186] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB1
[ 25.119231] ftdi_sio 2-4:1.2: FTDI USB Serial Device converter detected
[ 25.119427] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB2
[ 25.119475] ftdi_sio 2-4:1.3: FTDI USB Serial Device converter detected
[ 25.119636] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB3
JTAG connection:
ADBUS0 -> J27
ADBUS1 -> J32
ADBUS2 -> J30
ADBUS3 -> J31
GND -> J34
I use external +5V power supply connect to Colorlight board.
Last edit: 2 years 10 months ago by horcsab.
Please Log in or Create an account to join the conversation.
2 years 10 months ago #288745
by horcsab
Replied by horcsab on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Problem solved. I was careless when connecting the FTDI module.
The following user(s) said Thank You: Mecanix
Please Log in or Create an account to join the conversation.
2 years 10 months ago #289252
by horcsab
Replied by horcsab on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Dear all,
I have some old analog servo drive width +-10V analog input.
I would like to implement the following:
I should convert the PWM output of the 5A-75E card to +-10V analog output.
I have no problem with the hardware, I can do that.
I would need another digital DIR output for the litexcnc PWM output, which would change the sign.
I don't know if the current firmware knows this or not.
If yes, how to configure this? For example: output j1:7 should be the PWM output and j1:8 the DIR output.
I have some old analog servo drive width +-10V analog input.
I would like to implement the following:
I should convert the PWM output of the 5A-75E card to +-10V analog output.
I have no problem with the hardware, I can do that.
I would need another digital DIR output for the litexcnc PWM output, which would change the sign.
I don't know if the current firmware knows this or not.
If yes, how to configure this? For example: output j1:7 should be the PWM output and j1:8 the DIR output.
Please Log in or Create an account to join the conversation.
2 years 10 months ago #289287
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
At this moment this is not supported, as the PWM only has a single output. What do you want to control with this servo? Is it a rotational output or a linear motion?
In case it is a rotational output, one can consider that 0V is no rotation and the negative and positive are clockwise and anti-clockwise motion. One can use the ABS component ( linuxcnc.org/docs/html/man/man9/abs.9.html ) to split the speed and direction. Feed the speed into the PWM and the is-positive (or is-negative) to the GPIO.
In case it is a rotational output, one can consider that 0V is no rotation and the negative and positive are clockwise and anti-clockwise motion. One can use the ABS component ( linuxcnc.org/docs/html/man/man9/abs.9.html ) to split the speed and direction. Feed the speed into the PWM and the is-positive (or is-negative) to the GPIO.
Please Log in or Create an account to join the conversation.
2 years 10 months ago #289288
by TOLP2
Replied by TOLP2 on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Please note:for Litex-CNC yo can also use the discussions on GitHub (
github.com/Peter-van-Tol/LiteX-CNC/discussions
). Questions are picked up faster over there and other users benefit from the knowledge base.
The following user(s) said Thank You: Ehsan_R
Please Log in or Create an account to join the conversation.
2 years 10 months ago #289315
by horcsab
Replied by horcsab on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I would like to implement something similar to the Mesa 7i77 card.
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds