Search found 155 matches

by Mike Teachman
Wed May 20, 2020 10:34 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 18607

Re: LVGL and SD Card won't share SPI bus

Well, at least it changed. Perhaps some other customization is needed to see correct colors? I looked at my commits and there is a color related change in the config file lv_conf.h (change color depth to 16 from 32). I can not recall why I made this change, but maybe compare against your setting? Go...
by Mike Teachman
Wed May 20, 2020 9:01 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 18607

Re: LVGL and SD Card won't share SPI bus

I tried out your posted code and unfortunately I don't see the striped button. Capture (Phone) (Custom).PNG One suggestion is to try setting the background color of the button to see if it changes. Here is a screenshot from my display and the code I added to your example to set the background color ...
by Mike Teachman
Sat May 16, 2020 12:20 am
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 18607

Re: LVGL and SD Card won't share SPI bus

Are you using the Python or C based ILI9341 display driver? If you use the C driver I found a work around ... I faced the same problem and found a workaround by modifying the C based ILI9341 display driver, as follows: - change the SPI bus config to full duplex here are the code changes custom lvgl ...
by Mike Teachman
Mon May 04, 2020 4:59 am
Forum: ESP32 boards
Topic: i2s compatibility
Replies: 29
Views: 24497

Re: i2s compatibility

zaord wrote:
Tue Apr 28, 2020 4:41 pm
Do you think is a question of weeks, months or year ? ;)
My ambition is to have the I2S PR updated to include the pyboard v1.1 and pyboard-D in 2-3 months.

How do you want to use I2S on the pyboards? e.g. audio out to an amplifier? or, audio in with a microphone?
by Mike Teachman
Tue Apr 28, 2020 3:37 pm
Forum: ESP32 boards
Topic: i2s compatibility
Replies: 29
Views: 24497

Re: i2s compatibility

Hi, Is it possible to use I2S with stm32 ports board luike Pyboard ? At the moment, I2S is supported only for the ESP32, using this PR: https://github.com/micropython/micropython/pull/4471 these docs describe how to use the PR https://github.com/miketeachman/micropython-esp32-i2s-examples Work has ...
by Mike Teachman
Fri Jan 31, 2020 4:28 pm
Forum: ESP32 boards
Topic: i2s compatibility
Replies: 29
Views: 24497

Re: i2s compatibility

Hi, Are you using the MicroPython interface for ESP-ADF? https://github.com/espressif/esp-adf/tree/master/micropython_adf This MicroPython work by Espressif is new to me. The commit history in github for this work starts in October 2019. Quite recent activity. Option 2: you can use the I2S pull requ...
by Mike Teachman
Fri Jan 31, 2020 3:33 am
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 16025

Re: MicroPython Startup Time

You might improve @pythoncoder's suggestion by putting the first dog feeding into boot.py. I tried this test with a non-psram ESP32 and unfortunately it doesn't make much of an impact. Only a 30ms improvement by moving the first watchdog feed to boot.py. but, it's something ! yellow=reset green=GPI...
by Mike Teachman
Sun Jan 26, 2020 3:49 pm
Forum: ESP32 boards
Topic: i2s compatibility
Replies: 29
Views: 24497

Re: i2s compatibility

Hi, This I2S class does not yet exist on any hardware platform. The page you listed is a proposal for a MicroPython I2S API. About a year ago I implemented the simplex, buffer-oriented part of this proposal, for the ESP32 platform. The stream part was started by @blmorris for the Pyboard in 2015 but...
by Mike Teachman
Sat Jan 25, 2020 10:11 pm
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 16025

Re: MicroPython Startup Time

Would it help to have a separate main.py and app.py (maybe both frozen) with main.py being (pseudocode): Yes. That approach (main.mpy + app.mpy, both frozen) shows a faster startup compared to a single frozen main.mpy -- startup time went from 660ms to 584ms (ESP32 no psram) and from 1.80s to 1.70s...
by Mike Teachman
Fri Jan 24, 2020 6:06 am
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 16025

Re: MicroPython Startup Time

I ran some more startup time benchmarking tests with two ESP32 dev boards: Lolin D32 (non-psram) Lolin D32 Pro (4MB psram) startup time = rising edge of reset to rising edge of GPIO pin MicroPython program is 798 LOC Lolin D32: main.py in filesystem: 2.85s main.mpy in filesystem (not frozen): 1.31s ...