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 RG1 1.8v regulator
  • 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 231 replies
  • Subscribers 669 subscribers
  • Views 26624 views
  • Users 0 members are here
Related

RG1 1.8v regulator

Former Member
Former Member over 13 years ago

Ok, so in a different thread I threatened to remove RG1 and do some current measurements on it's output after seeing those thermal images that show it's not generating any heat...

 

Well, I did it tonight. Some photos here: https://picasaweb.google.com/selsinork/RPi18v

 

The jumper pins in the output let me either just put a jumper on and verify the Pi boots ok, or wire a multimeter in series to get some current readings.

 

The results were interesting to say the least. I had to go back and check I was reading the multimeter correctly, that it wasn't broken etc.

 

On initial power up I see a negative current for a second or so which then reverses to about 0.5mA (yes half a milliamp, that's not a typo) for a few seconds while we get the first sd-card accesses. Once we're booted and sitting at the login prompt the current reading fluctuates from around 0.001mA to maybe 0.04mA. 

 

I'm using the 40mA range on a decent Fluke multimeter, so I've no reason to doubt the results. There's obviously going to be some inaccuracy down at that level due to length of meter leads etc, but the result is fairly clear.  You'll understand why I was checking the meter was working and I was reading it correctly though image

 

 

So from there onto the next test, lets try completely disconnecting RG1 and see if the Pi boots while using the LAN9512 1.8v 'output'.  Yes it does! 

 

I think that's reasonably good indication that jamodio got it spot on, the lan9512 shouldn't be connected to the 1.8v plane and it's heat problems are going to be largely due to supplying current on it's 1.8v filter pin that it was never designed to do.

 

So anyone willing to pull RG1 off a Pi and verify my results ?

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    Hi

     

    I have now done the Troy Mackay fix to my test board, it was not easy to cut that small traces and then solder the wires to the board but with an microscope and time it was done and seems to work.

     

    I have also removed the RG1 and RG2, but i was not lucky with the desoldering of the RG2 as i have damage it and it is no longer working so i am using an replacement LF33CV that i have.

     

     

    So guys what testes do you like me to do and what IR images, for now i am thinking some things like this.

     

    Test 1

    Work: idle

    board: as unmodified (execpt i am using the LF33CV as RG2)

     

    Test 2

    Work: CPU is calc Pi, taking images from webcam, copy files via network

    board: as unmodified (execpt i am using the LF33CV as RG2)

     

    Test 3

    Work: Idle

    board: replace RG1 and RG2 with switchmode, disconnect the LAN9512 1V8 rail from RG1

     

    Test 4

    Work: CPU is calc Pi, taking images from webcam, copy files via network
    board: replace RG1 and RG2 with switchmode, disconnect the LAN9512 1V8 rail from RG1

     

    This is the tests i have planned for now, but i will like to hear if your guys like some other ones or changes.
    For the tests i have done see the post 40 in this thread http://www.element14.com/community/message/57800#57800

     


    image

     

     

    Tooms

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    Nice job.

     

    Quick tip when you need to do "airwire" mods on small pitch components, instead of using wirewrap or plastic insulated wire, you can use transformer wire that is thinner and also insulated, before soldering you can put a little bit of solder on the tip of the wire which will melt the insulating barnish.

     

    Good source of thin transformer wire, CFL lamps, don't throw them to the garbage, carefully remove the lamp from the socket, you will find a tiny pcb with some components, one of them the switching transformer, you can take it appart and use that wire.

     

    There are many other components on that little board that may be of good recycling use.

     

    BTW, I asume that cutting the trace removed the connection to the caps for the SMSC internal regulator, you need to add the recommended capacitance on those pins to ensure proper operation of the internal regulator.

     

    My .02

    -J

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    Nice job.

     

    Quick tip when you need to do "airwire" mods on small pitch components, instead of using wirewrap or plastic insulated wire, you can use transformer wire that is thinner and also insulated, before soldering you can put a little bit of solder on the tip of the wire which will melt the insulating barnish.

     

    Good source of thin transformer wire, CFL lamps, don't throw them to the garbage, carefully remove the lamp from the socket, you will find a tiny pcb with some components, one of them the switching transformer, you can take it appart and use that wire.

     

    There are many other components on that little board that may be of good recycling use.

     

    BTW, I asume that cutting the trace removed the connection to the caps for the SMSC internal regulator, you need to add the recommended capacitance on those pins to ensure proper operation of the internal regulator.

     

    My .02

    -J

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Former Member
    Former Member over 13 years ago in reply to jamodio

    jamodio

    >Nice job.

    Thanks

     

    >Quick tip when you need to do "airwire" mods on small pitch components, instead of using wirewrap

    >or plastic insulated wire, you can use transformer wire

    yes now you say it, i have hear about the use of the transformer wire but i just forgot it and i was not having any

     

    >BTW, I asume that cutting the trace removed the connection to the caps for the SMSC internal

    >regulator, you need to add the recommended capacitance on those pins to ensure proper operation

    >of the internal regulator.

    i have cut the board traces but not removed the caps and i am thinking of just leave them there as they do no harm.

    for the testing i will add the caps there is showing in the SMSC LAN9512 pdf file and not go for what ever values there is on the board now.

     

     

    Morgaine Dinova

     

    >That's very impressive work Tooms, well done. Your list of tests sounds good.

    Thanks

     

    >.....measuring USB data loss....

    how can you see there is package loss, is there an log file or ?

     

     

     

    Thanks

    Tooms

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to Former Member

    Tooms wrote:

     

    >.....measuring USB data loss....

    how can you see there is package loss, is there an log file or ?

     

    That's the problem, there doesn't appear to be any way of directly quantifying loss of USB events, AFAIK.  Adding logging to drivers can help somewhat, but it can never be foolproof since if the driver doesn't detect the loss then it cannot log the problem.

     

    This is why I mentioned direct injection of numbered USB packets, for example using a microcontroller board pretending to be a HID device like a mouse or keyboard, which would allow this numbered sequence to be monitored from the Pi end.  Any numbered packet missing from the sequence would then be trivially detectable as lost USB data.

     

    Injecting numbered network packets into Pi's network interface might also help (since network traffic flows over USB in the Pi design), as long as the protocol used is not error-corrected (hence no TCP for example).  UDP or ICMP echo should be usable.  However, as I remarked earlier, network packets may not exhibit the same fault characteristics as HID devices if they use a different USB transfer type.  Network error monitoring is extremely useful of course, but may not provide full coverage as a test method for USB data loss.

     

    Morgaine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to Former Member

    It is not a scientific or elaborated tool, there are other tools that can be used to generate different streams and types of packets, but this one is very simple and available on any linux distro.

     

    If you have another *nix server in your network (has to be preferable in the same segment/switch,) as root you can run the ping program in flood mode, in that mode the machine/interface will try to spit ICMP echo packets as fast as possible, here is an example:

     

    root@tango:/# ping -f -n 10.0.2.60

    PING 10.0.2.60 (10.0.2.60) 56(84) bytes of data.

    .^

    --- 10.0.2.60 ping statistics ---

    38799 packets transmitted, 38799 received, 0% packet loss, time 18693ms

    rtt min/avg/max/mdev = 0.335/0.439/5.464/0.067 ms, ipg/ewma 0.481/0.444 ms

     

    ping will continue to send packets until you cancel the program with control-C and then will report the statistics in the bottom.

     

    If you start to loose packets or the "echo" packets don't return after a given time (configurable) you will start to see dots filling the screen.

     

    The -f option means flood mode, -n so you don't waste time to resolve the reverse address of the IP address used (that's the fixed IP I assigned to the R-Pi in my lab)

     

    There are other useful options like setting the size of the packet payload, or the pattern, etc, do man ping to have the complete list/description.

     

    With this simple test is how I found and reported that one of the earlier versions of Debian (not Raspbian) was producing a kernel panic, since I switched to Raspbian I have not tried again to see if the problem was fixed on the Debian distro. Didn't have that problem with Arch Linux, and it seems that the panic was related to the USB driver and the ability to handle properly interrupts.

     

    Another example:

    root@tango:/# ping -f -n 10.0.2.60 -s 1024

    PING 10.0.2.60 (10.0.2.60) 1024(1052) bytes of data.

    ..........................................................................^C

    --- 10.0.2.60 ping statistics ---

    25974 packets transmitted, 25900 received, 0% packet loss, time 23598ms

    rtt min/avg/max/mdev = 0.739/0.829/5.947/0.080 ms, ipg/ewma 0.908/0.830 ms

     

    In this case you can see that there is no packet loss but given that the payload is larger the R-Pi takes more time to return the echo packet.

     

    You can obviously also ran ping in this mode from the R-Pi:

     

    root@raspberrypi:/# ping -f -n 10.0.2.24

    PING 10.0.2.24 (10.0.2.24) 56(84) bytes of data.

    .^

    --- 10.0.2.24 ping statistics ---

    16236 packets transmitted, 16236 received, 0% packet loss, time 11801ms

    rtt min/avg/max/mdev = 0.383/0.438/1.365/0.045 ms, pipe 2, ipg/ewma 0.726/0.497 ms

    root@raspberrypi:/#

     

     

     

    -J

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 13 years ago in reply to morgaine

    To test character-loss on serial lines I've written a program that's called swirl (IIRC).

     

    abcdefghijklmnopqrstuvwxyzABCDEFGHIJLKLMNOPQRSTUVWXYZ1234567890

    bcdefghijklmnopqrstuvwxyzABCDEFGHIJLKLMNOPQRSTUVWXYZ1234567890a

    cdefghijklmnopqrstuvwxyzABCDEFGHIJLKLMNOPQRSTUVWXYZ1234567890ab

     

    etc. You can see kilobytes of data pass in front of your eyes, but one byte or packet missing and you'll spot it. But programmatic checking is also possible.

     

    Put this in a teensy or multio http://www.bitwizard.nl/catalog/product_info.php?products_id=56 and you'll have an easy test.

     

    I usually use the ACM class for programs in the multio: I have a virtual com port on both ends, which is convenient.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jamodio
    jamodio over 13 years ago in reply to rew

    Reminds me of the "classic" text string for serial communications (you can add the lower case version obviously)

     

    THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890

     

    http://en.wikipedia.org/wiki/The_quick_brown_fox_jumps_over_the_lazy_dog

     

    -J

    • Cancel
    • Vote Up 0 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