Teensy 4.0 & 4.1

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Teensy 4.0 & 4.1

Post by Roberthh » Thu Oct 14, 2021 3:08 pm

Not yet. It's on the list of planned modules.

alphaFred
Posts: 31
Joined: Wed Apr 15, 2020 6:47 pm

Re: Teensy 4.0 & 4.1

Post by alphaFred » Thu Oct 14, 2021 3:25 pm

Hi,

Not yet. But it is in our backlog.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Teensy 4.0 & 4.1

Post by Roberthh » Mon Oct 18, 2021 1:42 pm

I've prepared a simple script to upload the built MicroPython firmware (firmware.bin) to the board. It can be simply used by executing:
@loboris: Do you mind if I add this script and the related Freescale executables to the Pull Request for the ARCH MIX board?

loboris
Posts: 344
Joined: Fri Oct 02, 2015 6:19 pm

Re: Teensy 4.0 & 4.1

Post by loboris » Mon Oct 18, 2021 5:40 pm

Roberthh wrote:
Mon Oct 18, 2021 1:42 pm
@loboris: Do you mind if I add this script and the related Freescale executables to the Pull Request for the ARCH MIX board?
You can add it, of course.
The script could be improved with some more error checking and the windows version could be added, which I intend to do later this week.
The script can be used with any RT10XX board, not only ArchMix, if the method to enter the ROM bootloader is available (I think it should be available on all boards).

BTW, I've finished the FreeRTOS version of the mimxrt port which has many advantages on such a powerful microprocessor.
It works great (as far as I've tested it). I'll give some more details after some more testing...

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Teensy 4.0 & 4.1

Post by Roberthh » Mon Oct 18, 2021 6:12 pm

BTW, I've finished the FreeRTOS version of the mimxrt port which has many advantages on such a powerful microprocessor.
It works great (as far as I've tested it). I'll give some more details after some more testing...
That's indeed interesting. There is already a Zephyr port for mimxrt boards. You might have noticed it.

User avatar
Mike Teachman
Posts: 155
Joined: Mon Jun 13, 2016 3:19 pm
Location: Victoria, BC, Canada

Re: Teensy 4.0 & 4.1

Post by Mike Teachman » Mon Oct 25, 2021 1:41 pm

Roberthh wrote:
Tue Oct 05, 2021 6:14 am
I2S and SP-DIF is on our list for new modules.
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.

alphaFred
Posts: 31
Joined: Wed Apr 15, 2020 6:47 pm

Re: Teensy 4.0 & 4.1

Post by alphaFred » Mon Oct 25, 2021 2:08 pm

As far as I know no one is currently working on it. Your support is highly appreciated.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Teensy 4.0 & 4.1

Post by Roberthh » Mon Oct 25, 2021 2:31 pm

If someone is actively working on I2S for the Teensy I can offer to help them with the implementation.
That would indeed be fine. Please make use of the nxp-driver lib. Examples can be found in the NXP SDK for the respective MCU. You can download it from the NXP web site. https://www.nxp.com/design/software/dev ... presso-SDK

User avatar
rdagger
Posts: 143
Joined: Tue Feb 28, 2017 6:16 pm
Contact:

Re: Teensy 4.0 & 4.1

Post by rdagger » Mon Oct 25, 2021 2:51 pm

Mike Teachman wrote:
Mon Oct 25, 2021 1:41 pm
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.
Thanks, look forward to your results! Please post updates.

User avatar
Mike Teachman
Posts: 155
Joined: Mon Jun 13, 2016 3:19 pm
Location: Victoria, BC, Canada

Re: Teensy 4.0 & 4.1

Post by Mike Teachman » Tue Oct 26, 2021 12:04 am

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.

Post Reply