element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum What would you like to see tested on the Raspberry Pi 4?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 50 replies
  • Subscribers 672 subscribers
  • Views 5330 views
  • Users 0 members are here
  • raspberry pi 4 testing
Related

What would you like to see tested on the Raspberry Pi 4?

cstanton
cstanton over 6 years ago

We have a couple of these in the office that we can run software / test some things on - so what would you like to see tested on the hardware that would help to swing the decision for you as to whether or not it's worth it?

 

I've seen a few questions about Sega Rally running on MAME, questions about h264 encoding, realtime transcoding - for some of these I'd have to find the software/setup but it's certainly do-able.

 

So let me know, what do you want to see tested on the Pi 4?

  • Sign in to reply
  • Cancel
  • michaelkellett
    michaelkellett over 6 years ago in reply to michaelkellett

    Oh dear, spoke much too soon.

    Got the write to fpga working first and it is much slower than expected, the problem is that there are two reads of the FPGA handshake signal per cycle and the Pi's read is horribly slow.

    For a quick test I added four reads to each bus cycle like this:

     

    volatile uint32_t d

    volatile uint32_t *gpio_in = mapped read address of pi input register

     

    d = *gpio_in;

    d = *gpio_in;

    d = *gpio_in;

    d = *gpio_in;

     

    These reads add 600 ns to each cycle, no significant jitter, so each read takes about 150ns.

     

    All is not completely lost, but I shall have to almost give up on the full handshake.

     

    Currently the Pi is the bus master, to send data it sets up the data and asserts MR, the FPGA responds to MR asserted by reading the data and asserting SACK, the Pi de-asserts MR and the FPGA de-asserts SACK and we are ready to go again. If Linux on the Pi goes off for a couple of seconds to something else, at any time in the bus cycle, it doesn't matter. But this scheme needs the Pi to read twice to check that the FPGA has seen the data and is read for some more. These two reads cost about 300ns, which is alkot when I want a complete bus cycle of 100ns.

    Scheme 2 relies on the FPGA never to go off watch:

    The Pi sets up the data and asserts MR (simultaneously), and repeats this n (n probably = 3, might be 4), then it puts the next data word on the bus and simultaneously clears MR, and repeats this for n times. This means that during a burst of data each word will be presented for at least n cycles, which is about 10ns * n. The FPGA looks for changes in MR and uses the data which precedes the change by one FPGA clock cycle (= exactly 10ns). If the Pi goes off to do other stuff in the middle of set of n - it doesn't matter. The FPGA isn't allowed to relax and must always be ready for data. I think this will allow me to send data from Pi to FPGA at an average rate close to 10 * n (it will be a bit less because the Pi doesn't always manage three or four output cycles at the full rate.)

    When the FPGA must send data to the Pi we can't help at least one Pi read per bus cycle so that's 150ns gone - but it looks as if the Pi always takes 150ns - so I can try asserting MR, then reading after p more asserts, adjusting p until the reading s are never wrong. (There is a smart way to do this which some ADCs use - you need some extra bits in the data and adjust the delay (p in our case) until  the sequence of the extra bits is error free. I'll adjust p by hand !)

     

    So - it's harder than I hoped and I'm adjusting my target to 20Mbyte/s Pi to FPGA and 10Mbyte/s FPGA to Pi.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 6 years ago in reply to bwyattk

    Episode 400: The Ultimate Raspberry Pi Stress Test

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur over 6 years ago

    Load the sucker up with a RTL-SDR dongle and set the software sample rates to extremes and let me know how it makes out.

     

    Sean

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • coops375
    coops375 over 6 years ago

    The USB-C port? :0

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 6 years ago in reply to coops375

    I think you can read what you need to about the USB-C port here.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • coops375
    coops375 over 6 years ago in reply to cstanton

    Sorry, I was being being facetious. image

     

    - How about delidding the CPU to see how cool it can get with a bespoke heatsink/fan when clocked? (not even sure if this is possible)

     

    - passively cooled vs. actively cooled pi4?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 6 years ago in reply to coops375

    Benchmarking the Raspberry Pi 4 Model B , scroll down to about "Seriously, Keep this Cool and in a Case" - what would you like to see done differently?

     

    > How about delidding the CPU to see how cool it can get with a bespoke heatsink/fan when clocked?

    I'm not sure that can even be done safely...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • coops375
    coops375 over 6 years ago in reply to cstanton

    Very good benchmark - Only additional thing would be seeing how well the PoE HAT cools the Rpi4.

     

    This looks 'cool' too https://thepihut.com/products/raspberry-pi-water-cooling-kit 

     

     

     

     

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Matt
    Matt over 6 years ago in reply to cstanton

    Half Life 3 please image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clickio
    clickio over 6 years ago in reply to cstanton

    the 3dprinted case in this test has the fan on a side, the performance may be different than placing the cooler right on top of the heatsink. also the heatsink was one of those small ones that have been around from previous generations, for the pi4 i've seen some much much larger heatsinks.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube