Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 1 month ago #309502 by aDm1N
Does anyone else have a tip as to what I'm doing wrong? I haven't found anything on the net until now. STLink with the instructions here from the thread didn't work, stlink with the hex file here from the thread flashed successfully, according to the display. NVEM v5 - Flashing not possible. I tried with DAP-link, J-Link, ST-Link v2 standard, firmware update and firmware from github. The result was the same every time, regardless of whether it was from the Raspberry Pi or with Windows 10. Either the board is fundamentally different, which I don't believe since it was recognized, or the programmers from AliExpress are all unusable.

the error messages are:
C STLink error (9): Get IDCODE error [__main__]
C Unexpected ACK value (0) returned by probe [__main__]
C Memory transfer fault (Unspecified error.) [__main__]
 

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310310 by xaxexa
Hello everyone, please help me configure the pin index, on the NVEM v2, RT1052, I need speed feedback from the spindle driver - this is one pulse input, I can't figure out which encoder modules to choose and what's the difference anyway


txt

"Thread": "Base",
"Type": "QDC",
"Comment": "SPINDEL ENCODER",
"PV": 0,
"Data Bit": 24,
"ChA Pin": "P3_22",
"ENC No": 1,
"Filter PER": 10,
"Filter CNT": 4

Hal file
loadrt PRUencoder names=SPencoder
addf PRUencoder.capture-position servo-thread
setp SPencoder.position-scale 6
net encoder-count <= remora.PV.0 => SPencoder.raw_count

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310346 by scotta
Hi, the encoder module is for a quadrature encoder, ie A and B channels required.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310347 by xaxexa
as I understand it, the documentation suggests using QEI Encoder, but I didn't find this module anywhere in the rt1052 cpp sources, is there a non-quadrature encoder in rt1052 cpp? and if possible an example of a txt file

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310413 by scotta
Hi, unfortunately no. The QEI is for the STM32 based boards, the QDC for the RT1052. These refer to the decoding circuits integrated into the MCUs. The QDC has the capability to count a single channel, but the current software implementation cannot take advantage it.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310415 by Murphy
How hard is it to get the single A pulse and Z index working for the spindle? Is it going to be future update ?
​​​​​​
​​​​​​

Please Log in or Create an account to join the conversation.

Time to create page: 0.235 seconds
Powered by Kunena Forum