Re: Grounded grid VHF front-end

Liste des GroupesRevenir à se design 
Sujet : Re: Grounded grid VHF front-end
De : JL (at) *nospam* gct.com (john larkin)
Groupes : sci.electronics.design
Date : 17. Nov 2024, 21:49:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <h0lkjjdc28b50fpo6t4rj7f76s12rpujgn@4ax.com>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : ForteAgent/8.00.32.1272
On Sun, 17 Nov 2024 18:28:45 +0000, JM
<sunaecoNoChoppedPork@gmail.com> wrote:

On Sun, 17 Nov 2024 09:33:54 -0800, john larkin <JL@gct.com> wrote:
>
On Sun, 17 Nov 2024 14:50:58 -0000 (UTC), antispam@fricas.org (Waldek
Hebisch) wrote:
>
USB can do milliseconds, ethernet hundreds of microseconds, small
micros can do much better.  Theoretically with a micro connected via USB
one can synchronize clocks of the micro and PC with microsecond
accuracy, I plan to try this but do not know how this will work.
>
We're designing some products around the RP2040, the Pi Pico
processor.
>
Turns out that in some cases, it's easier to bit-bang an SPI interface
than program an SPI engine. To fine-tune timings in 7 ns increments,
we can use no-op instructions.
>
I wonder what's a safe c-language NOP single-clock operation that no
compiler is smart enough to optimize out and doesn't add a bunch of
loads and stores.
>
We're experimenting with that sort of timing on an oscilloscope. The
GCC or whatever code timing tools don't work in this case.
>
Something like
>
       gpio_put(FIRST_GPIO, 1);
       gpio_put(FIRST_GPIO, 0);
       gpio_put(FIRST_GPIO, 1);
       gpio_put(FIRST_GPIO, 0);
>
Makes the port pin change every 7 ns. That's astounding. So maybe a
dummy port bang is my no-op. Just repeat what we just set it to.
>
>
Code in assembly.  It's trivial to use assembly code with c in gcc.

A  gpio_put  to an unused port pin would work, but we don't have any
unused port pins.

I suspect that we could clear some internal device register, like in a
timer or something, that we don't use. That would kill a clock or so
and the compiler can't know that we don't use it.

My guy did

gpio up
A = 3+5
gpio down

and of course the add takes zero time.

A = A+5

does take time, looks like four clocks.


Date Sujet#  Auteur
9 Nov 24 * Grounded grid VHF front-end62Liz Tuddenham
9 Nov 24 +* Re: Grounded grid VHF front-end36john larkin
9 Nov 24 i`* Re: Grounded grid VHF front-end35Liz Tuddenham
9 Nov 24 i `* Re: Grounded grid VHF front-end34Cursitor Doom
9 Nov 24 i  +* Re: Grounded grid VHF front-end22john larkin
9 Nov 24 i  i`* Re: Grounded grid VHF front-end21Cursitor Doom
9 Nov 24 i  i +* Re: Grounded grid VHF front-end8Liz Tuddenham
10 Nov 24 i  i i+- Re: Grounded grid VHF front-end1Jan Panteltje
10 Nov 24 i  i i`* Re: Grounded grid VHF front-end6Cursitor Doom
10 Nov 24 i  i i `* Re: Grounded grid VHF front-end5Jan Panteltje
10 Nov 24 i  i i  `* Re: Grounded grid VHF front-end4Edward Rawde
11 Nov 24 i  i i   +- Re: Grounded grid VHF front-end1Jan Panteltje
19 Nov 24 i  i i   `* Re: Grounded grid VHF front-end2Waldek Hebisch
19 Nov 24 i  i i    `- Re: Grounded grid VHF front-end1Jan Panteltje
9 Nov 24 i  i +* Re: Grounded grid VHF front-end6Joe Gwinn
10 Nov 24 i  i i`* Re: Grounded grid VHF front-end5Dan Green
10 Nov 24 i  i i `* Re: Grounded grid VHF front-end4john larkin
10 Nov 24 i  i i  `* Re: Grounded grid VHF front-end3Liz Tuddenham
10 Nov 24 i  i i   `* Re: Grounded grid VHF front-end2Ralph Mowery
10 Nov 24 i  i i    `- Re: Grounded grid VHF front-end1john larkin
10 Nov 24 i  i `* Re: Grounded grid VHF front-end6Phil Hobbs
10 Nov 24 i  i  +- Re: Grounded grid VHF front-end1Liz Tuddenham
10 Nov 24 i  i  +- Re: Grounded grid VHF front-end1Ralph Mowery
10 Nov 24 i  i  `* Re: Grounded grid VHF front-end3piglet
10 Nov 24 i  i   +- Re: Grounded grid VHF front-end1john larkin
10 Nov 24 i  i   `- Re: Grounded grid VHF front-end1Cursitor Doom
9 Nov 24 i  `* Re: Grounded grid VHF front-end11Liz Tuddenham
10 Nov 24 i   `* Re: Grounded grid VHF front-end10john larkin
10 Nov 24 i    `* Re: Grounded grid VHF front-end9Liz Tuddenham
10 Nov 24 i     `* Re: Grounded grid VHF front-end8john larkin
10 Nov 24 i      `* Re: Grounded grid VHF front-end7Liz Tuddenham
10 Nov 24 i       `* Re: Grounded grid VHF front-end6john larkin
10 Nov 24 i        +* Re: Grounded grid VHF front-end4Cursitor Doom
10 Nov 24 i        i+* Re: Grounded grid VHF front-end2john larkin
10 Nov 24 i        ii`- Re: Grounded grid VHF front-end1Cursitor Doom
11 Nov 24 i        i`- Re: Grounded grid VHF front-end1Jan Panteltje
10 Nov 24 i        `- Re: Grounded grid VHF front-end1Liz Tuddenham
10 Nov 24 +* Re: Grounded grid VHF front-end23Jan Panteltje
10 Nov 24 i+- Re: Grounded grid VHF front-end1Jan Panteltje
10 Nov 24 i`* Re: Grounded grid VHF front-end21Cursitor Doom
10 Nov 24 i `* Re: Grounded grid VHF front-end20Jan Panteltje
10 Nov 24 i  `* Re: Grounded grid VHF front-end19Cursitor Doom
10 Nov 24 i   `* Re: Grounded grid VHF front-end18Jan Panteltje
10 Nov 24 i    +* Re: Grounded grid VHF front-end3Cursitor Doom
11 Nov 24 i    i`* Re: Grounded grid VHF front-end2Jan Panteltje
12 Nov 24 i    i `- Re: Grounded grid VHF front-end1Cursitor Doom
17 Nov 24 i    `* Re: Grounded grid VHF front-end14Waldek Hebisch
17 Nov 24 i     `* Re: Grounded grid VHF front-end13Jan Panteltje
17 Nov 24 i      `* Re: Grounded grid VHF front-end12Waldek Hebisch
17 Nov 24 i       +* Re: Grounded grid VHF front-end6Jan Panteltje
17 Nov 24 i       i`* Re: Grounded grid VHF front-end5Waldek Hebisch
18 Nov 24 i       i `* Re: Grounded grid VHF front-end4Jan Panteltje
18 Nov 24 i       i  `* Re: Grounded grid VHF front-end3Waldek Hebisch
18 Nov 24 i       i   `* Re: Grounded grid VHF front-end2Jan Panteltje
18 Nov 24 i       i    `- Re: Grounded grid VHF front-end1Waldek Hebisch
17 Nov 24 i       `* Re: Grounded grid VHF front-end5john larkin
17 Nov 24 i        +* Re: Grounded grid VHF front-end2JM
17 Nov 24 i        i`- Re: Grounded grid VHF front-end1john larkin
18 Nov 24 i        `* Re: Grounded grid VHF front-end2Waldek Hebisch
19 Nov 24 i         `- Re: Grounded grid VHF front-end1john larkin
11 Nov 24 `* Re: Grounded grid VHF front-end2brian
11 Nov 24  `- Re: Grounded grid VHF front-end1Liz Tuddenham

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal