Search found 16 matches

by blavoie
Thu Sep 14, 2017 4:16 pm
Forum: General Discussion
Topic: ESP32 devkit esp-idf UART1 examle not working
Replies: 10
Views: 24800

Re: ESP32 devkit esp-idf UART1 examle not working

I see a couple of differences between your init code and mine. I'm actually calling the pins by name. //Set UART pins uart_set_pin(uart_num, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS); I'm actually using a message queue, which won't affect what you're doing. //Install UART driver, a...
by blavoie
Sat May 13, 2017 10:23 am
Forum: ESP-IDF
Topic: unexpected pulse on GPIO pins configured as UART?
Replies: 0
Views: 2916

unexpected pulse on GPIO pins configured as UART?

I've configured UART2 to use GPIO pins 12-TX 13-RX and the UART functions seem to be working, but the performance is slower than expected. I decided to put a scope on the UART2 RX and TX pins and I noticed an expected pulse with no transactions to the UART? I'm not reading or writing anything to the...
by blavoie
Thu Apr 13, 2017 10:19 am
Forum: General Discussion
Topic: ESP32 devkit esp-idf UART1 examle not working
Replies: 10
Views: 24800

Re: ESP32 devkit esp-idf UART1 examle not working

Actually, with the board I'm using I only connected RXD and TXD and GND and it worked for me. I'm using a small board by FTDI, P/N FT230X. You can find it at Digi-key. I'm sure you've already done this, but double check to make sure that the connections are cross connected RX one side to TX on the o...
by blavoie
Sun Apr 02, 2017 1:12 am
Forum: General Discussion
Topic: App. upload UART2 how to: for ESP32 Adafruit demo board
Replies: 2
Views: 4838

Re: App. upload UART2 how to: for ESP32 Adafruit demo board

From your suggestion looks like changing the stdout to UART2 and keeping the bootloader port at UART0 is much easier. I'll try that approach and post back to this group with what I find.

thanks for your help.
by blavoie
Sat Apr 01, 2017 1:01 pm
Forum: General Discussion
Topic: App. upload UART2 how to: for ESP32 Adafruit demo board
Replies: 2
Views: 4838

App. upload UART2 how to: for ESP32 Adafruit demo board

I have an Adafruit ESP32 demo board and I would like to change the application upload UART number to UART2 while keeping the main stdout application uart to UART0 like it currently is. I found that the reset pin "J3" is connected to GPIO 0, but that's all I know at this point. I've tried looking thr...
by blavoie
Wed Mar 29, 2017 11:07 am
Forum: ESP-IDF
Topic: ESP32 nvs_get_blob() help
Replies: 2
Views: 8585

Re: ESP32 nvs_get_blob() help

Thank you very much for the help with pointing that out, I'll try what you mentioned here and post back with the results.
by blavoie
Mon Mar 27, 2017 11:43 am
Forum: ESP-IDF
Topic: ESP32 nvs_get_blob() help
Replies: 2
Views: 8585

ESP32 nvs_get_blob() help

I'm starting to work with the NVS on my product and I'm getting an error with trying to retrieve values using nvs_get_blob(), error code being returned is 0x102 ESP_ERR_INVALID_ARG. I'm just starting to use these API's so I admit I'm not familiar with using them yet, but I'm following an example tha...
by blavoie
Sat Mar 04, 2017 10:50 am
Forum: General Discussion
Topic: EFUSE to store user application data
Replies: 2
Views: 5403

EFUSE to store user application data

I'm creating an ESP32 soft AP project and I'm serving up a few webpages. I would like to add a webpage which allows a UI for network settings. I'd like to expose some of the network configurations to the user, such as SSID name and password. I'm also considering exposing the DHCP pool range and base...
by blavoie
Wed Feb 22, 2017 2:27 pm
Forum: ESP-IDF
Topic: netconn_write issue and sprintf issue esp32
Replies: 2
Views: 5613

Re: netconn_write issue and sprintf issue esp32

You're right, strlen is what should be used instead of sizeof(), cut and paste error. As many times as I looked at it, I was thinking I was seeing strlen(). Sorry to take up the bandwidth on the post.

Thank you so much for the help.
by blavoie
Tue Feb 21, 2017 9:03 pm
Forum: ESP-IDF
Topic: netconn_write issue and sprintf issue esp32
Replies: 2
Views: 5613

netconn_write issue and sprintf issue esp32

I'm working on a webserver application and I'm print out a webpage with dynamic variables and can't seem to get it to work because of various issues. In my first attempt, I tried writing out a page line by line with code that looked like this. The problem is, the text didn't render correctly on the ...