Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Upgrading from the 3.6 to 4.1 Power issues

Hybrid View

  1. #1
    Member
    Join Date
    Dec 2016
    Location
    Buena Park ca
    Posts
    98

    Upgrading from the 3.6 to 4.1 Power issues

    When I power the 4.1 from USB it is drawing 6 mA, thats reasonable.

    Then I put it in the socket I build, where the 3.6 was, I apply 5 v at Vin and Gnd and :
    It takes 106mA. I disconnected it fast.

    Whats wrong?

    Also
    There used to be Ground and Analog ground, whats the difference?

    Thanks

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,458
    Teensy 4.1 uses approx 100 mA when running at 600 MHz.

    Stepping down to 528 MHz in Tools > CPU Speed makes a substantial reduction, because the CPU runs at a lower voltage for 528 MHz and below.

  3. #3
    Member
    Join Date
    Dec 2016
    Location
    Buena Park ca
    Posts
    98
    OK
    I will run it at 600 MHz, I got the power. I never seen an Arduino compatible take that much,

    I thought it was bad, shorted inside...

    Thanks a lot.

  4. #4
    Junior Member
    Join Date
    Nov 2019
    Posts
    14
    See this topic, Teensy 3.x/4.0 CoreMark, Temperature and Power Benchmark, e. g. :
    - Teensy 4.0 @ 24 MHz, i = 35 mA;
    - Teensy 4.0 @ 1008 MHz, i = 249 mA.

  5. #5
    Member
    Join Date
    Dec 2016
    Location
    Buena Park ca
    Posts
    98

    Trouble with the uploads

    Every third time I upload, I get:

    An error occurred while uploading the sketch

    No other explanations, but the sketch is loading, and teensy reboots.

    I would ignore it, but My serial monitor become disabled, even if the teensy works.

    Then I hit the push button on the Teensy once or twice at a minute interval, and the serial works again.

    I tried to run it at 528 MHz but that did not help.

    The Teensy gets power through the pins Vin and ground. 5v,

    The USB port also has power from the Mac, but it draws 0 mA if the external power is on.

    The port teensy selects is one, but another port shows in the bottom right.

    See attachments,

    I upload about a 100 times a day, this is hard. My 3.6 was working flawlessly in the same setup.

    Thanks
    Mitch
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screen Shot 2020-07-01 at 8.13.10 AM.png 
Views:	5 
Size:	69.1 KB 
ID:	20823  
    Attached Images Attached Images  

  6. #6
    Member
    Join Date
    Dec 2016
    Location
    Buena Park ca
    Posts
    98
    When it glitches I get:

    java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(EventQueue.java: 1349)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java: 1324)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtil ities.java:1353)
    at processing.app.inputPipeListener.update_gui(Teensy PipeMonitor.java:321)
    at processing.app.inputPipeListener.run(TeensyPipeMon itor.java:284)
    Caused by: java.lang.NullPointerException
    at java.lang.String.<init>(String.java:198)
    at processing.app.FifoDocument.processAppended(FifoDo cument.java:255)
    at processing.app.inputPipeListener$1.run(TeensyPipeM onitor.java:313)
    at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:301)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 728)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •