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

Thread: TEENSY 4.1 where do I connect to use third SPI

  1. #1
    Junior Member
    Join Date
    Feb 2021
    Posts
    2

    TEENSY 4.1 where do I connect to use third SPI

    My project is SPI intensive with significantly different priorities on SPI usage, and I would like to make use of all three SPI connections. I see pins labeled MISO and MISO1 on the Pinout Card. I don't see anything labeled MISO2. Which holes in the middle are which?

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,984
    You can either get to them by the SDCard pin or from the bottom memory chips.
    You can see them on my cheat sheet

    Click image for larger version. 

Name:	T4.1-Cardlike.jpg 
Views:	1975 
Size:	210.1 KB 
ID:	23573

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,277
    Where can I buy that as as poster?

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,984
    Quote Originally Posted by Frank B View Post
    Where can I buy that as as poster?
    Not sure

    But excel document with it, plus a PDF that this image is from is up at: https://github.com/KurtE/TeensyDocuments

    And to all, if you find problems in it, let me know. It has been within the last couple of weeks that a few were found that I had not run into...

    EDIT: Forgot to mention it is one of the pages (actually several) in https://github.com/KurtE/TeensyDocum...%20Pinout.xlsx

    Some of the pages are WIP, like the T4.1 MUX page as I wanted a page that has all of the ALT number for each of the pins to what function.

    Also second part there is the real WIP part where I started going through doing the IOMUXC_xxx_SELECT_INPUT values for many of these pins.
    Like to use pin 7 for Serial you need to alo set: IOMUXC_LPUART4_RX_SELECT_INPUT=2

  5. #5
    Senior Member mortonkopf's Avatar
    Join Date
    Apr 2013
    Location
    London, uk
    Posts
    933
    Thanks for that chart KurtE, I keep coming back to it and it keeps ptoviding options.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,073
    I've added a link to this thread on the Teensy 4.1 product page.

    New Teensy 4.1 cards are also being printed. I'm waiting to update the website until we actually start shipping the freshly printed cards. But the info isn't a secret. If you want an early look, or want the print the new card yourself, here are the latest PDF files.

    https://www.pjrc.com/teensy/card11a_rev3_web.pdf

    https://www.pjrc.com/teensy/card11b_rev3_web.pdf

  7. #7
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,984
    Quote Originally Posted by PaulStoffregen View Post
    I've added a link to this thread on the Teensy 4.1 product page.

    New Teensy 4.1 cards are also being printed. I'm waiting to update the website until we actually start shipping the freshly printed cards. But the info isn't a secret. If you want an early look, or want the print the new card yourself, here are the latest PDF files.

    https://www.pjrc.com/teensy/card11a_rev3_web.pdf

    https://www.pjrc.com/teensy/card11b_rev3_web.pdf
    Looks great! Lots of good information on a small card.

    I keep adding pages to that excel document, as even my larger card still does not show everything. Example of extract from IMXRT reference manual IOMUXC data about the different pins:
    Click image for larger version. 

Name:	screenshot.jpg 
Views:	236 
Size:	289.0 KB 
ID:	23577

    Again not done as I was adding second page that showed the input select registers, as I have been bit by not setting these more than once!:
    But I only do a little at a time: Example showing parts of the first few pins:
    Click image for larger version. 

Name:	screenshot3.jpg 
Views:	96 
Size:	37.4 KB 
ID:	23578
    For example on pin 0, Column 5 the register: IOMUXC_LPUART6_RX_SELECT_INPUT=1
    Was probably the first one that bit me, when working on Hardware Serial.

  8. #8
    Junior Member
    Join Date
    Feb 2021
    Posts
    2

    Cool

    Thank you!!! This is what I is exactly what I was hoping for.

  9. #9
    Senior Member
    Join Date
    Oct 2019
    Location
    Calgary
    Posts
    109
    Quote Originally Posted by PaulStoffregen View Post
    New Teensy 4.1 cards are also being printed.
    Thank you for adding the back side! Those little cards are so handy at times.

Posting Permissions

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