Hello. I'm using cRIO with RS-485 interface and had hard time translating it to 1 Mbps baud-rate interface.
<Hardware>
- cRIO-9048
- Labview 2020, CompactRIO 21.0, FPGA 20.0
<Problem>
I have used RS-485 port of cRIO-9048 with 115,200 bps baud rate. And would like to change the baud rate to 1Mbps.
As the max. allowable baud rate of cRIO-9048 is 115,200 bps, I bought NI-9871 which is RS-485 C series module with max. baud rate of 3.6864 Mbps.
But it seems although the Max. baud rate of NI-9871 is above 1 Mbps, the allowable baud rate should satisfy the rule below:
BaudRate = 3.6864 Mbps / (Prescaler * Divider)
Prescaler can be (4..65535).
Divider can be 1 or 4.
(https://www.ni.com/pdf/manuals/373170f.pdf)
I tried to use 921,600 bps with 4 divider and 1 prescaler which is closest to 1 Mbps. But the actual baud rate exceed allowable error and cannot communicate with 1 Mbps device.
Is there a way to use 1 Mbps RS-485 interface with cRIO?