Search found 11 matches

by fodgeri
Fri Sep 13, 2019 10:05 am
Forum: ESP-IDF
Topic: https ota update with client certification and two way ssl auth
Replies: 0
Views: 2498

https ota update with client certification and two way ssl auth

Hi, I've an nginx webserver with two way ssl authentication enabled for ota updates. So there is a root (ca) certificate + intermediate certificate and from the intermediate I've created a server cert for the nginx webserver and a client cert for the esp32 device. If I test the connection to the ser...
by fodgeri
Thu May 16, 2019 6:30 pm
Forum: ESP IoT Solution
Topic: ESP-Azure: tlsio_esp_tls_send_async without a prior successful open error
Replies: 1
Views: 4839

ESP-Azure: tlsio_esp_tls_send_async without a prior successful open error

Hi! I have a problem to maintain a stable connection to the Azure IoT Hub with the esp-azure sdk. I would like to upload the data from a queue to the hub continuously but the connection fails after 1 or 2 hours and the esp could not reconnect. This is the error message I get: IoTHubClient_LL_SendEve...
by fodgeri
Tue Apr 30, 2019 3:47 pm
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

Re: ESP32 UART1 problem

We made a new test scenario using the UART2 with GPOI17 (TX) and GPIO016(RX) and there was no restart on the connected ESP32 anymore.
Thank you for your suggestion it seams the problem has been solved.
by fodgeri
Tue Apr 30, 2019 12:58 pm
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

Re: ESP32 UART1 problem

Are you sure you can use GPIO10, GPIO9 ?? Usually it is reserved for flash chip. If I'm not mistaken UART0 GPIOs are GPIO1(TX) and GPIO3(RX). And UART0 is the default for flash chip. Uart0 is the default for the usb-uart but gpio 6-10 are used for spi0 port which is connected to the flash chip on w...
by fodgeri
Tue Apr 30, 2019 11:45 am
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

Re: ESP32 UART1 problem

Sorry
by fodgeri
Tue Apr 30, 2019 11:34 am
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

Re: ESP32 UART1 problem

WiFive wrote:
Tue Apr 30, 2019 10:44 am
Are you sure you can use GPIO10, GPIO9 ?? Usually it is reserved for flash chip.
If I'm not mistaken UART0 GPIOs are GPIO1(TX) and GPIO3(RX). And UART0 is the default for flash chip.
by fodgeri
Tue Apr 30, 2019 11:22 am
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

Re: ESP32 UART1 problem

HI

I'm sending a simply schema of our developer board in the attached file.
There is a small mistake at voltage regulator name which is not a 78xx series as you can see in the circuit. We have AMS1171 3.3V voltage regulator in our developer board.

Thank you for your help.

Br,

Gary
by fodgeri
Tue Apr 30, 2019 7:19 am
Forum: Hardware
Topic: ESP32 UART1 problem
Replies: 11
Views: 18580

ESP32 UART1 problem

HI We have a restarting problem having pushed the restart button on our developer board. This board equipped with AMS1117 voltage regulator with the requested capacitors and UART0 has an external pin set for FTDI232 USB board. Also there are two ESP32s on the board connected to GPIO10, GPIO9 crossed...
by fodgeri
Tue Apr 30, 2019 6:35 am
Forum: ESP-IDF
Topic: Connecting two ESP32s via I2C
Replies: 2
Views: 5822

Re: Connecting two ESP32s via I2C

Thank you for your quick reply! We did everything like in examples. Connected the rx/tx pins on the devices, initialize the UART1 ports, and we monitored the UART0. This is the initialization: void init() { const uart_config_t uart_config = { .baud_rate = 115200, .data_bits = UART_DATA_8_BITS, .pari...
by fodgeri
Mon Apr 29, 2019 7:58 pm
Forum: ESP-IDF
Topic: Connecting two ESP32s via I2C
Replies: 2
Views: 5822

Connecting two ESP32s via I2C

Hello, Is there any solution to connect two or more esp32s via cable on i2c protocol? Unfortunately, the UART connection did not work for us because it was really unreliable e.g: when we restarted one esp device it caused a restart on the second device too. Are the any other solutions (except I ment...