Advanced Search

Search Results (Searched for: )

  • Sternfox
  • Sternfox
16 Mar 2025 23:51
Mesa 7i95t rs485 spindle was created by Sternfox

Mesa 7i95t rs485 spindle

Category: Basic Configuration

Hey chaps.

With the mesa 7i95t 7i95t_1pktv2d.bin firmware what pins are needed for rs485 spindle? Any resisters needed? I want to use the HY_vfd component to drive my vfd.

Or is a rs485 usb easier to setup? 

Thanks in advance 
  • PCW
  • PCW's Avatar
16 Mar 2025 23:44 - 17 Mar 2025 00:32
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Edit: The test code was removed because it was in
the wrong place, it will be restored to the correct
place later. its not a very important test.

The error was that the code accessed a RX buffer
that was not filled yet, this trashed the stack under
some circumstances, causing random garbage
in other functions.

The function miss-match is unrelated. This happens
because the PKTUART RX FIFO is not cleared before
the modbus driver starts, so may have left over characters
from the last time LinuxCNC was run, power cycle garbage
charcters etc. Its not harmful and will be fixed soon.
  • vre
  • vre
16 Mar 2025 23:30
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

with update-hz 0 all work fine if set it to possitive i get
call/response function number mismatch but this didn't hurt is the known bug..
What does this code that removing it fixes the problem?
        // Check for Send Count FIFO error
//		r = hm2->llio->queue_read(hm2->llio, hm2->pktuart.instance[inst].tx_mode_addr,
//                                     &buff, sizeof(rtapi_u32));
//        if ((buff >> 4) & 0x01) {
//            HM2_ERR_NO_LL("%s: SCFFIFO error\n", name);
//            return -HM2_PKTUART_TxSCFIFOError;
//        }
  • webbyguy
  • webbyguy
16 Mar 2025 23:15 - 16 Mar 2025 23:20
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

I no longer have the HPC option in my bios settings.  I'm guessing it went away when I switched to the X6 1090T processor (instead of the fx 8350).  The 1090T didn't have hyperthreading, so I'm not using it.  With the real time kernel, for some reason /sys/devices/system/cpu/smt/active isn't there, but I'm sure I don't have hyperthreading now.

I tried the core performance boost.  It seemed to work for a bit, but restarting without changing settings made it go away.  I seem to have some random really good performance every once in a while, but it isn't repeatable.  Even restarting just the latency-histogram makes it go away sometimes.

Here's one of the times it looked pretty good for awhile.
 

I also tried adding the following commands to try to help things, but it is hard to tell if they really did anything.

swap off --all
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service


I also moved the rcu_sched to processor affinity 1,2,3,4,5.  That helped until I started firefox, and I could never get it back.


I think I'm gonna just try to move foreward without getting that last bit of jitter out.  I'm consistently below 40us, which sounds like it is good enough.  (I'll come back to it if I get some motors moving.) 

Oh, and for completeness, I tried the blocking of sound modules described here:
forum.linuxcnc.org/18-computer/39371-res...th-linuxcnc?start=90
  • webbyguy
  • webbyguy
16 Mar 2025 22:59
Replied by webbyguy on topic Can't eek out that last bit of jitter

Can't eek out that last bit of jitter

Category: General LinuxCNC Questions

Thanks royka,
Do you happen to know the names of the base and servo processes? I see migration/0 through migration/5 and rtkit-daemon listed as RT in htop. They don't seem to increase in time though, so I'd guess they aren't being used. There are some -20 priority processes too.

I tried removing each ram module, and it seemed to work for a bit, but I'd restart the latency-histogram (without restarting anything else), and it would stop helping, so I guess really some other random thing was happening that I can't find.

I am using a cheap SSD. I tried playing around with bios settings for it, and it seems to make no difference. I don't have any CD/DVD or SD-readers.
Displaying 18166 - 18170 out of 18170 results.
Time to create page: 0.397 seconds
Powered by Kunena Forum