Author Topic: fast I/O on Raspberry Pi  (Read 2146 times)

0 Members and 1 Guest are viewing this topic.

Offline NiHaoMikeTopic starter

  • Super Contributor
  • ***
  • Posts: 9244
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
fast I/O on Raspberry Pi
« on: August 04, 2020, 11:52:54 pm »
https://www.raspberrypi.org/forums/viewtopic.php?p=1697532
So far, it only seems to work exceptionally well on the Pi Zero. It won't match a Beaglebone Black, but still impressive for how cheap a Pi Zero is.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 
The following users thanked this post: Ian.M, RoGeorge, I wanted a rude username, lintweaker

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3917
  • Country: nl
Re: fast I/O on Raspberry Pi
« Reply #1 on: September 25, 2020, 11:00:16 pm »
Why do you call 80MB/s fast for a (multi core?) processor that runs on a GHz or so?
And it has to be reverse-engineerd from missing datasheets also.
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 4559
  • Country: nz
Re: fast I/O on Raspberry Pi
« Reply #2 on: September 26, 2020, 09:47:35 am »
You can do something similar on an ATMega2560 (or the smaller versions) e.g. on Arduino Mega. 16 GPIOs are used for address and data (with the high 8 bits of the address multiplexed with the 8 data bits) to allow addressing 64 KB of total RAM. Not as quickly, obviously, due to the lower clock rate, but I think it might manage 8 MB/s.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: de
Re: fast I/O on Raspberry Pi
« Reply #3 on: September 26, 2020, 10:16:50 am »
Why do you call 80MB/s fast for a (multi core?) processor that runs on a GHz or so?
And it has to be reverse-engineerd from missing datasheets also.

I guess the difference between CPU clock and the external interfaces/peripherals has been totally lost on you.  :palm:
 

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3917
  • Country: nl
Re: fast I/O on Raspberry Pi
« Reply #4 on: September 27, 2020, 03:44:20 pm »
Nope.

More then 12 CPU clocks for an I/O transfer is nothing exceptional.
This has nothing to do with absolute numbers.

If you want sustained high transfer rates, then look at the Cypress FX2 or FX3 for a nifty peripheral implementation.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: de
Re: fast I/O on Raspberry Pi
« Reply #5 on: September 29, 2020, 09:17:33 am »
Nope.

More then 12 CPU clocks for an I/O transfer is nothing exceptional.
This has nothing to do with absolute numbers.

If you want sustained high transfer rates, then look at the Cypress FX2 or FX3 for a nifty peripheral implementation.

The I/O transfer rate is not dictated by the CPU clock but by the peripheral clock itself and how fast (or not) are the connections to the bus where the memory is. Which given how the Broadcom SoC is built and that we are talking about GPIO (well, SMI) and not a dedicated high speed interface, it is pretty solid.

If someone wants a gigabyte/second speeds they won't use what essentially amounts to an old parallel port.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf