Logic Machine Forum
RS485 at 250k - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: RS485 at 250k (/showthread.php?tid=3069)



RS485 at 250k - equalizer - 19.12.2020

I have a unsusual problem.

I have an Av system firing a nonstandard (but known) serial string once per second on a RS485 line at the nonStandard speed of 250k.  (Its an old system and not changable, I assume as they are AV people and they liked 250k due to DMX...). 

The problem I have is I can't open the RS485 port at 250k,  is this possible via script? Would opening at this speed be possible on a USB 485 port?  Or do I need to buy/build a hardware buffer to convert the baud rate to a more standard speed I can open a port at. 

Robert.


RE: RS485 at 250k - admin - 21.12.2020

Not possible at the moment but the luaserial library can be updated to support non-standard baud rates. I'll let you know when it's ready.


RE: RS485 at 250k - admin - 21.12.2020

Updated serial package with custom baud rate support:
https://dl.openrb.com/pkg/luaserial_20201221_imx6.ipk


RE: RS485 at 250k - equalizer - 21.01.2021

(21.12.2020, 14:27)admin Wrote: Updated serial package with custom baud rate support:
https://dl.openrb.com/pkg/luaserial_20201221_imx6.ipk

Hi.  This is great :-)

I just visited the site and they have a MX28 cpu.  Can I be cheeky and ask for a MX28 cpu version :-) , or will above version work on the old CPU?

Robert.


RE: RS485 at 250k - admin - 21.01.2021

Package for old CPU: https://dl.openrb.com/pkg/luaserial_20201221_mxs.ipk


RE: RS485 at 250k - equalizer - 18.02.2021

Thank you, I have now tested this with the real non-standard speed serial data source and it works great :-)