Search found 155 matches

by Mike Teachman
Wed Feb 09, 2022 4:46 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

rdagger wrote:
Tue Feb 08, 2022 8:41 pm
Everything works but frequently I’ll be uploading code to the Teensy and it will brick.
You have a Teensy4.0, but I built the firmware for a Teensy4.1...could that be a possible root cause?
by Mike Teachman
Mon Feb 07, 2022 6:10 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico audio DAC
Replies: 8
Views: 93895

Re: Pico audio DAC

Can you tell me what are the advantages of using a DAC over a PWM in terms of sound output? Sorry, I do not have any experience with PWM techniques for audio applications. But, I can say that I2S with a DAC can produce CD audio quality. I understand that the DAC will allow a better resolution of sa...
by Mike Teachman
Mon Feb 07, 2022 5:49 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

@rdagger Some good news. I was able to use your driver to make a prototype of the Teensy playing through the audio shield. I committed a new folder "teensy_audio_shield" to this branch: https://github.com/miketeachman/micropython-i2s-examples/tree/mimxrt The folder contains a micropython binary for ...
by Mike Teachman
Sun Feb 06, 2022 6:27 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

Thanks! I updated the driver init and will continue working on the goal of playing a wav file through headphones. I will report back on any progress. The next update might be in a couple of days.
by Mike Teachman
Sun Feb 06, 2022 6:14 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

I cloned the repo and made some progress. - the module imports without error - the module is easy to follow and the comment blocks are golden ! - configured I2S to play a wav file - verified all I2S signals to the audio board using a scope - incrementally added codec methods to the I2S program - the...
by Mike Teachman
Sun Feb 06, 2022 12:06 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

That sounds great! I'd be very interested how you are wiring and clocking the Teensy Audio board. For wiring : There really is no wiring. The Teensy Audio board plugs onto the Teensy (or visa-versa). The MicroPython I2S class uses the signals that connect these two boards. For clocking : The Teensy...
by Mike Teachman
Sat Feb 05, 2022 4:56 pm
Forum: Raspberry Pi microcontroller boards
Topic: Pico audio DAC
Replies: 8
Views: 93895

Re: Pico audio DAC

The PCM5102 device includes a MCK signal input (called SCK on the device and breakout board). This input is not supported in Micropython or Circuitpython. But, but if you ground the SCK pin at the breakout board, the PCM5102 device board will work with both Micropython and Circuitpython. Here are de...
by Mike Teachman
Wed Feb 02, 2022 9:31 pm
Forum: ESP32 boards
Topic: How to make callbacks and irqs more responsive
Replies: 2
Views: 2361

Re: How to make callbacks and irqs more responsive

This looks like a very fun application ! Here is one change I recommend: Eliminate the method schedule_next_chunk() and the references. Why? The I2S callback routine runs in the context of the micropython scheduler, not in a processor interrupt. This means you can allocate objects in the callback ro...
by Mike Teachman
Mon Jan 24, 2022 5:49 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

I don't have any of the eval boards. I developed the mimxrt I2S feature using the Teensy 4.1
by Mike Teachman
Mon Jan 24, 2022 5:23 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443425

Re: Teensy 4.0 & 4.1

I just discovered that there are two versions of the MIMXRT1060-EVK board, called MIMXRT1060-EVK, MIMXRT1060-EVK B . The "B" version includes the audio connector that carries the I2S signals from the processor. On the "B" version, the 4 Arduino connectors are identified as J16, J17, J32, and J33. Th...