[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]

Re: Satellite tracking programming ideas

At 10:57 PM 1/30/2008, Phil wrote:

>I've been thinking some more about this serial problem and wondering if the
>radio might be at fault or, more likely, that I should be doing something
>read frequency commands.
>If I read the frequency once per second while spinning the tuning knob,
>occasionally I'll see an incorrect value. That same value persists until
>the knob is moved again. I can see the problem but not the answer.

Hi Phil,

Here are a few suggestions.

1. Try putting a loopback plug instead of the radio (TXD to RXD) and sending
contiguous 256 byte blocks. Use an incrementing pattern so you can see if
there are any errors as they come back in. You should be able to do 
this indefinitely
(i.e. test it for several hours) with no errors

2. Are you using 4800 bps, 8 data, no parity, 2 stop bits?

3. Are you sending the 5 byte commands contiguously (i.e. loading up 

4. Do you check for any UART errors that might be detected?

If I can think of anything else, I will let you know.

Tony AA2TX

Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author.
Not an AMSAT-NA member? Join now to support the amateur satellite program!
Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb