Search found 147 matches

by liudr
Mon Jul 30, 2018 6:23 pm
Forum: ESP32 boards
Topic: SDcard in SPI mode using Loboris port?
Replies: 23
Views: 4960

Re: SDcard in SPI mode using Loboris port?

con3 wrote:
Mon Jul 30, 2018 11:20 am
hi liudr,

Glad you got it sorted!

Can't you change the speed on the SPI lines by changing the SPI baud rate to fit your required speed?
Not sure where that SPI speed setting is. I could have if I knew a bit more about how they created the whole MicroPython ecosystem.
by liudr
Mon Jul 30, 2018 5:12 am
Forum: ESP32 boards
Topic: SDcard in SPI mode using Loboris port?
Replies: 23
Views: 4960

Re: SDcard in SPI mode using Loboris port?

Thanks con3. I read that thread and tried internal pullup resistors (I already have external pullups) and that didn't work. So I started my own thread on lobo forum and worked out the problem to be the latest lobo firmware has a higher SPI speed than my board can take. I fell back to an earlier vers...
by liudr
Sun Jul 29, 2018 12:26 am
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 836

Re: Trying usocket on WROOM module

Great! Thanks to both! I'll read the urequests first. My connect request is simple, just an HTTP GET request. Server response is super simple. If I can get that done using urequests as a starting point, I'll be good.
by liudr
Sat Jul 28, 2018 5:24 pm
Forum: ESP32 boards
Topic: SDcard in SPI mode using Loboris port?
Replies: 23
Views: 4960

Re: SDcard in SPI mode using Loboris port?

I hope OP found how to run the SD card by now. It's both funny and sad that I am running into the same problem now with my own prototype. In hoping to test the sd card, I had to use the dev board in the photo I posted on this thread (couldn't remember how I wired it without this photo). Took me a wh...
by liudr
Sat Jul 28, 2018 4:58 am
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 836

Re: Trying usocket on WROOM module

Thanks for responding. I used sock.connect(sockaddr) instead of sockaddr[0][-1]. I thought that was the right syntax. The ESP32 port is essentially missing official documentation. All I found was wipy port documentation that told me that. >>> sockaddr=usocket.getaddrinfo('www.micropython.org',80) >>...
by liudr
Fri Jul 27, 2018 4:24 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 836

Re: Trying usocket on WROOM module

I started tracking memory usage and thought memory shouldn't be a problem. There is 100K left before I attempted to connect socket but the module still restarts with this error: >>> gc.mem_free() 103168 >>> sock.connect(sockaddr) Guru Meditation Error: Core 0 panic'ed (LoadProhibited) . Exception wa...
by liudr
Fri Jul 27, 2018 4:03 pm
Forum: ESP32 boards
Topic: Set sd card mode and pins in official firmware
Replies: 2
Views: 710

Set sd card mode and pins in official firmware

I am confused. I started with official firmware and quickly switched to loboris firmware. I can set sd card mode (SPI) and pins at will with this: uos.sdconfig(uos.SDMODE_SPI, clk=5, mosi=18, miso=19, cs=15) This MUST have been loboris firmware because I couldn't find this method under uos in the of...
by liudr
Wed Jul 25, 2018 9:24 pm
Forum: ESP32 boards
Topic: Trying usocket on WROOM module
Replies: 6
Views: 836

Trying usocket on WROOM module

I am trying to get a bit of networking using usocket on WROOM but maybe there wasn't enough memory. I have the standard firmware: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock d...
by liudr
Thu Jul 12, 2018 7:24 pm
Forum: ESP32 boards
Topic: Pin questions
Replies: 1
Views: 446

Pin questions

I am trying to understand pin functions and mapping of ESP32 and need some help. have the following questions: 1. GPIO 37 and 38 or sensor_capp and sensor_capn. These pins are not on the WROVER module's breakout pads. They are probably under the metal cap and have the 270pF caps on them as indicated...
by liudr
Tue Jul 10, 2018 6:00 pm
Forum: ESP32 boards
Topic: Waking processor with external RTC
Replies: 2
Views: 461

Re: Waking processor with external RTC

Thank you Loboris! I happened to have picked GPIO4. After reading the doc you provided, and the list of pins you provided, I now understand that all of these pins belong to VRTC group that can wake the CPU. I would probably have come to the same conclusion with a lot more time and frustration withou...