Search found 100 matches

by Mike Teachman
Tue Aug 04, 2020 2:41 pm
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 3871

Re: ESP32 reliability

Have you ruled out a voltage dip as the cause? Consider: The resets you observe also fit the pattern of a voltage dip that brings a processor's VCC, flash memory, or SRAM to below spec, leading to a reset. The poor wifi environment in your test may cause the ESP32 to lose the wifi connection, follow...
by Mike Teachman
Sat Jun 13, 2020 6:24 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 3973

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

How would I go about adding the modxpt2046.c touch driver? BTW the fix for the incorrect colors was to comment out... For the touch driver: sorry, I do not have any experience with this feature. I have only used LVGL to display graphics. The MicroPython category at the LVGL forum might have some id...
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: 1006

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

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

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

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

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

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

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

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