Search found 13 matches

by vishal.borle
Tue Jun 07, 2022 4:41 am
Forum: ESP-IDF
Topic: ESP32-S3 BLE data transmission to mobile app in IDF
Replies: 0
Views: 653

ESP32-S3 BLE data transmission to mobile app in IDF

Dear All,

We are trying to send data to mobile but facing below problems:

1. I am using Gatt_Server_service_table for transmisting data to mobile app. but confued how to do.
2. We need send large mount of data please suggest proper eample which example need to use.
by vishal.borle
Wed Sep 08, 2021 3:33 am
Forum: ESP32 Arduino
Topic: Unable to use RX and TX pin as INPUT after UART2 using
Replies: 2
Views: 3428

Re: Unable to use RX and TX pin as INPUT after UART2 using

Thanks for your response....

We have fixed this problem by adding one line code after Serial2.end();

gpio_matrix_out(TX2_PIN, SIG_GPIO_OUT_IDX, false, false); // Workaround for use RX and TX pin as input after disabled Serial2

Now it working..
by vishal.borle
Tue Aug 24, 2021 4:32 am
Forum: ESP32 Arduino
Topic: Unable to use RX and TX pin as INPUT after UART2 using
Replies: 2
Views: 3428

Unable to use RX and TX pin as INPUT after UART2 using

Hello to all, We are not able to use RX and TX pin as INPUT after when we used UART2 means Serial2 begin. In brief my program code flow as below: #define RX2_PIN 25 #define TX2_PIN 26 Serial2.begin(MODBUS_BAUDRATE, SERIAL_8N1, RX2_PIN, TX2_PIN); // read data from Serial2 // once completed Serial2.fl...
by vishal.borle
Thu Aug 19, 2021 3:33 am
Forum: ESP32 Arduino
Topic: ESP32 Serial2 Uart TX pin problem
Replies: 1
Views: 2562

ESP32 Serial2 Uart TX pin problem

Hello to all, #define RX2_PIN 25 #define TX2_PIN 26 I have declair Serial2.begin(9600, SERIAL_8N1, RX2_PIN, TX2_PIN); and need to disable UART 2. For this used Serial2.end(); After that but TX2_PIN not working as input. Is any configuration need to be done when disabled UART2 for working RX and TX p...
by vishal.borle
Mon Apr 26, 2021 3:56 pm
Forum: ESP-IDF
Topic: Brownout Detection Interrupt
Replies: 8
Views: 28923

Re: Brownout Detection Interrupt

I want to do same If power failing detect BOD and store one value in flash. How I can do it this possinle using NVS.

I am tring but still not able to store value when BOD happen.
by vishal.borle
Mon Apr 26, 2021 3:33 pm
Forum: ESP32 Arduino
Topic: BOD detection
Replies: 4
Views: 4821

Re: BOD detection

Can you please suggest BOD example and how to store some value in nvs.
by vishal.borle
Thu Sep 10, 2020 1:53 pm
Forum: General Discussion
Topic: Getting Wrong Magic Byte for OTA ESP32
Replies: 0
Views: 1936

Getting Wrong Magic Byte for OTA ESP32

Hello to all, I am trying to update ESP32 OTA using SIM800C module. I am using below API's: [Update.begin(total_file_size); if (Update.write((uint8_t*)json_buff, data_size) != data_size) { Update.printError(Serial); }] If writing completed then call: [Codebox=c file=Untitled.c][if (total_file_size =...
by vishal.borle
Wed May 20, 2020 12:21 pm
Forum: ESP-IDF
Topic: Problem with converting arduino SPI into IDF
Replies: 12
Views: 9929

Re: Problem with converting arduino SPI into IDF

Thanks for your suggestions.
Now we are able to read version data from ADE chip by changing VSPI to HSPI then communication done.
But problem for transmitting data to ADE chip address and value.
How I know whether data successfully transmitted as per send address. IS there is any way to check that?
by vishal.borle
Sat May 16, 2020 7:16 am
Forum: ESP-IDF
Topic: Problem with converting arduino SPI into IDF
Replies: 12
Views: 9929

Re: Problem with converting arduino SPI into IDF

Can you please give me ans of few questions: I am trying to read version of ADE9000 chip for SPI communication with below code uint32_t ade_get_version(spi_device_handle_t spi) { uint16_t Address = 0x000004FE; //Address of read ADE version 16 bit address uint16_t temp_address; uint32_t returnData; /...
by vishal.borle
Fri May 15, 2020 7:37 am
Forum: ESP-IDF
Topic: Problem with converting arduino SPI into IDF
Replies: 12
Views: 9929

Re: Problem with converting arduino SPI into IDF

I am getting strange for next What should I do now, We need to find solution as soon as possible. My other confusion is it neccessary to send dummy byte to read bytes from slave. I am send 16 bit address to read interface ADE chip version. Here is below code: [void ade_cmd(spi_device_handle_t spi, c...