#linuxcnc-devel Logs
Apr 02 2023
#linuxcnc-devel Calendar
03:18 PM andypugh: pcw--home: How does the RX mask work? With rx mode xxxxC I see the RX buffer count increase with every packet sent, and with xxxx8 I do not. Which sounds backwards?
03:35 PM pcw--home: High on RXMasken should disable RX when TXEN is true
03:40 PM pcw--home: peter@peter-HP-EliteDesk-800-G1-USDT:~/linuxcnc/configs$ ./noecho
03:40 PM pcw--home: 3FC0144C
03:40 PM pcw--home: 00000000
03:40 PM pcw--home: 54535251
03:40 PM pcw--home: 58575655
03:40 PM pcw--home: peter@peter-HP-EliteDesk-800-G1-USDT:~/linuxcnc/configs$ ./mfscript
03:40 PM pcw--home: 3FE114C8
03:40 PM pcw--home: 00000007
03:40 PM andypugh: Yes, that was my exectation too..
03:40 PM pcw--home: 54535251
03:40 PM pcw--home: 54575655
03:41 PM pcw--home: and what a simple test with mesaflash shows as well
03:42 PM andypugh: I don’t have read data in the modbus driver yet, hopefully coming later this evening. Step 1 is to totally refactor the hm2_pktuart_read function now that the mode registers are in the “TRAM”
03:43 PM pcw--home: the first run is with echo disabled (char count is 0), RX mode reg ends in C, the second with RXMaskEn false (char count is 7)
03:57 PM andypugh: I will get reading working and see if it’s just an echo or something else.
05:49 PM roguish[m]: have you programmers seen this? https://github.com/exaloop/codon
07:43 PM andypugh: Looks interesting, though I am wondering what the point is. If you want speed you probably don’t start with Python. Unless you only know Python.