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

Thread: Sharing Pins- Audio Adapter Shield- and Wi Fi Breakbreakout

  1. #1
    Junior Member
    Join Date
    Jan 2019
    Posts
    2

    Sharing Pins- Audio Adapter Shield- and Wi Fi Breakbreakout

    Hello, can I share Teensy 3.2 pins- (11 & 12) on my between the audio adaptor board https://www.pjrc.com/store/teensy3_audio.html and wifi breakout https://learn.adafruit.com/adafruit-...eakout/pinouts ?

    Thank you! Sanone

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,861
    Quote Originally Posted by Sanone View Post
    Hello, can I share Teensy 3.2 pins- (11 & 12) on my between the audio adaptor board https://www.pjrc.com/store/teensy3_audio.html and wifi breakout https://learn.adafruit.com/adafruit-...eakout/pinouts ?

    Thank you! Sanone
    You need to use the alternate SPI pins for pins 11 and 13. The alternate pin for 11 (MOSI) is pin 7. The alternate pin for 13 (SCLK) is pin 14. The audio board needs to use pins 11 and 13 for I2S objects, instead of them being used as the default pins for SPI:


    Note, some boards don't work too well being shared with other SPI devices like the SD card and flash memory readers on the audio shield. I've heard that for those boards, you need to have additional hardware (tri-state buffer?). Also, if the wifi driver doesn't have support for SPI_TRANSACTIONS, you may need to add that as well.

  3. #3
    Junior Member
    Join Date
    Jan 2019
    Posts
    2
    Quote Originally Posted by MichaelMeissner View Post
    You need to use the alternate SPI pins for pins 11 and 13. The alternate pin for 11 (MOSI) is pin 7. The alternate pin for 13 (SCLK) is pin 14. The audio board needs to use pins 11 and 13 for I2S objects, instead of them being used as the default pins for SPI:


    Note, some boards don't work too well being shared with other SPI devices like the SD card and flash memory readers on the audio shield. I've heard that for those boards, you need to have additional hardware (tri-state buffer?). Also, if the wifi driver doesn't have support for SPI_TRANSACTIONS, you may need to add that as well.
    Thank you Michael, I will try this and let you know.

Posting Permissions

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