- Posts: 28
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The first part of the Remora start sequence is to bring up the Ethernet. If you start without a cable and computer connected, it just sits there waiting. I'll need to see if there is a timeout in the LWIP, or retry. But simple thing is to have LinuxCNC computer running and then turn on the controller with Ethernet cable connected.The board is turned off and the cable is disconnected from the computer, let's say you turn on the board but the cable is disconnected, with the board already running, you connect the cable and open Linux CNC, when trying to run a program or use the jog, it comes a joint error, but if you turn off the board now with the cable connected and turn it on again, we no longer have the error, that is, from what I have seen, you cannot turn on the board without the cable being connected to the computer first , I noticed that we can't turn on the board before turning on the computer, I didn't quite understand why.
Please Log in or Create an account to join the conversation.
Thanks so much for this, I quickly reviewed the code before reading the above, and noted in line 197 of the module you are getting the Revolution Value, maybe this should be the position value hold register?Hello everyone here, for a few days I have been researching QDC and XBAR, to try to add a hardware encoder module to the Remora project for Scott's rt1052, I have to say that it was somewhat tedious to read the reference manual, I have reused part of the code for the remora QEI hardware encoder for STM32 but I have added the XBARA1 multiplexer, great the multiplexer allows you to connect many signals with peripherals in which IOMUX cannot do anything.
I have forked your project Scott, I have modified it and I have sent you a pullrequest, tell me what you think, I have not been able to test an encoder with an index because I do not have one, maybe I have one at work, I will look for one.
In the configuration file, a field must be added to the encoder and it is the number of the QDC module that must be used. I imagine that this can be done in many ways and omit this, for example:
"Thread": "Servo",
"Type": "QDC",
"Comment": "QDC Encoder A-IN02 B-IN03",
"PV": 0,
"ChA Pin": "P4_13",
"ChB Pin": "P4_14",
"ENC No": 3
},
I must also say that you can use encoders 1, 2, and 3, in the case of having an encoder with an index you could use 2 instances due to the lack of pins.
I leave the link to my repository in case anyone wants to try it. Greetings, everything is for LinuxCnC and Remora.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.