Search found 9 matches

by el_kadenaz
Thu Nov 02, 2023 8:52 am
Forum: ESP-IDF
Topic: runtime changing I2c clock frequency
Replies: 0
Views: 650

runtime changing I2c clock frequency

Hi,
I need to change the frequency of the I2C frequency in runtime, is possible do that calling only
  1. i2c_param_config()
without uninstall and reinstall the i2c driver?

Thanks
by el_kadenaz
Thu Oct 14, 2021 1:51 pm
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

Hi David, seems that I've found the issue: I was calling the esp_netif_new and esp_modem_netif_setup esp_netif_config_t cfg = ESP_NETIF_DEFAULT_PPP(); esp_netif = esp_netif_new(&cfg); assert(esp_netif); modem_netif_adapter = esp_modem_netif_setup(dte); esp_modem_netif_set_default_handlers(modem_neti...
by el_kadenaz
Thu Oct 14, 2021 10:34 am
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

What other interfaces you use? During the provisioning I need to init also the wifi in order to use the espressif provided provisioning api. This made me doubt so I did the cyclic connection/disconnection code in an already provisioned device that has the same issue but no other internet interfaces...
by el_kadenaz
Wed Oct 13, 2021 1:38 pm
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

Hi David, yes, the error seems to be the same of the linked githup report. I'm not able to share a minimal project in short time because the project I'm working on is quite big. the connection disconnection phase is managed by a state machine and my deinit logic is esp_modem_stop_ppp( dte ); esp_eve...
by el_kadenaz
Mon Oct 11, 2021 7:21 am
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

I don't understand how the modem deinit can affect the LWIP part. However, for us it would be really bad to have to do it because at that moment the user is doing the provisioning with a smartphone APP which is already slow enough, making him wait another 20/30 seconds for the modem to switch on and...
by el_kadenaz
Thu Oct 07, 2021 9:46 am
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

Sorry, I missed to write that before esp_modem_free_netif_adapter() that call the three netif function you use ( esp_modem_netif_clear_default_handlers(modem_netif_adapter); esp_modem_netif_teardown(modem_netif_adapter); esp_netif_destroy(esp_netif); ) I also call: esp_modem_stop_ppp(dte) . I don't ...
by el_kadenaz
Thu Oct 07, 2021 9:24 am
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

Re: ESP32 PPP disconnection re-connection issue

Sorry, I missed that before the esp_modem_free_netif_adapter() i call the esp_modem_stop_ppp( dte ) . the code seems to be the same except that I do not deinit the dce and dte: ESP_ERROR_CHECK_WITHOUT_ABORT(dce->deinit(dce)); ESP_ERROR_CHECK_WITHOUT_ABORT(dte->deinit(dte)); Can you reconnect to the ...
by el_kadenaz
Wed Oct 06, 2021 7:53 am
Forum: ESP-IDF
Topic: ESP32 PPP disconnection re-connection issue
Replies: 21
Views: 21771

ESP32 PPP disconnection re-connection issue

Hi in my company we developed an IOT device that use the ESP32 and a Quectel modem. The internet connection part is based on the PPP example of the idf version that we are using: the v4.3 . All works fine until a disconnection event, we are not able to perform a clean re-connection to the internet w...
by el_kadenaz
Fri May 15, 2020 7:08 am
Forum: Hardware
Topic: ESP32 DEVKITC WROVER-IB - jtag / openocd communication problems
Replies: 4
Views: 6491

Re: ESP32 DEVKITC WROVER-IB - jtag / openocd communication problems

Hi, I was experimenting the same issue...
Fixed moving th flash voltage to 3.3 according to this document:
https://www.espressif.com/sites/default ... eet_en.pdf
NOTE at page six