Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: MEGA8 RS232

Re: MEGA8 RS232

2007-03-23 by David Appleton

I could get my hands on a scope..... this sounds a little scary.

[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: MEGA8 RS232

2007-03-23 by David VanHorn

On 3/23/07, David Appleton <englsprogeny@yahoo.com> wrote:
>
> I could get my hands on a scope..... this sounds a little scary.


I would, if I were you.
Depending on the scope, you can get a LOT of information.
At one point, I was working on a battery charger, and I needed to know a
bunch of parameters, basically what mode it was in, and what the analog
readings were, and what decisions it was making, and why, so I wrote up a
routine I call "pong" (ping was taken) which outputs a byte as wide (1) and
narrow (0) pulses, so that no matter what the byte value is, the total width
is always the same.   Using my DSO, I was able to read out 20+ bytes of
information that way.   I'd have used a serial port, but I didn't have one
available, and you don't always have the uart pins free anyway.

The other thing that is very useful is a logic analyzer. I use an ANT-8,
that gives me limited buffer capacity, but down to 2nS capture.  It just
dosen't do analog.


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.