We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am trying to send data from one controller to another directly ie without converting it into serial. Now when i send the data using 232 it is being received alright and the out put is also displayed. i am using putchar and getchar. but when i try this by directly connecting the Tx of first controller to Rx of next the data is either not being read properly or not being transfered properly. I'm just not getting what is going wrong. it should work i think i have even made the ground common for both the controllers.
Thanks Ajay.
not more than a few feet You WILL get into trouble without 232 transceivers.
Direct serial is OK within the same box, but a disaster when you go outside the box.
You say you are 'testing' what on earth does that 'prove' besides "it seems to work, when located on your workbench"?. Now take your EMI generator (I use an old router named 'sparky') and put it next to your direct serial outside the box and see it fail moiserably.
Erik
Hi erik,
I am sure that you are very correct when you say that it won't work out side the testing environment . i am just trying to see if i can avoid redesigning the board that is already present. the thing is i have two board 1 uses 232 but the other dose not so i wanted to see if it is feasible to pass data between them without changing the boards around. and i'm going to try and put it under as harsh conditions as possible.
Thanks ajay