Search found 143 matches
- Mon Feb 07, 2022 7:05 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
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...
- Sun Feb 06, 2022 6:46 am
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
- I wondered if some init() config needs to be done related to CHIP_I2S_CTRL? (maybe it is and I missed it) I thought it might be more efficient to create variables instead of reading registers to create bit masks for some of the more common registers such as adc_dac_ctrl. I truncated some of the i...
- Sun Feb 06, 2022 1:25 am
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
Would I like to use your driver? A huge YES ! I was just about to start writing a MicroPython driver for the SGTL5000 device. With your driver I can test the mimxrt I2S class with the Teensy audio shield. If it works, I can share my Teensy micropython binary and you can test at your end. I created ...
- Sat Feb 05, 2022 9:51 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
That sounds great! I'd be very interested how you are wiring and clocking the Teensy Audio board. I went ahead and wrote a MicroPython driver to configure the SGTL5000. It implements all the commands and is well commented (about 1100 lines of code). I also wrote a program to dump and document all th...
- Sat Feb 05, 2022 8:29 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
I picked up a Teensy 4.0 and Teensy Audio Adapter board . The audio adapter is based on the SGTL5000. The SGTL5000 is a very powerful I2S stereo codec /amp with input, output and digital processing. I’m attempting to port some of the PRJC audio library to MicroPython and I have a few questions: Does...
- Mon Oct 25, 2021 2:51 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
Thanks, look forward to your results! Please post updates.Mike Teachman wrote: ↑Mon Oct 25, 2021 1:41 pmIf 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.
- Mon Oct 04, 2021 8:54 pm
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 455363
Re: Teensy 4.0 & 4.1
@RobH and others: Since getting PR's approved can take a while, I have bundled the actual PR into a set of binaries and placed them at https://github.com/robert-hh/Shared-Stuff. Beyond the actual official firmware includes support for Ethernet, PWM, WDT, DHT and 32 MByte heap size for the MIMXRT102...
- Wed Mar 03, 2021 9:21 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Where can we find information about the inline assembler for Pico?
- Replies: 12
- Views: 7423
Re: Where can we find information about the inline assembler for Pico?
I'm getting the following error: Traceback (most recent call last): File "<stdin>", line 1, in <module> SyntaxError: invalid micropython decorator I'm using MicroPython v1.14-83-g680ce4532 on 2021-03-03; Espruino Pico with STM32F401CD My code: @micropython.asm_thumb def inv_int(r0): neg(r0,r0) Sorry...
- Mon Nov 30, 2020 5:39 am
- Forum: Development of MicroPython
- Topic: Tensorflow and about contributing
- Replies: 18
- Views: 13796
Re: Tensorflow and about contributing
MAixBiT with K210 MCU, using Lobo MicroPython firmware or MaixPy, is really fast. With MaixPy there are neural network frameworks to use : https://maixpy.sipeed.com/en/ https://maixpy.sipeed.com/en/libs/Maix/kpu.html The MAix BiT looks like a great choice. It's inexpensive, has a built-in microphon...
- Sun Nov 29, 2020 6:59 pm
- Forum: Development of MicroPython
- Topic: Tensorflow and about contributing
- Replies: 18
- Views: 13796
Re: Tensorflow and about contributing
AI might be overkill for tone detection. Have you investigated the Goertzel algorithm? I have a MicroPython implementation if that's of any interest. I'd definitely like to see your MicroPython implementation, thanks! I'm not sure it will work because I want to create a smart lock that can open bas...