MicroPython on ESP32 with SPIRAM support

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: MicroPython on ESP32 with SPIRAM support

Post by OutoftheBOTS_ » Wed Jan 24, 2018 9:53 am

I have left to go away on business when I get back home I will lift off the metal cover of the Wrover and see which component is getting hot.

Like I said the Lolin32 pro is no longer for sale on the wemos aliexpress shop.

I did see this similar board though https://www.aliexpress.com/item/TTGO-T8 ... autifyAB=5

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

Re: MicroPython on ESP32 with SPIRAM support

Post by loboris » Wed Jan 24, 2018 10:17 am

On all boards with psRAM you must be carefull not to pull low the MTDI (GPIO12) pin.

On WROVER module the MTDI is internally pulled high, as the flash and SRAM in ESP32-WROVER only support a power
voltage of 1.8V (output by VDD_SDIO).

If you pull MTDI low at boot, the Flash chip and psRAM will be powered at 3.3V and can and probably will be damaged!

@OutoftheBOTS_
This board can be interesting as the Flash chip can be easily replaced with the 16MB one. But the power section is worse than on Lolin32 Pro, si it is not suitable for low power operation.

demoontz
Posts: 18
Joined: Wed Feb 15, 2017 12:39 pm

Re: MicroPython on ESP32 with SPIRAM support

Post by demoontz » Wed Jan 24, 2018 11:41 am

i have this module:
https://www.aliexpress.com/item/Lolin-E ... autifyAB=1

16mb onboard. all works well but have problem with display, cant run i2c. (install dirver error)
the same problem with other wroom32 module

ps: how about chat in Telegram?

cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

Re: MicroPython on ESP32 with SPIRAM support

Post by cartere » Wed Jan 24, 2018 1:52 pm

OutoftheBOTS_ wrote:
Wed Jan 24, 2018 12:02 am
my lolin32 pro board seems to have died.

When I plug it in to my computer the recognizes the CP210 but the Wrover module starts to get very hot and I can't get any coms to it.

Has anyone else had this problem??

Also the Lolin32 pro seems to have disappeared from any seller does anyone know if it has gone out of production?? maybe there was a problem with it?
I too have had the problem, seems more of a mechanical issue (maybe with the usb connector). Plug in usb cable with finger on usb to serial chip if it starts heating quickly unplug cable and reinsert, usually works fine after that YRMV.

cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

Re: MicroPython on ESP32 with SPIRAM support

Post by cartere » Wed Jan 24, 2018 5:29 pm

loboris wrote:
Wed Jan 24, 2018 9:11 am
I'm using Lolin32 Pro for a week and had no problems.
I'm always configure it to run with Flash @80 MHz in QIO mode and psRAM @ 80MHz.

I'm also using ESP32-WROVER-KIT v3 for 6 months and had no problems with the same configuration.
loboris could you direct me where you set flash and psRAM speed? Assume menuconfig but will not let me select anything but 40MHz

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

Re: MicroPython on ESP32 with SPIRAM support

Post by loboris » Wed Jan 24, 2018 7:08 pm

@cartere

→ Serial flasher config → Flash SPI speed
→ Component config → ESP32-specific → SPI RAM config → Set RAM clock speed

RAM clock speed can be set to 80 MHZ only if Flash SPI speed is set to 80 MHz.
CONFIG_SPIRAM_SPEED:
Select the speed for the SPI RAM chip.
If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:

1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz

Note: If the third mode(80Mhz+80Mhz) is enabled, the VSPI port will be occupied by the system.
Application code should never touch VSPI hardware in this case. The option to select
80MHz will only be visible if the flash SPI speed is also 80MHz. (ESPTOOLPY_FLASHFREQ_80M is true)
There is a help for each item in menuconfig, just press ? to get it.

cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

Re: MicroPython on ESP32 with SPIRAM support

Post by cartere » Wed Jan 24, 2018 7:25 pm

Thanks loboris building now...............

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: MicroPython on ESP32 with SPIRAM support

Post by OutoftheBOTS_ » Wed Jan 24, 2018 7:54 pm

@cartere

My Lolin32 pro also had the problem of sometimes when plugging the usb lead cp210 chip would get very hot and i unplugged the usb lead then reserted and it worked fine without getting hot, this happens a fair bit. Maybe there is a problem with the cp210 chip that is causing the Wrover to fail??

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: MicroPython on ESP32 with SPIRAM support

Post by OutoftheBOTS_ » Wed Jan 24, 2018 8:00 pm

@laboris
Note: If the third mode(80Mhz+80Mhz) is enabled, the VSPI port will be occupied by the system.
Application code should never touch VSPI hardware in this case. The option to select
80MHz will only be visible if the flash SPI speed is also 80MHz. (ESPTOOLPY_FLASHFREQ_80M is true)
VSPI is not normally used in application, is this correct??

It is HSPI that would normally be used in applications, is this correct??

Choosing the 80Mhz+80Mhz won't affect your fast SPI TFT module??

cartere
Posts: 25
Joined: Sat Feb 04, 2017 9:26 pm

ftp

Post by cartere » Thu Jan 25, 2018 5:12 pm

laboris trying to figure out curl, sendmail works with no issues, ftp works with your test server but not local using FileZilla. Do you have any suggestions for a server? Any setup recommendations for FileZilla server? Ftp port is open and I see a successful login but then things hang.

Post Reply