This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

RS485 at 250k
#1
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.
Reply
#2
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.
Reply
#3
Updated serial package with custom baud rate support:
http://dl.openrb.com/pkg/luaserial_20201221_imx6.ipk
Reply
#4
(21.12.2020, 14:27)admin Wrote: Updated serial package with custom baud rate support:
http://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.
Reply
#5
Package for old CPU: http://dl.openrb.com/pkg/luaserial_20201221_mxs.ipk
Reply
#6
Thank you, I have now tested this with the real non-standard speed serial data source and it works great :-)
Reply


Forum Jump: