Search found 9 matches
- Thu Apr 21, 2022 1:21 am
- Forum: ESP32 boards
- Topic: Binary data over USB
- Replies: 0
- Views: 9743
Binary data over USB
On esp32 S2/S3, USB is used by default for repl. I can change default repl to UART0: ESP_CONSOLE_UART_DEFAULT=y CONFIG_USB_ENABLED=n Now that I have an open USB available, is it possible to configure a usb stream object for stream like machine.UART? I'm looking for: from micropython import USB_CDC u...
- Wed Apr 06, 2022 8:42 pm
- Forum: ESP32 boards
- Topic: S3 Pin IRQ interrupt handler
- Replies: 3
- Views: 1582
Re: S3 Pin IRQ interrupt handler
Following up on my own issue https://github.com/micropython/micropython/issues/8488 The issue first appears on this commit: 3570785 esp32: Pin MicroPython to core 1 again. Previous commits work correctly on S3. That may explain different in S2/S3 as they have single/dual cores respectively. I don't ...
- Tue Apr 05, 2022 3:08 pm
- Forum: ESP32 boards
- Topic: S3 Pin IRQ interrupt handler
- Replies: 3
- Views: 1582
Re: S3 Pin IRQ interrupt handler
Confirming that pin.irq is working on UM ProS3 firmware, but not master. This gives me a bunch of clues to track this one down. I'll see if I can narrow it down to the specific commit where the functionality changed. Thank you so much for giving it a go and for the additional information. I'll do my...
- Tue Apr 05, 2022 2:03 am
- Forum: ESP32 boards
- Topic: S3 Pin IRQ interrupt handler
- Replies: 3
- Views: 1582
S3 Pin IRQ interrupt handler
Having an interesting issue, I'm wondering if it's just me or if anyone out there with an S3 can reproduce. I've created an issue report for it: https://github.com/micropython/micropython/issues/8488 Brief, in S2 (and previous versions), I have no problem with pin irqs. Now that I'm working through ...
- Mon Jan 10, 2022 4:27 pm
- Forum: ESP32 boards
- Topic: ESP32 RTC with external crystal
- Replies: 2
- Views: 6247
Re: ESP32 RTC with external crystal
Also looking at this. On S3, you have the XTAL_32k_P and XTAL_32k_N pins. I would imagine you need to set ESP32_RTC_CLK_SRC_EXT_OSC=y in the board/sdkconfig file. CONFIG_ESP32_RTC_CLK_SRC docs: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-esp32-rtc-cl...
- Mon Jan 10, 2022 4:16 pm
- Forum: ESP32 boards
- Topic: esp32 s3 deepsleep issue
- Replies: 0
- Views: 10049
esp32 s3 deepsleep issue
Migrating to S3, one curious issue is I'm not able to wake from deep sleep. Timer wake nor the ext0/ext1 modes. I have no problem with D4 or S2 versions. I'm using the UART console on S2/S3, so I do not get disconnected on deepsleep. import machine machine.deepsleep(1000) Purusing modmachine.c where...
- Mon Jan 10, 2022 4:12 pm
- Forum: ESP32 boards
- Topic: ESP32-S2 CPU speed change
- Replies: 3
- Views: 5767
Re: ESP32-S2 CPU speed change
For reference, changing speeds has impacted my BLE connections on D4. For asyncio users, always thought it could be a neat idea to throttle the clock when no tasks are scheduled and simply waiting on io.
- Tue Oct 26, 2021 9:22 pm
- Forum: General Discussion and Questions
- Topic: uasyncio StreamReader read question
- Replies: 5
- Views: 2528
uasyncio StreamReader read question
I'm likely misunderstanding this, but thought I'd post anyways. Something I'm noticing in my application, in Uasyncio StreamReader docs, I'm expecting StreamReader.read to return as many characters up to value n. https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md "read(n...
- Mon Oct 18, 2021 8:19 pm
- Forum: ESP32 boards
- Topic: The esp32-s3 module is already on sale. Will anyone follow up the migration
- Replies: 6
- Views: 3277
Re: The esp32-s3 module is already on sale. Will anyone follow up the migration
Just got my esp32-s3 samples yesterday. I fired it up and immediately noticed some differences with S2 which I've been working on. Sharing some information in case it helps others. The build process I've been using on pico-d4 and s2 didn't work the same for me. For reference I'm on master branch for...