Hi, guys, I have a high speed serial port PCI card. We replaced the original crystal( 14.7456MHz) with the new one 16.000MHz in order to communicate to a SICK laser scanner with the highest speed 500K. My program is written in c under Linux. When the machine boots, I setserial -a /dev/ttyS4, and the baud base is 921600 and divisor is 0; then I setserial /dev/ttyS4 baud_base
1000000 and setserial /dev/ttyS4 spi_cust divisor 2 to set baud rate as 500K.However my program cannot talk to the laser scanner what do I need to do more?
Any advice is highly appreciated.
Li