Search found 357 matches

by zliudr
Sun Aug 14, 2022 5:06 am
Forum: General Discussion
Topic: What kind of reset was this?
Replies: 1
Views: 1809

What kind of reset was this?

I connected a sensor to my esp32 board running micropython firmware and it rebooted. I am suspecting the sensor may draw a large current and caused the board to reboot but I really don't know. I have a USB power meter and it goes to over 100mA at times when I have the sensor on a USB UART adapter. e...
by zliudr
Thu Aug 11, 2022 6:05 am
Forum: ESP-IDF
Topic: factory reset button not working
Replies: 7
Views: 4322

Re: factory reset button not working

Thanks. Yes I have clear OTA selected. I also elected to erase nvs partition so the device's stored credentials should be erased in the event of factory reset (running factory partition). Unfortunately nothing happens. I had bootloader at Info level. Not erasing stuff or running factory partition. I...
by zliudr
Mon Aug 08, 2022 4:42 pm
Forum: ESP-IDF
Topic: factory reset button not working
Replies: 7
Views: 4322

Re: factory reset button not working

It's been two years and this feature is still not working on my system. I've upgraded to IDF V4.3 and just started experimenting with this factory reset again. I tried a couple of different pins, 18 and 19. Neither worked. Does anyone have successful implementation of the factory reset feature? The ...
by zliudr
Mon Mar 28, 2022 5:23 pm
Forum: General Discussion
Topic: Does ESP32 Ethernet interface use pins conflicting with PSRAM?
Replies: 2
Views: 2064

Re: Does ESP32 Ethernet interface use pins conflicting with PSRAM?

I've seen other ESP32 pins marked as EMAC pins but this reference doesn't mention them, including pin1 that is used for programming. Does it mean this list is the minimal required pins?
by zliudr
Mon Mar 28, 2022 5:07 pm
Forum: General Discussion
Topic: Does ESP32 Ethernet interface use pins conflicting with PSRAM?
Replies: 2
Views: 2064

Does ESP32 Ethernet interface use pins conflicting with PSRAM?

I'm exploring adding Ethernet to my ESP32 board and came across this reference: https://techoverflow.net/2021/07/25/esp32-ethernet-rmii-pin-reference/ It claims GPIO16 and 17 are part of the interface pins. But IIRC, these two pins are used as CS pins for PSRAM. Does this mean I can't use PSRAM if I...
by zliudr
Mon Mar 28, 2022 5:04 pm
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 6299

Re: UART high speed question 4MHz

Sorry I didn't see this. I was just using ESP32 arduino so the uart library is just the Serial1 code. There's no complicated library to use it.
by zliudr
Tue Mar 01, 2022 3:39 am
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 6299

Re: UART high speed question 4MHz

Are we talking about the same thing? ESP32 dev board talking to a host PC/RPI via USB is going through the CP2102 chip, which has a max baud rate of 921600 so if you go near or beyond this rate on ESP32, the CP2102 chip will not be able to carry that UART traffic to your host PC/RPI! RPI's internal ...
by zliudr
Sun Feb 13, 2022 6:04 am
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 6299

Re: UART high speed question 4MHz

Well, I gave this a test. I can confirm that 4MBaud works under Arduino IDE, Teensy to ESP32. I used IO4 for ESP32 RX. I didn't test TX since I was just holding a jumper wire to connect the boards. I wonder if the default set up uses DMA transfer. That would be sweet! Should I declare a static array...
by zliudr
Sat Feb 12, 2022 4:42 am
Forum: General Discussion
Topic: UART high speed question 4MHz
Replies: 7
Views: 6299

UART high speed question 4MHz

I'm considering interfacing ESP32 with Teensy that can do very fast UART. I read from hardware reference that ESP32 can do 5MHz UART. I didn't find any reference that requires the pins to be specific for this speed though. So am I correct to assume that the UART hardware can be attached to any pins ...
by zliudr
Sat Feb 12, 2022 4:36 am
Forum: General Discussion
Topic: UART hardware buffer setting question
Replies: 0
Views: 1195

UART hardware buffer setting question

I'm trying to configure my ESP32 so that its UART1 would have the largest possible RX buffer. UART0 will be kept at minimal while UART2 will not be used. I read the technical ref manual that the buffer is shared among three UART hardware's TX and RX: ESP32 UART hardware buffer default allocation.png...