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

Thread: Can a teensy 4.1 have two SPI buses running simultaneously

  1. #1
    Junior Member
    Join Date
    Apr 2018
    Posts
    11

    Can a teensy 4.1 have two SPI buses running simultaneously

    In am trying to add several SPI devices to the TSW Teensy 4.1 Raduino Clone board. The display is hard-wired to the TFT display so the pins D11/D12/D13 are not readily accessible. If I can have a second SPI bus on the accessible D37/D38/D39 pins it greatly simplify things. Is this possible?

  2. #2
    Senior Member manicksan's Avatar
    Join Date
    Jun 2020
    Location
    Sweden
    Posts
    221
    in the TT1060 datasheet
    there is two separate SPI units called A and B
    they can be mapped to different pins
    (not sure if the pin mapping is available in the Arduino framework)

  3. #3

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,543
    Ignore this

  5. #5
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,543
    Those pins on their own won't be sufficient for SPI1.
    The four SPI1 pins on the T4.1 are:
    D0 CS1
    D1 MISO1
    D26 MOSI1
    D27 SCK1
    As shown here and on the card that came with your T4.1

    +Correction: pins 38 (CS1) and 39 (MISO1) are alternates.

    Pete

  6. #6

Posting Permissions

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