Search found 98 matches

by Mike Teachman
Wed Jun 10, 2020 1:24 am
Forum: ESP32 boards
Topic: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Replies: 2
Views: 847

Re: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Did you know that the Lobo ESP32 port has its own forum?:
https://loboris.eu/forum/

You will likely get a better response at that forum. This forum is focused on the mainline of MicroPython.
by Mike Teachman
Sat May 23, 2020 3:03 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 3512

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

Have you tried to apply you fix to ili9341.py? No. I have never used the ILI9341 micropython driver in any of my littlevgl projects. At this point I have no reason to switch to the micropython driver as the modified C driver does what I need. It's a case of "if it's not broken, don't fix it". How c...
by Mike Teachman
Sat May 23, 2020 12:20 am
Forum: ESP32 boards
Topic: i2s volume control with miketeachman's firmware
Replies: 2
Views: 1030

Re: i2s volume control with miketeachman's firmware

Hey ! Welcome to the MicroPython forum :) I can't find a way to change the volume from software. I also needed volume control for an alarm clock project I'm working on. My solution was to add a new I2S helper module to my custom build. The module is called i2stools and includes a function called shi...
by Mike Teachman
Wed May 20, 2020 10:34 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 3512

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: 22
Views: 3512

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: 22
Views: 3512

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: 9500

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: 9500

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: 9500

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: 5020

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...