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

Thread: Eagle library with Teensy 3.0 footprint

  1. #26
    Junior Member
    Join Date
    Apr 2013
    Posts
    18
    I tried the above posted Eagle lbr in Eagle 5.11, it says that the lbr contains invalid data and doesn't load. Any reason why? Or is it just due to using an older/newer version?

  2. #27
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Quote Originally Posted by pht View Post
    I tried the above posted Eagle lbr in Eagle 5.11, it says that the lbr contains invalid data and doesn't load. Any reason why? Or is it just due to using an older/newer version?
    Most likely, it's because I was using eagle 6. Thus, I'd recommend downloading the latest version of eagle and going from there. Some of the changes in eagle from version 5 to six include the ability to have multiple pins with the same signal (for example appending GND to three pins vs having three pins with names that are close but not the same (GND1 GND2 and so on). That's the likely source of error.

  3. #28
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    I have a question about differences between Teensy 3.0 parts here. I want to use all of 34 I/O pins (as it specified here), but at screen I have found only 24:

    , and in lbr file there are 24/34 I/O pins. Where is the Truth?
    Last edited by DrMefistO; 08-10-2013 at 10:11 AM.

  4. #29
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,500
    Quote Originally Posted by DrMefistO View Post
    there are 24/34 I/O pins. Where is the Truth?
    On the pinout reference card that ships with every single Teensy3.

    You can also view it and get the PDF files here:

    http://www.pjrc.com/teensy/pinout.html

  5. #30
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    So, it's only 24?
    But in Eagle's parts there is a scheme with 34 pins.

  6. #31
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Quote Originally Posted by DrMefistO View Post
    So, it's only 24? But in Eagle's parts there is a scheme with 34 pins.
    Take another look at both sides of the Teensy 3 photos that Paul has provided here for the front and here for the back. Specifically, take a look at the back of the board for the discussion that follows.

    The board that Paul designed has one row of holes around the perimeter. Additionally, there are pin holes inside that. Then, there are pads, not holes, for a pin header that you can purchase at digikey. Here is a link to a selection of them. You can solder them on pretty easily and the name of the game is to select a SMD header that has the same pin length as the regular through-hole pins you are using. The 'extra' holes of the 34 pin design conform to the expected locations of the pins coming out of the SMD header.

    The key to soldering them on is to maintain the same 0.1" grid spacing as the rest of the pins in the Teensy 3 layout. I suggest using the usual technique of tacking on one corner carefully, then the opposite corner, making sure they're well-aligned, and then soldering on the other pins first. I'd solder this header after attaching a RTC crystal (they are very close) but before attaching the outer row pins.

    If you wonder why there are pads vs. holes on the underside, it comes back to (IIRC) a decision that Paul made when the chip that he was supposed to be able to use became unavailable and he then switched to a 'bigger' chip that was not under development. The form factor of the board was already established so the only way that Paul could accommodate the additional pins of the physically larger replacement chip in use today was to put pads on the underside. HTH.

    PS: It will be very interesting to see how Paul will differentiate the upcoming Teensy 3++ from the already awesome 3. I have no idea re: the details but it's going to be very very cool, I'm sure!
    Last edited by Constantin; 08-10-2013 at 12:04 PM.

  7. #32
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,500
    DrMefistO, do you actually have a Teensy 3.0 board? If so, just turn it over and look at the bottom side.

    The reality is the 24 pins on the edges of the board are much easier to access. The 10 other digital pins, plus 2 more analog, are only available at the bottom side of the PCB. In designing any product, there are always trade-offs. With Teensy, an important goal has always been small size. If those 12 signals came to the edges of the board, it would need to be 43% larger. The vast majority of projects do not need more than 24 pins. Just look at how many projects work with Arduino Uno, which has 20 pins. But this chip has those extra 12 signals. I put those pads on the bottom side so you can get access to those other 12 signals, if you really need them. There are also 2 more analog, and the voltage ref, on a 2nd row of pads.

    There truly are 34 digital I/O pins. There's also 4 more analog input only pins, so really there's a total of 38 signal pins. But those other 4 aren't "I/O", since you can't use them for output and as inputs, they're only for analog.

    It sounds like you might be unhappy with the product's description? That too is a design trade-off, with a triple goal. #1: provide as much info as possible, #2: keep it brief, mentioning only the most important info, and #3: show the product's selling points. Certainly the goal is NOT to mislead you or anyone. But on a summary page, there isn't room for every little detail. That's why there's reference section. This is common practice for pretty much all technical products.

    Every Teensy 3.0 has that printed reference card included. It's full color printed on both sides, using those 2 PDF files. To see the info about the other 12 signals on the back side, all you have to do is flip the card over. Or if the real Teensy3 is in your hand, just look at the bottom side. Since there's no parts on the bottom, pretty much all the space that isn't pads for connections is printing to label everything.

  8. #33
    Junior Member
    Join Date
    Jul 2015
    Posts
    8
    Dumb question, the 3.0 Eagle libraries should be compatible with Teensy 3.1/3.2 correct?

  9. #34
    Senior Member
    Join Date
    Nov 2012
    Posts
    275
    compatible, yes. But the Reset pin from the Teensy 3.0 is the new A14/DAC pin from Teensy 3.1/3.2.

  10. #35
    Junior Member
    Join Date
    Jul 2015
    Posts
    8
    Thanks HWGuy for the reply. The A14/Reset won't be an issue for my design. Perhaps a better question. I am having trouble wrapping my head around the package for the Teensy in Eagle. What I am looking for is to be able to place 2 14-pin female headers on the board so I can replace/repurpose the Teensy. As I understand the existing package it provides pin locations for soldering a Teensy w/ pin headers directly onto the board. Can I leave the package as is and simply solder on female headers onto my board and male pins onto the Teensy? I'm not interested in the 5 pins at the foot of the 3.2, just the 2 side rows of 14 pins.

  11. #36
    Senior Member
    Join Date
    Nov 2012
    Posts
    275
    Quote Originally Posted by Emach View Post
    What I am looking for is to be able to place 2 14-pin female headers on the board so I can replace/repurpose the Teensy. As I understand the existing package it provides pin locations for soldering a Teensy w/ pin headers directly onto the board. Can I leave the package as is and simply solder on female headers onto my board and male pins onto the Teensy?
    Yes.

    Sparkfun does the same with the Teensy Arduino Shield Adapter https://www.sparkfun.com/products/13288

  12. #37
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Hi guys,

    I noted some errors in the LC board, i.e. still using the AGND pin when there isn't one. Also found that "17 @ VIN" will not display (Pin name).

    Both have been corrected. This ZIP contains both the finished board outlines for the 3.x and LC series, as well as the chips needed to make Teensy's yourself.

    Now I get to hunt for the older files... oh well!
    Attached Files Attached Files
    Last edited by Constantin; 10-25-2016 at 06:08 PM.

  13. #38
    Senior Member
    Join Date
    Sep 2015
    Posts
    108
    Thanks for making and maintaining these!

    One thing I noticed was that as discussed in the recent thread about master/slave SPI, MOSI and MISO don't exist on the Teensy3 and these should probably be relabelled as SOUT and SIN next time you're doing revisions.

  14. #39
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Quote Originally Posted by ecurtz View Post
    Thanks for making and maintaining these!

    One thing I noticed was that as discussed in the recent thread about master/slave SPI, MOSI and MISO don't exist on the Teensy3 and these should probably be relabelled as SOUT and SIN next time you're doing revisions.
    Great suggestion, but looking over the pinout card, I didn't see those terms used. Did you mean DOUT and DIN?

  15. #40
    Senior Member
    Join Date
    Sep 2015
    Posts
    108
    Quote Originally Posted by Constantin View Post
    Great suggestion, but looking over the pinout card, I didn't see those terms used. Did you mean DOUT and DIN?
    The SPI section of the reference manual uses SIN and SOUT, but DIN and DOUT is better if that's what the reference card uses.

  16. #41
    Junior Member
    Join Date
    May 2016
    Posts
    6
    Hello,
    I wasn't sure where to post this question...

    Is there a surface mount connector of some kind or similar that could be soldered to the pads on the back of the Teensy 3.2 and have a cable attach to it?
    If yes, does anybody have a part#?
    Thanks...Ness

  17. #42
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    There are many approaches to doing this.

    One involves the use of two dual-row headers, where the 'inner' set of pins are bent 90* as discussed here.

    Or, you can buy an 2x7 SMD pin header and solder that on.

    Or, you can buy one of the Teensy pin breakout boards on Tindie.

  18. #43

    Reversed MOSI/MISO pins in library?

    I just a got a batch of boards back that refused to work. Ultimately I think it traces back to MISO/MOSI being reversed in the Teensy_3.1_DIL package of the library "Teensy_3_and_LC_Series_Boards_v1.1".

    - published pinouts on this site say MOSI (DIN) is pin 12 on the Teensy 3 series
    - Eagle footprint for device "Teensy_3.1_DIL" says MISO is Pin 11

    Could someone with a higher knoweldge have a look and see if the library is OK? It's entirely possible I am worng or made some mistake along the way, although breaking traces and reversing the two pins made the boards work!

    I'm loving the Teensy BTW, thank you. Thank you also for the library, which saved a lot of time!

    D

    Click image for larger version. 

Name:	miso_mosi.png 
Views:	132 
Size:	25.3 KB 
ID:	8206

  19. #44
    Senior Member
    Join Date
    Nov 2012
    Posts
    275
    Pin 11 is DOUT -> MOSI (Master Out Slave In)
    PIN 12 is DIN -> MISO (Master In Slave Out)

    The Teensy_3.1_DIL package is ok.

    edit:
    note: this applies only to the Teensy in SPI master mode, in slave mode MOSI/MISO are reversed:

    Pin 11 is DOUT -> MISO (Master In Slave Out)
    PIN 12 is DIN -> MOSI (Master Out Slave In)
    Last edited by HWGuy; 09-17-2016 at 05:29 AM.

  20. #45
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    OK, here is a Eagle library update with a preliminary addition of the 3.5 and 3.6 series teensy boards. If someone could have a look at them to see if they match up, that would be great.

    The main differences I can divine between the 3.6 and the 3.5:
    * D+/D- is swapped for A25/A26 plus VUSB vs. NC for USB header
    * No CAN1 serial on 3.5
    * No I2C Channel 3 on 3.5
    * No Touch pins on 3.5
    * Some PWM pin differences.

    Is that it?

    Also, is that "DO" on the Debug header or DD, D0, etc?

    No updates to the Teensy DIY library yet because I am unaware of any schematics being posted yet (hint hint!)

    EDIT: the attached file has been updated from v1.2 to 1.3 to reflect Hw guys excellent feedback. Many thanks!
    EDIT: Now updated again with Franks correction - thank you!
    Attached Files Attached Files
    Last edited by Constantin; 10-25-2016 at 06:03 PM.

  21. #46
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,208
    Quote Originally Posted by Constantin View Post
    OK, here is a Eagle library update with a preliminary addition of the 3.5 and 3.6 series teensy boards.
    Constantin: I won't link this to K66_post_8 unless you say so since you have it marled preliminary - if you want it linked to #45 let me know and I'll make it sticky on K66 thread.

    Jeez - I haven't seen a schematic either - maybe there is one in the works

  22. #47
    Senior Member
    Join Date
    Nov 2012
    Posts
    275
    Eagle files for T3.6:
    - Pin 13: SCK0
    - Pin 16: +PWM
    - Pin 32: -T -PWM +A13 +SCK1 +TX4
    - Pin 33: -A15 +A14
    - Pin 34: -A5 + A15

    The pins from the larger smd header are swapped. (GND5, 3.3V2, 40 - 53)

    The USB pin header is at the wrong position, the distance from the left row is not 2.54mm. In this post the distance is marked with 3.175mm (3.18mm): https://forum.pjrc.com/threads/34808...l=1#post112826

    I have no experience with the 2nd USB port, but I think it's not good to connect both VUSB.

  23. #48
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,451
    Looks like HWGuy pretty good look through the pin. As he mentioned, I would not connect the VUSB to the +5v connector on the USB Host connector. Not sure exactly what it is connected to, but it is not a 0 resistance between the pins.

    I am not an expert in Eagle, much prefer Diptrace, so I converted it to Diptrace to take a look. For me, I prefer to actually split up the duplicate pins as at least with Diptrace, if I connect them all up to each other in the components and then use the component on a board, the system will expect that I need to run etch between each of these pins. So I prefer to choose which ones I wish to use or not use.... But again maybe Eagle is different.

  24. #49
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Hi guys, first of all, many thanks in particular to HW guy for the look over!

    I have updated the library, it is attached up above. The VUSB issue will be revisited once we get a schematic, I guess! I've left VUSB and 5V connected for now.

    Also, all erroneous references to Touch have been removed from the Teensy 3.5 schematics.
    Last edited by Constantin; 09-18-2016 at 02:45 PM.

  25. #50
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,208
    Quote Originally Posted by Constantin View Post
    OK, here is a Eagle library update with a preliminary addition of the 3.5 and 3.6 series teensy boards. If someone could have a look at them to see if they match up, that would be great.

    Also, is that "DO" on the Debug header or DD, D0, etc?

    EDIT: the attached file has been updated from v1.2 to 1.3 to reflect Hw guys excellent feedback. Many thanks!
    On my Beta boards silkscreen looks like a "DD"

    I'm linking that 'Eagle' post to K66_Beta post_8 since is got some review.

Posting Permissions

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