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 that you accept these cookies being set.

rs232 active?
#1
Hi i have  LM5p2-DR 

HW: LM5 M4 (imx6) SW: 20211215

i am attempting to use the rs232 port, '/dev/RS232'  when i navigate to the utilities, system status, serial ports,  only /dev/RS485-1 and  /dev/RS485-2 are showing?

i should have  /dev/RS485-1,  /dev/RS485-2,  /dev/RS485-3  /dev/RS232 ??

is there anything to enable or configure to use the RS232 port, i have tried the below code, or maybe i have something else wrong?


Code:
port = serial.open('/dev/RS232', { baudrate = 9600, parity = 'even', duplex = 'full' })
log(port)


but port is always nil so i assume  '/dev/RS232' never is opened?

x = io.exists('/dev/RS485-1')
x returns true

but x = io.exists('/dev/RS232')
x returns false
Reply


Messages In This Thread
rs232 active? - by benanderson_475 - 25.01.2023, 23:13
RE: rs232 active? - by admin - 26.01.2023, 06:00
RE: rs232 active? - by benanderson_475 - 26.01.2023, 20:32

Forum Jump: