- Posts: 51
- Thank you received: 0
ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
4 years 10 months ago #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.
Please Log in to join the conversation.
4 years 9 months ago #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 to join the conversation.
4 years 9 months ago #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
Please Log in to join the conversation.
4 years 9 months ago #232440
by tuzki
Replied by tuzki on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
我在网上买的5a-75b到货了。我要测试这个神奇的项目。5a-75b是否有望成为台面板的替代品
Please Log in to join the conversation.
4 years 9 months ago #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
Please Log in to join the conversation.
- ALittleOffTheRails
- New Member
-
Less
More
- Thank you received: 0
4 years 9 months ago #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 to join the conversation.
4 years 9 months ago #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
Please Log in to join the conversation.
- ALittleOffTheRails
- New Member
-
Less
More
- Thank you received: 0
4 years 9 months ago #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 to join the conversation.
4 years 9 months ago #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
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
4 years 9 months ago #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 to join the conversation.
Time to create page: 0.243 seconds
