Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 26 to 50 of 81

Thread: Wiki Coming - Please link worthy posts

  1. #26
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,788
    LINKS to Teensy 3.1 and T_3.2 breakout boards that give access to bottom pins:
    https://forum.pjrc.com/threads/31568-Teensy3-Kicad-libs

    Robin: I think that being sticky would be great - not just because of who started the thread and the WiKi bug. I had this very thought this afternoon - as you may have seen I picked up another person who missed this on another thread today and directed them here.

    Hi All,
    It would be nice to have this in some sort of Wiki page or something to have an up to date list: no need to read every posting when a better suggestion is made on the initial post which is a brilliant overview.
    <edit: safe to say nobody was more anxious to see a TEENSY_WIKI - but I perfectly understand the time IT takes and how often 'REAL' issues you can actively deal with take precedence>

    It was realized the wiki may be better integrated if the Forum software is changed so that lead to extra work items that hasn't gotten resolved as there wasn't a clear best choice and with all else going on, so this placeholder list is a good place to scan and leave ideas that the WiKi needs to cover.
    <edit>
    Another important WiKi topic:'Custom Teensy Board' collected tips and tricks and rules to follow.
    Maybe it is already here and maybe there is a better link :: Sanity-Check-custom-teensy-pcb-design
    Last edited by defragster; 11-13-2015 at 09:50 PM.

  2. #27
    Quote Originally Posted by MichaelMeissner View Post
    Hacking the Teensy for SWD debugging:
    http://mcuoneclipse.com/2014/08/09/h...swd-debugging/
    This is actually quite nifty: being able to use Teensy's JTAG pins so that your Eclipse IDE will allow you to single step through your source code on the target board itself and setting breakpoint etc: very handy when you try to debug a problem on a Teensy target. Hopefully Teensy 3.3 board with have a proper JTAG header

  3. #28
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    Clarifying.. SWD data, clock, reset rather than JTAG per se, right?

  4. #29
    -- deleted --
    Last edited by Spix; 11-08-2015 at 09:46 AM.

  5. #30
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,788
    This Now a STICKY THREAD to accumulate links and KEY TEENSY info to migrate to coming WIKI, until then just a set of bullet points to scan for answers and direction to discussion or questions. (the less clutter of duplicate entries and discussions here the better)

    MOST CURRENT Teensy News:

    Teensyduino-1-26-Beta-1-Available

    Teensy-3-2

    New TOUCH display driver - running on the supported ILI9341:
    ILI9341-restive-touch-miso-not-connected

    LOCAL versus GLOBAL variables: Not seen this called out before - and very important in loop() ::
    My-Teensy-Aircraft __ about local and global variables
    LOCAL AND GLOBAL VARIABLES :: c_programming


    Library for using SPI Flash memory with a filesystem-like interface : Included in TeensyDuino 1.25+
    SerialFlash

    [Headroom] Hte answers a lot of OctoWS2811 library questions and are explained in detail on the
    OctoWS 2811 library page.
    Last edited by defragster; 11-05-2015 at 05:25 PM. Reason: Added links to prior post to keep thread shorter to scan

  6. #31
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    632
    For anyone interested in doing crypto, this exchange is fantastic:

    https://forum.pjrc.com/threads/31081...6348#post86348

  7. #32
    ESP8266 is a complete and self-contained Wi-Fi network solutions which cost around $5

    A Guide To Using ESP8266 With TEENSY 3

    suggestion per posting: provide short description besides a few letters acronym

  8. #33
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    632
    Floating point precision and performance:

    https://forum.pjrc.com/threads/31116...oint-constants

  9. #34
    Interrupts short and simple: Good programming practices

  10. #35
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    632
    SIMD, compiler tricks, in-line assembled

    https://forum.pjrc.com/threads/31285...ns-with-Teensy

  11. #36
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    632
    Occasionally new users want to avoid Arduino and "just want to use C". Typically, this leads to a fair bit of back and forth as people trying to help try to figure out which reason the person has, how much knowledge the person has and what's the best help given their skill level.

    Typically, the new user might assume that Arduino is a bastard variant of C or C++ or that the Arduino IDE is tightly coupled to the compiler or that C and C++ are interchangeable, etc. Typically, they'll want to use all the libraries, but not realize that the other stuff really isn't much at all.

    The current thread that brought this to mind isn't ideal for linking here (yet?). I just wanted to mention this so that when the eventual PJRC wiki comes, we'll be able to explain this in appropriate spots.

  12. #37
    Member
    Join Date
    Nov 2012
    Location
    Olympia, WA
    Posts
    46
    Video of Audio Library and board course, with materials: https://forum.pjrc.com/threads/31591...brary-Tutorial

  13. #38
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,788
    IIRC :: The Wiki work is (soft) scheduled after the two PJRC hardware works in progress get finished - and new forum software in the mix.

    If you see worthy forum posts on specific information that should be integrated - please make a post here - if you have a post already please feel freed edit into that - as long as the info is here it can be recalled.

    SPI CS functionality details 3.1 .vs. 3.2 - changes in the Teensy card only:
    SPI-Chip-Selects-(Teensy-3-1-vs-3-2)
    Teensy Cards are a great summary - but brevity and clarity limit functional details - info like this could be present on the wiki for each pin and each interface type usage.

    Software-based RTS for Serial2 and Serial3 in Teensyduino 1.27 - Was on Serial1 in 1.26:
    Teensy-Hardware-Flow-Control-RTS-CTS

    Why ARDUINO is really Just another way to program the Teensy in C/C++ (versus baremetal or makefile):
    https://forum.pjrc.com/threads/33715...l=1#post100525

    Assuming a WIKI page for each library will evolve - PJRC or otherwise:
    Each code element in the Teensy system with a github should link to it and the ISSUES area for checking active issues and reporting found items.
    Last edited by defragster; 03-27-2016 at 10:24 AM.

  14. #39
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    4,470

  15. #40
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    4,470
    "The mixer and many other objects are programmed to not transmit data when they know their output is silent. All objects are programmed to detect no data arriving at their inputs. Most avoid using CPU time to process known-silent input. Only a few actually continue doing work with no data arriving (like delayExt, which fills the external memory with zeros). But that's those are the rare exceptions. Nearly all of them avoid some or all CPU usage when their inputs get no data.

    The mixer also contains code to handle 1.0 gain efficiently. When it's just a single channel at 1.0 gain, the original data is just passed right to the output with virtually no CPU usage." (Paul)

  16. #41
    Senior Member Ben's Avatar
    Join Date
    Jul 2013
    Location
    Germany
    Posts
    401
    How to uninstall unused COM Ports on windows to lower the COM port numbers of new devices:

    https://forum.pjrc.com/threads/33328...l=1#post100477

  17. #42
    i have 2 usefull things to add as well:

    detecting cpu clock dynamically:
    https://forum.pjrc.com/threads/33709...-the-CPU-speed

    reading cpu/ram usage:
    https://forum.pjrc.com/threads/31664...-and-ram-usage!

    code is in the posts themselfs, as it's just not worth to make a library out of them. :P

  18. #43
    Senior Member fms1961's Avatar
    Join Date
    Jul 2015
    Location
    Northern Germany
    Posts
    148
    My hope for this post was to be put in a Teensy WiKi ... Visualize frequency responses with the serial plotter of the Arduino IDE

    Also another Class-D solution could be of broader interest: Attach Class-D via I2S
    Last edited by fms1961; 03-26-2016 at 12:44 PM.

  19. #44
    Member
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    87
    Ping. Any news on a Wiki?

    FWIW: In my previous job we used vBulletin and a separate MediaWiki with great success. It was easy to set up and the community took great advantage of it quickly.

  20. #45
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,203
    Quote Originally Posted by blackketter View Post
    Any news on a Wiki?
    Planning this as part of a server upgrade in June.

    If we're not in at least beta testing for the K66-based Teensy++ by then, wiki & server upgrades will be pushed back until that's done.

  21. #46
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,203
    When the wiki goes up, would like to see a section about non-Arduino usage tips.

    https://forum.pjrc.com/threads/33715...l=1#post100525

  22. #47
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,788
    Teensy_3 PORT mapping to pins for grouped I/O
    tutorial-on-digital-i-o-atmega-pin-port-ddr-d-b-registers-vs-arm-gpio_pdir-_pdor

    LC pin ports are almost identical - exceptions are:
    Quote Originally Posted by PaulStoffregen View Post
    Looks like it's still only for Teensy 3.0 and 3.1.

    Teensy-LC differs on pins 3-4 and 24-26. Of course, LC doesn't have 27-33. All the other pins have identical mapping between Teensy LC and 3.1.
    Writing the Teensy 3.? & LC lock bits - Yes and No . . .
    Does-Teensy-lock-the-flash-memory
    >> Here is the commit change with details: github.com/PaulStoffregen/cores/commit
    >> And the Thread Post: Setting-flash-security-byte?

    EE Details for the Non-EE:
    https://forum.pjrc.com/threads/34467...l=1#post104204

    Teensy CARD and RESET versus PROGRAM on the T_3x:
    Breaking-out-the-Reset-Button
    Last edited by defragster; 09-13-2016 at 05:59 PM.

  23. #48
    Member
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    87
    Float support in printf and scanf:

    https://forum.pjrc.com/threads/27827...-on-Teensy-3-1

  24. #49
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,203
    This probably wants to be on the wiki somewhere.

    https://forum.pjrc.com/threads/26767...ll=1#post58616


    (unrelated) The wiki should probably also have a section for contributing custom USB configurations....

  25. #50
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,788
    I just put this as link #1 on post #2 and thought here might be good too:

    My best help for Initial and troubleshooting of Teensy Connectivity:
    SAMPLE blink sketch and steps and notes to connect a Teensy when it won't seem to connect.

    Data Types in Arduino ARM .vs. AVR
    datatypes-bit-depth
    Last edited by defragster; 09-04-2016 at 07:02 AM.

Posting Permissions

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