Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: Bitfolge am Port ausgeben Kategorie: Programmierung Basic (von Torsten - 16.09.2013 20:57)
Als Antwort auf Re: Bitfolge am Port ausgeben von Torsten - 13.09.2013 18:48
Ich nutze:
C-Control Pro Mega128
> >
> > That's the best I can do.
> > I wonder if Paul is still interested and on line...
> >
> > Regards,
> > Pepe
>
>  Hallo Pepe,
>
> it looks like Paul is faded away.
> The problem is, however, very interesting.
> If it still interests you, then test the two versions.
> "BitSequence-0.02" works with Timer1 and PortC5.
>
Hello everybody,

I experimented still a little with the problem.
Maybe the result interests somebody.
"BitSequence-0.03" compares three versions.
1. BitSequenceSimple: without timers
2. BitSequenceTimer: using the so-called "Interpreter-Timer-Interrupts"
3. BitSequenceAsm: jumps into an assembler-call
To give the so-called "Timer-Interrupts" a real chance, I tested it
with a 500µs interval. The winner is of course the "BitSequenceAsm-version".
For my astonishment, the "BitSequenceSimple-version" is more stable than
the "BitSequenceTimer-version". That also shows the limits of the
so-called "Interpreter-Interrupts". In addition the "BitSequenceTimer-version",
works first no more correctly, if we reduce the interval time.
Finally I come to the opinion, only the "BitSequenceAsm-version" is suitable
for implementation of a asynchronous serial communication protocol.

GruÃ? Torsten

BitSequence-0.03.zip

BitSequencePicture.zip




    Antwort schreiben


Antworten:

Re: Bitfolge am Port ausgeben (von PepeV - 17.09.2013 20:38)
    Re: Bitfolge am Port ausgeben (von PepeV - 18.09.2013 22:12)
        Re: Bitfolge am Port ausgeben (von Torsten - 21.09.2013 9:26)