Skip to content
Discussion options

You must be logged in to vote

Does micropython support (near) simultaneous input and output on the Teensy 4.1 -> pjrc Audio Shield

I've never tried to do this, but it might be possible.
Here are two approaches I can suggest:

  1. Configure two I2S instances, one for receive, one for transmit. To avoid the SCK/WS EPERM error, map the 2nd I2S instance to unused SCK/WS pins. The pin choices for Teensy I2S pins are listed here. Use an oscilloscope to determine if the SCK and WS signals from the two I2S instances are lined up. If the signals line up you will be able to simultaneously receive and transmit audio samples from the codec on the Teensy audio shield. However, I doubt that this approach will work as I suspect that …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Harrolee
Comment options

@Harrolee
Comment options

Answer selected by Harrolee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants