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

Thread: Teensy 3.6 Ethernet with other fast SPI

  1. #1
    Junior Member
    Join Date
    Oct 2019
    Location
    Tucson
    Posts
    1

    Teensy 3.6 Ethernet with other fast SPI

    Hi. I'm new here, but I know a thing or two about microcontrollers.

    I'm working on a new project on a Teensy 3.6 with frequent SPI accesses as well as occasional Ethernet packets using a WIZ850io (W5500 chip).

    Is it just fine to share the main SPI port 0 between Ethernet and another device?

    If I wanted to use a SPI port 1 for my other device, is there any driver support for doing so?

  2. #2
    Senior Member vjmuzik's Avatar
    Join Date
    Apr 2017
    Location
    Florida
    Posts
    420
    There is technically software support for it, although most libraries tend to be hard coded to use SPI port 0, so you would have to edit the library so it uses a different SPI port. I’ve done this with the Ethernet library to use SPI1 for my own personal use with the Teensy3.6 and it did indeed work with no issues other than the general downsides of SPI based Ethernet.

Posting Permissions

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