Port Benchmark - OfficinaTurini

Go to content
Il test è così semplice che persino commentarlo può essere offensivo ...

Questo è il codice sorgente: un semplice contatore dove la porta PG è l'uscita (disponibile sul connettore Y14).
The test is so simple that even comment on it can be offensive ...

This the source code: A simple counter where PG port is the output (available on Y14 connector).
Impostiamo il PLL sulla massima frequenza del core ed impostiamo la porta PG in output.
É un semplice ciclo in cui scriviamo il conteggio sulla porta PG.
Qui sotto si vede quanto l'oscilloscopio digitale visualizza:
We set PLL to the maximum core frequency and the PG port (all output).
Then a simple loop where we write the count on the PG port.
With the scope you can check the results:
Ogni 30ns la porta cambia il livello !!!
Quante cose pensi che ci puoi fare?

Test molto simile con ARDUINO-EDISON:
Every 30ns the port change the level!!!
How many things do you think you can do?

Very similar test with ARDUINO-EDISON:
Il codice utilizzato:
Used code:
Il risultato visualizzato con l'oscilloscopio:
The result checked with the oscilloscope:
L'accesso all'I/O é piú di dieci volte lento!!!
Non sei d'accordo? Parliamone ...

Sembra troppo semplice e insignificante?
Guarda sotto c'è un altro programma di test, viene eseguito in 800us ...

More ten times slower on I/O access!!!
Do not you agree? Let's talk about ...

Does it seem too simple and insignificant?
Look below is another test program, is executed in 800us ...

Free counters!
VAT: IT 02230330504
(C) 2016-2024 Officina Turini, Tutti i diritti riservati
Back to content