LitexCNC: firmware and driver for 5A-75B and 5A-75E
19 Jun 2024 08:51 #303340
by cornholio
Replied by cornholio on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
The JSON files are on github. I suggest you have a good read of the github readme and explore the directories to get an idea. Also this is a good read
litex-cnc.readthedocs.io/en/latest/
Another thing, unless you specify the config you want, it will be hard to come up will a JSON file and firmware & hal and ini files.
How much of each component do you want ?
There's a couple of HAL examples if you care to look around the files.
litex-cnc.readthedocs.io/en/latest/
Another thing, unless you specify the config you want, it will be hard to come up will a JSON file and firmware & hal and ini files.
How much of each component do you want ?
There's a couple of HAL examples if you care to look around the files.
Please Log in or Create an account to join the conversation.
19 Jun 2024 21:41 #303388
by olegnomad
Replied by olegnomad on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
The examples for the 5A-75E show the configuration for GPIO (in/out) 30/29 PWM 9
Stepgen (type) 9 (step/dir) Encoders (type) 9 (A/. There is a link to the JSON file. But it only contains GPIOs. What is the use of it? Is there JSON, ini, hal for this configuration? Or something like this. It will be something to start from. This is enough for 90% of users. imho.
Stepgen (type) 9 (step/dir) Encoders (type) 9 (A/. There is a link to the JSON file. But it only contains GPIOs. What is the use of it? Is there JSON, ini, hal for this configuration? Or something like this. It will be something to start from. This is enough for 90% of users. imho.
Please Log in or Create an account to join the conversation.
19 Jun 2024 23:35 #303389
by cornholio
Replied by cornholio on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Like I said explore the github repo for other examples, they are there.
Page 6 of this thread discusses Hal & ini files with someone’s example.
I suggest that you read the entire topic.
Page 6 of this thread discusses Hal & ini files with someone’s example.
I suggest that you read the entire topic.
Please Log in or Create an account to join the conversation.
19 Jun 2024 23:42 #303390
by cornholio
Replied by cornholio on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Also you still haven’t described the machine config you require. Without that it is impossible to do anything in regards to helping you.
Have you actually installed the development environment and attempted to build and program one of the configurations, just so to confirm that everything works ?
You haven’t even said whether you are using a PC or a RPi and whether you are using spi or Ethernet.
Have you actually installed the development environment and attempted to build and program one of the configurations, just so to confirm that everything works ?
You haven’t even said whether you are using a PC or a RPi and whether you are using spi or Ethernet.
Please Log in or Create an account to join the conversation.
08 Oct 2024 08:36 - 08 Oct 2024 08:40 #311547
by unromeo21
Replied by unromeo21 on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Hi everybody,
many thanks for the great work you are puting into this Project.
I have some issues, maybe somebody can guide me into debugging it.
I bought a 5A-75B V8.2 and managed to flash it without issues using a Raspberry Pi 4. The JSON used was the example from the documentation , 5a-75b_v8.0_i12o14p6s6e6 . I have not made any changes to it yet, as I just wanted to test the whole process first and see if I get into issues down the road. Now, I don't know if using the json for version 8.0 is causing the issues that I have.
The board is pingable over network, and can also be loaded into halrun:
Show Pin works :
and also Show Param:
But no matter which out pin I set to enable with setp command,, there are no changes measured on the board, and I measured ALL pins.
The 5A-75B:V8.0.watchdog.has_bitten is FALSE.
halcmd: setp 5A-75B:V8.0.gpio.00.out 1
halcmd: getp 5A-75B:V8.0.gpio.00.out
TRUE
Thanks again for your help.
many thanks for the great work you are puting into this Project.
I have some issues, maybe somebody can guide me into debugging it.
I bought a 5A-75B V8.2 and managed to flash it without issues using a Raspberry Pi 4. The JSON used was the example from the documentation , 5a-75b_v8.0_i12o14p6s6e6 . I have not made any changes to it yet, as I just wanted to test the whole process first and see if I get into issues down the road. Now, I don't know if using the json for version 8.0 is causing the issues that I have.
The board is pingable over network, and can also be loaded into halrun:
halcmd: loadrt litexcnc connections="eth:10.0.0.10"Note: Using POSIX realtimelitexcnc: Loading Litex CNC driver version 1.2.4
litexcnc: Loading and registering default modules:
litexcnc: Registered module gpio
litexcnc: Registered module pwm
litexcnc: Registered module encoder
litexcnc: Registered module step
litexcnc: Setting up board drivers:
litexcnc: Registered driver eth
LitexCNC-eth: connected to board on '10.0.0.10:1234'
litexcnc: Setting up modules...
litexcnc: Reading 36 bytes
litexcnc: - Watchdog
litexcnc: - Wallclock
litexcnc: - gpio ... done!
litexcnc: - pwm ... done!
litexcnc: - encoder ... done!
litexcnc: - step ... done!
litexcnc: Creating read and write buffers...
litexcnc: Base addresses: init: 00000000, reset: 00000044, config: 00000048, write: 0000004C, read: 000000C8
litexcnc: - Write buffer: 124 bytes
litexcnc: - Read buffer: 116 bytes
litexcnc: Exporting functions...
Show Pin works :
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
4 s32 OUT 0 5A-75B:V8.0.encoder.00.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.00.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.00.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.00.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.00.position
4 s32 OUT 0 5A-75B:V8.0.encoder.00.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.00.reset
4 float OUT 0 5A-75B:V8.0.encoder.00.velocity
4 float OUT 0 5A-75B:V8.0.encoder.00.velocity-rpm
4 s32 OUT 0 5A-75B:V8.0.encoder.01.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.01.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.01.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.01.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.01.position
4 s32 OUT 0 5A-75B:V8.0.encoder.01.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.01.reset
4 float OUT 0 5A-75B:V8.0.encoder.01.velocity
4 float OUT 0 5A-75B:V8.0.encoder.01.velocity-rpm
4 s32 OUT 0 5A-75B:V8.0.encoder.02.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.02.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.02.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.02.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.02.position
4 s32 OUT 0 5A-75B:V8.0.encoder.02.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.02.reset
4 float OUT 0 5A-75B:V8.0.encoder.02.velocity
4 float OUT 0 5A-75B:V8.0.encoder.02.velocity-rpm
4 s32 OUT 0 5A-75B:V8.0.encoder.03.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.03.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.03.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.03.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.03.position
4 s32 OUT 0 5A-75B:V8.0.encoder.03.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.03.reset
4 float OUT 0 5A-75B:V8.0.encoder.03.velocity
4 float OUT 0 5A-75B:V8.0.encoder.03.velocity-rpm
4 s32 OUT 0 5A-75B:V8.0.encoder.04.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.04.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.04.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.04.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.04.position
4 s32 OUT 0 5A-75B:V8.0.encoder.04.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.04.reset
4 float OUT 0 5A-75B:V8.0.encoder.04.velocity
4 float OUT 0 5A-75B:V8.0.encoder.04.velocity-rpm
4 s32 OUT 0 5A-75B:V8.0.encoder.05.counts
4 bit IN FALSE 5A-75B:V8.0.encoder.05.index-enable
4 bit OUT FALSE 5A-75B:V8.0.encoder.05.index-pulse
4 bit OUT FALSE 5A-75B:V8.0.encoder.05.overflow-occurred
4 float OUT 0 5A-75B:V8.0.encoder.05.position
4 s32 OUT 0 5A-75B:V8.0.encoder.05.raw-counts
4 bit I/O FALSE 5A-75B:V8.0.encoder.05.reset
4 float OUT 0 5A-75B:V8.0.encoder.05.velocity
4 float OUT 0 5A-75B:V8.0.encoder.05.velocity-rpm
4 bit IN FALSE 5A-75B:V8.0.gpio.00.out
4 bit IN FALSE 5A-75B:V8.0.gpio.01.out
4 bit IN FALSE 5A-75B:V8.0.gpio.02.out
4 bit IN FALSE 5A-75B:V8.0.gpio.03.out
4 bit IN FALSE 5A-75B:V8.0.gpio.04.out
4 bit IN FALSE 5A-75B:V8.0.gpio.05.out
4 bit OUT FALSE 5A-75B:V8.0.gpio.06.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.06.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.07.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.07.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.08.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.08.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.09.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.09.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.10.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.10.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.11.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.11.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.12.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.12.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.13.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.13.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.14.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.14.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.15.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.15.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.16.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.16.in-not
4 bit OUT FALSE 5A-75B:V8.0.gpio.17.in
4 bit OUT FALSE 5A-75B:V8.0.gpio.17.in-not
4 bit IN FALSE 5A-75B:V8.0.gpio.18.out
4 bit IN FALSE 5A-75B:V8.0.gpio.19.out
4 bit IN FALSE 5A-75B:V8.0.gpio.20.out
4 bit IN FALSE 5A-75B:V8.0.gpio.21.out
4 bit IN FALSE 5A-75B:V8.0.gpio.22.out
4 bit IN FALSE 5A-75B:V8.0.gpio.23.out
4 float OUT 0 5A-75B:V8.0.pwm.00.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.00.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.00.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.00.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.00.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.00.enable
4 float IN 1 5A-75B:V8.0.pwm.00.max_dc
4 float IN 0 5A-75B:V8.0.pwm.00.min_dc
4 float IN 0 5A-75B:V8.0.pwm.00.offset
4 float IN 100000 5A-75B:V8.0.pwm.00.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.00.scale
4 float IN 0 5A-75B:V8.0.pwm.00.value
4 float OUT 0 5A-75B:V8.0.pwm.01.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.01.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.01.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.01.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.01.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.01.enable
4 float IN 1 5A-75B:V8.0.pwm.01.max_dc
4 float IN 0 5A-75B:V8.0.pwm.01.min_dc
4 float IN 0 5A-75B:V8.0.pwm.01.offset
4 float IN 100000 5A-75B:V8.0.pwm.01.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.01.scale
4 float IN 0 5A-75B:V8.0.pwm.01.value
4 float OUT 0 5A-75B:V8.0.pwm.02.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.02.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.02.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.02.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.02.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.02.enable
4 float IN 1 5A-75B:V8.0.pwm.02.max_dc
4 float IN 0 5A-75B:V8.0.pwm.02.min_dc
4 float IN 0 5A-75B:V8.0.pwm.02.offset
4 float IN 100000 5A-75B:V8.0.pwm.02.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.02.scale
4 float IN 0 5A-75B:V8.0.pwm.02.value
4 float OUT 0 5A-75B:V8.0.pwm.03.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.03.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.03.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.03.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.03.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.03.enable
4 float IN 1 5A-75B:V8.0.pwm.03.max_dc
4 float IN 0 5A-75B:V8.0.pwm.03.min_dc
4 float IN 0 5A-75B:V8.0.pwm.03.offset
4 float IN 100000 5A-75B:V8.0.pwm.03.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.03.scale
4 float IN 0 5A-75B:V8.0.pwm.03.value
4 float OUT 0 5A-75B:V8.0.pwm.04.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.04.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.04.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.04.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.04.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.04.enable
4 float IN 1 5A-75B:V8.0.pwm.04.max_dc
4 float IN 0 5A-75B:V8.0.pwm.04.min_dc
4 float IN 0 5A-75B:V8.0.pwm.04.offset
4 float IN 100000 5A-75B:V8.0.pwm.04.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.04.scale
4 float IN 0 5A-75B:V8.0.pwm.04.value
4 float OUT 0 5A-75B:V8.0.pwm.05.curr_dc
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.05.curr_period
4 float OUT 0 5A-75B:V8.0.pwm.05.curr_pwm_freq
4 u32 OUT 0x00000000 5A-75B:V8.0.pwm.05.curr_width
4 bit IN FALSE 5A-75B:V8.0.pwm.05.dither_pwm
4 bit IN FALSE 5A-75B:V8.0.pwm.05.enable
4 float IN 1 5A-75B:V8.0.pwm.05.max_dc
4 float IN 0 5A-75B:V8.0.pwm.05.min_dc
4 float IN 0 5A-75B:V8.0.pwm.05.offset
4 float IN 100000 5A-75B:V8.0.pwm.05.pwm_freq
4 float IN 1 5A-75B:V8.0.pwm.05.scale
4 float IN 0 5A-75B:V8.0.pwm.05.value
4 s32 OUT 0 5A-75B:V8.0.read.time
4 float IN 0 5A-75B:V8.0.stepgen.00.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.00.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.00.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.00.enable
4 float IN 0 5A-75B:V8.0.stepgen.00.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.00.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.00.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.00.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.00.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.00.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.00.velocity-prediction
4 float IN 0 5A-75B:V8.0.stepgen.01.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.01.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.01.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.01.enable
4 float IN 0 5A-75B:V8.0.stepgen.01.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.01.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.01.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.01.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.01.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.01.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.01.velocity-prediction
4 float IN 0 5A-75B:V8.0.stepgen.02.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.02.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.02.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.02.enable
4 float IN 0 5A-75B:V8.0.stepgen.02.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.02.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.02.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.02.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.02.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.02.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.02.velocity-prediction
4 float IN 0 5A-75B:V8.0.stepgen.03.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.03.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.03.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.03.enable
4 float IN 0 5A-75B:V8.0.stepgen.03.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.03.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.03.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.03.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.03.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.03.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.03.velocity-prediction
4 float IN 0 5A-75B:V8.0.stepgen.04.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.04.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.04.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.04.enable
4 float IN 0 5A-75B:V8.0.stepgen.04.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.04.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.04.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.04.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.04.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.04.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.04.velocity-prediction
4 float IN 0 5A-75B:V8.0.stepgen.05.acceleration-cmd
4 u32 OUT 0x00000000 5A-75B:V8.0.stepgen.05.counts
4 bit IN FALSE 5A-75B:V8.0.stepgen.05.debug
4 bit IN FALSE 5A-75B:V8.0.stepgen.05.enable
4 float IN 0 5A-75B:V8.0.stepgen.05.position-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.05.position-feedback
4 float OUT 0 5A-75B:V8.0.stepgen.05.position-prediction
4 float IN 0 5A-75B:V8.0.stepgen.05.velocity-cmd
4 float OUT 0 5A-75B:V8.0.stepgen.05.velocity-feedback
4 bit IN FALSE 5A-75B:V8.0.stepgen.05.velocity-mode
4 float OUT 0 5A-75B:V8.0.stepgen.05.velocity-prediction
4 u32 I/O 0x00000000 5A-75B:V8.0.wallclock.ticks_lsb
4 u32 OUT 0x00000000 5A-75B:V8.0.wallclock.ticks_msb
4 bit I/O FALSE 5A-75B:V8.0.watchdog.has_bitten
4 s32 OUT 0 5A-75B:V8.0.write.time
and also Show Param:
halcmd: show param
Parameters:
Owner Type Dir Value Name
4 bit RW FALSE 5A-75B:V8.0.debug
4 float RW 0 5A-75B:V8.0.encoder.00.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.00.x4-mode
4 float RW 0 5A-75B:V8.0.encoder.01.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.01.x4-mode
4 float RW 0 5A-75B:V8.0.encoder.02.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.02.x4-mode
4 float RW 0 5A-75B:V8.0.encoder.03.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.03.x4-mode
4 float RW 0 5A-75B:V8.0.encoder.04.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.04.x4-mode
4 float RW 0 5A-75B:V8.0.encoder.05.position-scale
4 bit RW FALSE 5A-75B:V8.0.encoder.05.x4-mode
4 bit RW FALSE 5A-75B:V8.0.gpio.00.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.01.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.02.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.03.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.04.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.05.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.18.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.19.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.20.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.21.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.22.invert_output
4 bit RW FALSE 5A-75B:V8.0.gpio.23.invert_output
4 s32 RW 0 5A-75B:V8.0.read.tmax
4 bit RO FALSE 5A-75B:V8.0.read.tmax-increased
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.00.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.00.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.00.frequency
4 float RW 0 5A-75B:V8.0.stepgen.00.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.00.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.00.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.00.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.00.stepspace
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.01.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.01.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.01.frequency
4 float RW 0 5A-75B:V8.0.stepgen.01.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.01.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.01.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.01.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.01.stepspace
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.02.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.02.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.02.frequency
4 float RW 0 5A-75B:V8.0.stepgen.02.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.02.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.02.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.02.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.02.stepspace
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.03.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.03.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.03.frequency
4 float RW 0 5A-75B:V8.0.stepgen.03.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.03.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.03.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.03.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.03.stepspace
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.04.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.04.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.04.frequency
4 float RW 0 5A-75B:V8.0.stepgen.04.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.04.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.04.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.04.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.04.stepspace
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.05.dir-hold-time
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.05.dir-setup-time
4 float RO 0 5A-75B:V8.0.stepgen.05.frequency
4 float RW 0 5A-75B:V8.0.stepgen.05.max-acceleration
4 float RW 0 5A-75B:V8.0.stepgen.05.max-velocity
4 float RW 0 5A-75B:V8.0.stepgen.05.position-scale
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.05.steplen
4 u32 RW 0x00000000 5A-75B:V8.0.stepgen.05.stepspace
4 u32 RO 0x00000000 5A-75B:V8.0.watchdog.timeout_cycles
4 u32 RW 0x00000000 5A-75B:V8.0.watchdog.timeout_ns
4 s32 RW 0 5A-75B:V8.0.write.tmax
4 bit RO FALSE 5A-75B:V8.0.write.tmax-increased
But no matter which out pin I set to enable with setp command,, there are no changes measured on the board, and I measured ALL pins.
The 5A-75B:V8.0.watchdog.has_bitten is FALSE.
halcmd: setp 5A-75B:V8.0.gpio.00.out 1
halcmd: getp 5A-75B:V8.0.gpio.00.out
TRUE
Thanks again for your help.
Last edit: 08 Oct 2024 08:40 by unromeo21.
Please Log in or Create an account to join the conversation.
08 Oct 2024 14:29 #311575
by unromeo21
Replied by unromeo21 on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Please ignore my post above. First time working with a servo thread, had no clue how to initialize it... it seems to work now.
Please Log in or Create an account to join the conversation.
17 Oct 2024 13:36 #312378
by unromeo21
Replied by unromeo21 on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Any updates on the new version with shit register support ? It was anounced for 1st of March.
Please Log in or Create an account to join the conversation.
26 Oct 2024 13:33 #313252
by nubsaybot
Replied by nubsaybot on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Can anyone show an example of a hal and ini file on 3 axis step/dir (XYZ) without feedback, 1 pwm (spindle), 5 inputs (home - 3, probe, e-stop), 1 output (mist). I would like to try to connect the simplest CNC3018. If you tell me or direct me where to look at a similar example, I will be very grateful
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds