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 5317 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
  • cstanton
    cstanton over 6 years ago in reply to dougw

    Ooh, from my tests I'm going to say yes, because the gpu performance was being affected when the CPU was getting hot on my benchmark post, for an actual test I'll have to acquire a 4k screen....

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 6 years ago in reply to donjr

    Good point, I do have a 7" screen lying around so I can test this out.

     

    However I can say that you can power the Pi 4 from 2.5A, so long as you don't try to draw too much power from the USB ports. Pi 4 only needs 3A, not 3.5A.

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

    Using the link you provided I've got direct register access pin toggling working from C.

    Early days yet and I'll post some scope traces once I've made some high speed Pi compatible probes.

     

    First thing:

    The peripheral base address is 0xFE000000. It  took some time to find this - as ever the official documentation is poor (absent - there are broken links in the hardware documents on the RPi site). On the plus side it was on the RPi forum that I found the answer:

    https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=244031

     

    I tweaked the code (from https://www.element14.com/community/external-link.jspa?url=https%3A%2F%2Felinux.org%2FRPi_GPIO_Code_Samples )  to make a burst of 4 pairs of:

    GPIO_SET = 127;

    GPIO_CLR = 127;

     

    I'd set this up so I could only reach it with a 200MHz scope with cheapo probes.

    The pins/probe/scope  can't toggle anything like fast enough but it looks as if the best interval between peaks is 10ns, implying a peak pin update rate of 200MHz and a toggle rate of 100MHz.

     

    I'll need to make a probe that plugs directly onto the header and move the whole caboodle to somewhere near enough to the 1GHz scope to measure the best that can be done.

     

    MK

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 6 years ago in reply to michaelkellett

    Nice work! :-)

     

    I'd recommend not letting this run for minutes at a time. Consider running it for one second, and then let things cool for say ten. It is possible you'd overheat the IO pad if you keep going. When you toggle the IO pin at 100MHz oir more, the "outside" acts as a short. So for the chip it "feels" as if you order it to make the pin high, but then short the pin to ground. You wouldn't be surprised if that breaks things, so you shouldn't be if you try to toggle at 100MHz.

    Stuff like PCIE gets low swing output pads, and an encoding that ensures the pads get the lowest possible number of transitions to encode the datastream. 

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 6 years ago in reply to rew

    I've made a little matching pad and coupled the port to the 50ohm input of a fast scope with 1k in series, then 51R to ground (using GPIO7 means there is an adjacent ground pin) then 1m co-ax to scope.

    Getting reasonable waveforms  - rise and fall times about 5ns.

    The code sends 10 bursts of 4 pulses - it's pretty obvious that there is a synchronisation between processor clock and IO clock causing variations in high and low times.

     

    image

     

    The IO clock is a bit slower than I thought - perhaps 120MHz but quite respectable.

     

    The interface pad looks like this:

    image

     

    The gunk is needed to stop the co-ax from breaking the 0603 resistor between the socket pin and the BNC.

    It looks to me as if one might just about manage a 5MHz bit banged 8 bit bus with handshake !

    What's the fastest clock anyone has made SPI go at from a Pi ?

     

    MK

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago in reply to michaelkellett

    Hi Michael,

     

    It seems 32MHz may be feasible on SPI, using a driver, it is open source, referred to as 'notro' tft driver. I don't know if that is bit-banging, or using any SPI peripheral in the SoC. The 32MHz is mentioned by people in several places as possible for driving TFT over SPI, but I have not seen it confirmed anywhere with a 'scope trace.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago in reply to michaelkellett

    Hi Michael,

     

    Incidentally (not sure if it will help), in user-space if any context switching is getting in the way over the longer term time period (it won't help with the high/low time variations in your scope trace of course), this code can try to influence the scheduler a little bit - I found it useful when sending multiple bytes over a serial interface, to reduce jitter from byte to byte (not bit-to-bit).

    It is discussed here: Miniature Solar Cells and Improving Real-Time GPIO Performance

     

    image

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

    I'd like to see it tested with a large heatsink AND thermal paste. The tests I've seen so far did not use thermal paste and the pi4+ heatsink was thus hotter than the no-heatsink pi4. Also, with a heatsink+ thermal paste AND cooler.

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

    Hello Shabaz,

    Thanks for that.

    I'm working on a 16 bit // interface with a few (5) handshake signals to an FPGA clocked at 100MHz.

    I'm hoping for a burst rate of > 20Mbyte/s.

    Mostly I would want to transfer much less data, just do it at reasonable (to me) speed.

    So, for example, I might want to send a command containing 32 bytes of parameter information, or read 4096 bytes from the FPGA,

    which should take about 2us and 210us respectively.

    SO far I've defined the bus, written some FPGA code, and made the wiring loom - I'm using a Lattice Brevia board.

    Might have some results today.

     

    MK

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

    I'm curious to see its ability to absorb shock such as constant vibration and potential drops if it already hasnt been done or suggested.

    • 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