ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
23 Dec 2021 18:28 #229825
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Hi everyone
I'll change pins multiplexing soon in the same way like in MCUs:
pin[xx].function=XX, say
setp pin[0].function pwmgen[0].out
or
setp pin[0].function stepgen[0].step
setp pin[1].function stepgen[0].dir
and so on.
I'll change pins multiplexing soon in the same way like in MCUs:
pin[xx].function=XX, say
setp pin[0].function pwmgen[0].out
or
setp pin[0].function stepgen[0].step
setp pin[1].function stepgen[0].dir
and so on.
The following user(s) said Thank You: besriworld, svb
Please Log in or Create an account to join the conversation.
07 Jan 2022 15:50 #231031
by tuzki
Replied by tuzki on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Thank you, romanetz.
I knew nothing about FPGA. I saw the files provided by romanetz, which contained many folders and files. I have a JLINK. Do I need to use JLINK to upload the "colorlight_5a_75b. V" file to the FPGA of 5a75b
I don't know if this firmware supports CNC handwheel
I knew nothing about FPGA. I saw the files provided by romanetz, which contained many folders and files. I have a JLINK. Do I need to use JLINK to upload the "colorlight_5a_75b. V" file to the FPGA of 5a75b
I don't know if this firmware supports CNC handwheel
Please Log in or Create an account to join the conversation.
09 Jan 2022 07:58 #231222
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
.v is a generated Verilog source file
I don't know whether J-Link supports flashing of FPGAs or not, particularly Lattice. The compiled firmware has .bin extension
I don't know whether J-Link supports flashing of FPGAs or not, particularly Lattice. The compiled firmware has .bin extension
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
19 Jan 2022 15:04 - 19 Jan 2022 15:06 #232440
by tuzki
Replied by tuzki on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
我在网上买的5a-75b到货了。我要测试这个神奇的项目。5a-75b是否有望成为台面板的替代品
Last edit: 19 Jan 2022 15:06 by tuzki.
Please Log in or Create an account to join the conversation.
21 Jan 2022 06:37 #232599
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
I did some tests on my table CNC3018 mill and with larger mill. Everything operated as expected.
The pinout and the latest version of driver is in attachment (changed: added possibility to set idle state of step and dir signals)
I'll share the latest firmware source tonight, it's on another PC
The pinout and the latest version of driver is in attachment (changed: added possibility to set idle state of step and dir signals)
I'll share the latest firmware source tonight, it's on another PC
The following user(s) said Thank You: tommylight, ALittleOffTheRails
Please Log in or Create an account to join the conversation.
- ALittleOffTheRails
- Offline
- User is blocked
Less
More
- Posts: 247
- Thank you received: 65
21 Jan 2022 07:03 #232601
by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Great work. And thank you for sharing.
Any links to the board you are using ? I'd like to give this a try. Just want to be on the same field so things should be easier to debug when I mess up, rather than trying to work out whether it's an issue with the board or just me. I have a small 3 axis EleksMake cnc mill I can use as a test bed.
Any chance of being able to implement a spindle encoder (for lathe threading) ?
Not to sound pushy, ideally 1 spindle encoder and 2 mpg inputs would be great for a lateh. Although the MPGs could be realised by the linuxcnc encoder comp.
Any links to the board you are using ? I'd like to give this a try. Just want to be on the same field so things should be easier to debug when I mess up, rather than trying to work out whether it's an issue with the board or just me. I have a small 3 axis EleksMake cnc mill I can use as a test bed.
Any chance of being able to implement a spindle encoder (for lathe threading) ?
Not to sound pushy, ideally 1 spindle encoder and 2 mpg inputs would be great for a lateh. Although the MPGs could be realised by the linuxcnc encoder comp.
Please Log in or Create an account to join the conversation.
21 Jan 2022 08:19 #232606
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
There are encoder processing blocks already, but due to the lack of inputs (totally 24) i decided to disable them. Well, in the existing situation, it's possible to let user to tradeoff between number of encoders and digital inputs for any particular application by some firmware and driver modification.
Besides, there is another board colorlight 5a-75e which has twice as many I/Os (totally 102)
aliexpress.com/item/1005002754051460.html
It has the same FPGA (that makes porting of gateware rather easy) and in general described here:
github.com/q3k/chubby75/blob/master/5a-75e/hardware_V7.1.md
I'll order the board and give it a try
Besides, there is another board colorlight 5a-75e which has twice as many I/Os (totally 102)
aliexpress.com/item/1005002754051460.html
It has the same FPGA (that makes porting of gateware rather easy) and in general described here:
github.com/q3k/chubby75/blob/master/5a-75e/hardware_V7.1.md
I'll order the board and give it a try
The following user(s) said Thank You: ALittleOffTheRails
Please Log in or Create an account to join the conversation.
- ALittleOffTheRails
- Offline
- User is blocked
Less
More
- Posts: 247
- Thank you received: 65
21 Jan 2022 08:43 #232609
by ALittleOffTheRails
Replied by ALittleOffTheRails on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Many many thanks, just ordered the one you suggested. So I'll do see serious reading and play the waiting game, and with a bit of luck the Australian Gumbernment will grant the package entry to the country.
Please Log in or Create an account to join the conversation.
21 Jan 2022 17:54 - 21 Jan 2022 17:57 #232665
by romanetz
Replied by romanetz on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Firmware for 5a-75e board
Compared to 5A-75B: added 6 encoders (total 6), 20 DO (total 32), 6 DI (total 30), 3 PWM (total 6). This version will be tested in hardware as soon as i'll get the board
For safe operation under disconnect condition, a little modification - reset of all pins to predefined state - is needed
Compared to 5A-75B: added 6 encoders (total 6), 20 DO (total 32), 6 DI (total 30), 3 PWM (total 6). This version will be tested in hardware as soon as i'll get the board
For safe operation under disconnect condition, a little modification - reset of all pins to predefined state - is needed
Last edit: 21 Jan 2022 17:57 by romanetz.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19023
- Thank you received: 6374
21 Jan 2022 23:18 #232699
by tommylight
Do you want us to delete this post?
Replied by tommylight on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
@Tuzki,我在网上买的5a-75b到货了。我要测试这个神奇的项目。5a-75b是否有望成为台面板的替代品
Do you want us to delete this post?
Please Log in or Create an account to join the conversation.
Time to create page: 0.141 seconds