[futurebasic] Re: [FB] problem in receiving serial data

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2006 : Group Archive : Group : All Groups

From: luciano bernardi <lbern1ps@...>
Date: Mon, 27 Feb 2006 08:17:06 +0100
Ted,
Thank you for your kind reply
I have done all the checking that you have suggested on PIC and interface
with an oscilloscope and sending ASCII characters, so I could check baud
rate and individual bits transmitted,  and indeed the PIC + LT1081CN seems
to do the right job. I had already used the terminal emulator on a PC and
the all thing was working correctly. So from that side everything looks ok.

I am relieved to know that the difference in buad rate should allow perfect
transmission, so, again the problem is not from that side. Actually I was
able to shift the frequency of the PIC in order to match that of Mac, and
the errors were slightly reduced, but not removed.

So my impression, so far,  is that the problem is somewhere in my handling
of software or MAC/USB-serial interface (no question that is ME and not the
mac  or FB that is wrong!).

I will try with the MAC terminal and let you know, and please, if you have
some code to complete the checking that you do not mind to share, it will be
welcome (including yourself in person, if you come here, of course!).
Again many thanks,
Luciano








On 26-02-2006 21:04, Ted Spencer, tedspencer@... wrote:

> 
> On 26 Feb, 2006, at 2:13 PM, luciano bernardi wrote:
>> 
>> I have tried to read a byte at time (I really do not need to use
>> strings,
>> jus bytes), but, at higher speeds the problem remains.
>> It seems that I still need a loop to read the data: is it possible
>> that I am
>> missing/corrupting bytes  during the loop?
> 
> I neglected this part of your question...
> 
> Many times, over the years, I've suspected that the Mac was losing my
> data, but in each instance, it was ME losing the data. Put this
> possibility fairly close to the bottom of your list!
> --
> Ted Spencer
> --
> If a man, alone in the forest, with no woman to hear him, says
> something, is he still wrong?
> 
> --