Search found 155 matches
- Thu Oct 28, 2021 12:54 am
- Forum: General Discussion and Questions
- Topic: I2S for dummies
- Replies: 5
- Views: 2286
Re: I2S for dummies
The sound should start pretty much right after the first write() method completes. The ibuf does not need to be full for sound to be heard. But, after the final write() method sound will continue until the ibuf is emptied of sample data. That delay can be calculated by the formula you listed.
- Wed Oct 27, 2021 1:59 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 463251
Re: Teensy 4.0 & 4.1
I decided to order a Teensy 4.1. I'll keep the forum updated on progress.
- Tue Oct 26, 2021 6:02 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 463251
Re: Teensy 4.0 & 4.1
Definitely. These short code download times are similar to what I see with the RP2 port, which really helps to shorten the development time.
- Tue Oct 26, 2021 5:12 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 463251
Re: Teensy 4.0 & 4.1
Thanks for all the dev board information. That helped a lot to understand development options. I took a look at the MIMXRT1020_EVK board schematic and BOM. This is a great development platform but it may not be the best choice for I2S development. I noticed that I2S capable pins are not brought out ...
- Tue Oct 26, 2021 12:04 am
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 463251
Re: Teensy 4.0 & 4.1
Is there any timeline for I2S completion? I imagine that it will take a month or two. If that fits with your expectations I'll get started. Is the Teensy 4.1 the best hardware to develop with? Digikey/Canada has them in stock.
- Mon Oct 25, 2021 1:41 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 463251
Re: Teensy 4.0 & 4.1
If someone is actively working on I2S for the Teensy I can offer to help them with the implementation. I did the I2S implementation for the Pyboards, ESP32, just recently the Pico. If no-one has started the work, I could take it on.
- Sun Oct 24, 2021 3:53 am
- Forum: Programs, Libraries and Tools
- Topic: Play a WAV file on the Pico
- Replies: 1
- Views: 1411
Re: Play a WAV file on the Pico
What a fun project ! Will the I2S software work on the Pico with just a PWM output? Unfortunately not. The I2S feature requires hardware that supports the I2S protocol. For producing sounds, you could use a product like the Adafruit I2S 3W breakout board . Pico firmware with the I2S feature is avail...
- Fri Oct 22, 2021 6:24 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: PR for I2S support
- Replies: 0
- Views: 961
PR for I2S support
If you'd like to make an audio project with I2S there is a new PR and updated code in I2S examples repo to support the Pico. The firmware on your Pico board will need to be updated. There are a couple of options to get firmware: Integrate the I2S PR into your local build Use a firmware binary from t...
- Thu Oct 21, 2021 3:46 pm
- Forum: General Discussion and Questions
- Topic: I2S for dummies
- Replies: 5
- Views: 2286
Re: I2S for dummies
Your description is good. The async process is run by the MicroPython uasyncio scheduler. It polls the I2S instance to determine when space is available in the internal buffer (ibuf). The polling happens in 'yield core._io_queue.queue_write(self.s)'. When space is available, all, or portions, of the...
- Thu Oct 21, 2021 5:20 am
- Forum: General Discussion and Questions
- Topic: I2S for dummies
- Replies: 5
- Views: 2286
Re: I2S for dummies
The top of each machine_i2s.c C file has some comments that might help to explain the implementation for each port. There is also a repo I authored with examples for the supported ports. https://github.com/miketeachman/micropython-i2s-examples If you can frame up some specific questions I can add an...