Search found 91 matches

by RobH
Wed Sep 22, 2021 2:08 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

@Roberthh: the performance boost would be a impressive jump. Just tried it on my Teensy 4.0 and noriced just over 7200 pystones, which is more than twice the value of the current firmware (1.17-68 performs a little over 3500 pystones). I would be interested to hear an explanation (understandable for...
by RobH
Wed Sep 08, 2021 6:01 pm
Forum: ESP32 boards
Topic: ST7735 faster library
Replies: 10
Views: 9234

Re: ST7735 faster library

@mmx64: have a look at:

Code: Select all

https://github.com/russhughes/st7789_mpy
Works nicely with me on different MP boards, incl Teensy40.
by RobH
Tue Aug 10, 2021 5:48 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

@Roberthh: Thanks for reporting! Nice to have some comparison material!
I continued running the pystone program on newer firmware versions. The fastest I found was 1.16-98: 3810. Since then it went gradually down to about 3250 for 1.16-194. There seems no relation with the code size: it hardly grew.
by RobH
Thu Jul 15, 2021 7:02 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

Tried your mod of machine_i2c.c. The init(freq=...) is now accepted. It looks like 'freq' (and 'drive') can be changed, but at least frequency does not really (and no warning): MicroPython v1.16-92-g98c570302-dirty on 2021-07-15; Teensy 4.0 with MIMXRT1062DVJ6A Type "help()" for more information. >>...
by RobH
Thu Jul 15, 2021 6:16 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

Thanks for the explanation! I suppose there is (/was) a good reason for this design, but without this knowledge the docs should be a little clearer about differences and/or exceptions.
BTW I don't need to change freq in my project, I just noticed my issues with init() during experimenting...
by RobH
Thu Jul 15, 2021 3:03 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

I noticed the addition of hardware I2C, great! I did some elementary tests with a board which uses 2 I2C interfaces (with a.o. tcs34725 and tsl2591). All works fine! However I noticed an issue with I2C.init(). A change of freq (what else could be changed with hardware-I2C?) shows: MicroPython v1.16-...
by RobH
Sun Jun 27, 2021 6:04 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

The ST7789 TFT display works fine and much faster with the new hardware SPI!
I'm looking forward to support VfsFat to be able to drive an SD card! ;-)
by RobH
Thu Jun 24, 2021 12:22 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

I've run Peter's script and see generally comparable figures with yours, but also some significant(?) differences. Below 2 runs, the second with a one of my 'fast' firmware versions (4200 pystones) Pi test is always around 3.5 with me, even with the fast firmware Add test native is mostly 0.9, but I...
by RobH
Wed Jun 23, 2021 3:20 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

Did several more builds from 1.15-177 up to 1.16-13. All give about 2620 pystones/second and all hex files are 728.9 KB. Also 1.15-182 and -183 were not exception: identical result. I'm beginning to doubt if I followed the proper procedure. Before a new build I (only) issue a "git reset <7-digit-cod...
by RobH
Wed Jun 23, 2021 9:57 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 455127

Re: Teensy 4.0 & 4.1

@Roberthh Good that you found a significant speed drop from version 1.15-182 to v1.15-183.
Still some (but not all) later versions like my 1.15-216 perform at 4248 pystones/second as my entry of June 21 shows. There must be an explanation for the differences.....