Hello, We have RS422 sensor connected to Moxa and we are communicating to host PCs using RS232. My application uses Mini2440v2 PC with WinCE 6.0 on it. Using my my laptop, the communication is OK but with Mini we could not have any communication yet. The same source code runs on Win7 laptop etc but not on Mini2440. I also do not observe RTS Led on Moxa in Mini2440 case. I only guess that Mini architecture does not have signals like RTS, CTS etc and therefore Moxa does not identify it. Any help is appreciated. Thanks in advance.
RS232 communication problem with Moxa RS422 converter
1.) Which port are you using for communications? (The Mini has 4 UARTs) 2.) What application are you using to communicate with the port?
1) RS232 port (COM1) 2) I tried lots of applications. Custom, in-house etc. Its application independent.
I'm not sure what they do with WinCE since I'm using the Mini with Linux only. On the Mini the Linux kernel typically allocated COM1 therefore inaccessible by user applications. It is possible to prevent the kernel from using COM1 as the console output. Do you have access to an oscilloscope? Transmit some data and see if you can measure anything on the output. otherwise Connect your Mini to your notebook and open a terminal window on your laptop. Transmit some data and check if you see anything on the terminal window. You might need a crossover cable to accomplish this. Does you Mini output any data on COM1 during the boot process? Post this here, it might give us an indication to what is being assigned to COM1. I will see if I get a chance to install WinCE on my Mini.
Mini2440 RS232 communication is OK with my Win7 notebook. No problem. The only problem is the communication of Mini2440 and Moxa converter. Mini2440 has Tx, Rx, GND pins only and I think Moxa does not start to communicate with this configuration.
No, I just had a look at the Mini2440 schematics (See attached screenshot). RXD, TXD, RTS and CTS are available on COM1. Are you sure you're enabling hardware flow control in your application running on the Mini?
You've said that the RTS LED does not turn on. This means the Moxa requires hardware flow control (RTS and CTS). Check if its enabled in your app.
Thanks. I am bat at hardware schematics. Im not sure Mini2440 has RTS and CTS. Please see http://www.friendlyarm.net/forum/topic/658
No, the Mini2440 DOES HAVE RTS AND CTS. Check that you've enabled hardware flow control in your application
Sorry back to an old issue but where did you fine this 1.png. I have noting similar in schematics for MINI2440v2.pdf etc ?