Search found 155 matches

by Mike Teachman
Mon Jan 24, 2022 4:05 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 464205

Re: Teensy 4.0 & 4.1

Some potentially good news about using I2S with the MIMXRT1060 evaluation board -- I downloaded the schematic for the MIMXRT1060-EVKB and found a connector (J23) that brings out the I2S audio signals from the processor. This suggests that low cost and simple I2S DACs and I2S microphones can be used ...
by Mike Teachman
Sun Jan 23, 2022 5:15 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 464205

Re: Teensy 4.0 & 4.1

Hi Robert, Thank you for the fast response. So which output driver/hardware did you use for testing? Here is the hardware I have been using: DAC: PCM5102 DAC (aliexpress, ebay, etc), and https://www.adafruit.com/product/3678, and https://www.adafruit.com/product/3006 Microphone: INMP441 MEMS (aliexp...
by Mike Teachman
Sat Jan 22, 2022 10:33 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 464205

Re: Teensy 4.0 & 4.1

I2S Protocol Update @Roberthh @alphaFred I2S support on the mimxrt port is about 99% complete. I considered submitting a PR but there are a couple of outstanding issues that are best discussed informally in the forum. The mimxrt I2S implementation is in a github branch, here . The branch is rebased...
by Mike Teachman
Sat Dec 18, 2021 1:04 am
Forum: Development of MicroPython
Topic: I2S on NUCLEO-4F01RE
Replies: 4
Views: 20402

Re: I2S on NUCLEO-4F01RE

Hey, that's great news.

For testing, it would be good to try I2S with both a DAC (Tx mode) and a microphone (Rx mode), but seeing it work on one of these should be adequate.
by Mike Teachman
Sun Dec 12, 2021 1:54 am
Forum: Development of MicroPython
Topic: Dummies using the I2CS
Replies: 2
Views: 13379

Re: Dummies using the I2CS

I have a repo with some resources to help understand the mysteries of I2S: https://github.com/miketeachman/micropython-i2s-examples The repo includes a FAQ describing some rules of thumb for buffer sizing and a description of I2S operation that uses a water analogy. Hopefully that will help. If not,...
by Mike Teachman
Thu Dec 02, 2021 3:54 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 464205

Re: Teensy 4.0 & 4.1

It's a good time for an update. Here is the progress so far: 1. A skeleton of the I2S class is working in the machine module. I2S objects can be created. 2. Using NXP example code I've been able to initialize the I2S peripheral, initiate a data transfer to the I2S peripheral using DMA, and get a DMA...
by Mike Teachman
Sun Nov 14, 2021 9:10 pm
Forum: ESP32 boards
Topic: Read SDS011 with ESP32
Replies: 3
Views: 1770

Re: Read SDS011 with ESP32

The docs for the ESP32 are quite good for the UART class:
https://docs.micropython.org/en/latest/ ... serial-bus
by Mike Teachman
Mon Nov 01, 2021 3:38 am
Forum: ESP32 boards
Topic: SD card reference?
Replies: 4
Views: 1610

Re: SD card reference?

By trial and error I've found that slot=2, or slot=3 needs to be specified. That directs the SD card interface to use the SPI protocol rather than the SD/MMC mode. I use the Lolin Pro 32 as my main ESP32 dev board. All of the following combinations will work for this board (maybe others too !) sd = ...
by Mike Teachman
Mon Nov 01, 2021 2:25 am
Forum: ESP32 boards
Topic: SD card reference?
Replies: 4
Views: 1610

Re: SD card reference?

The SDCard class doc has ESP32 specific details including the SPI pins for each slot.
https://docs.micropython.org/en/latest/ ... html#esp32