Javelin Stamp RS-232 Question
I am attempting to use a Javelin Stamp with a MAX233 IC to communicate with an RS232 device.· I send a string to the device, but the timeout on the reply always expires (the timeout is set to 5 sec).· If I try to reset the stamp or reprogram it, I get a serial communications error (0022).· I can 'unstick' the stamp by removing it from my board, plugging it into a BOE and programming it there.· After that, it will work for another iteration in my board.
My first question - have you seen this problem before, and do you have any suggestions from fixing it?
Second - I am using the Vdd on the Javelin stamp to power the MAX 233.· Could this be the reason serial comm is failing in the first place.· I measured a voltage of 4.8V on the power pin of the MAX 233.
Any help would be appreciated!
Rich
My first question - have you seen this problem before, and do you have any suggestions from fixing it?
Second - I am using the Vdd on the Javelin stamp to power the MAX 233.· Could this be the reason serial comm is failing in the first place.· I measured a voltage of 4.8V on the power pin of the MAX 233.
Any help would be appreciated!
Rich
Comments
The vdd output can deliver approx. 90 mA.
You say, when you send a string, the timeout expires,
so I guess the string is not received. Could be the baudrate,
logic level (inverted or not) or missing handshake signals.
Post the serial protocol for your device,
and post your javelin program that implements
that protocol.
Then we can see what might go wrong.
regards peter
That was it. Thanks!
Rich