Search found 12 matches

by blackpearl21
Thu Apr 28, 2022 12:02 pm
Forum: General Discussion
Topic: How to add esp http client to ESP WHO example project ?
Replies: 0
Views: 1069

How to add esp http client to ESP WHO example project ?

Hi,
I am using ESP-EYE, i have installed ESP-WHO on system as per instruction, i tried as is example project of ESP WHO to capture image.
Now i have to add ESP Http client to esp who example project to i can notify to cloud server. i would like to know how i can add http client in this project
by blackpearl21
Tue Oct 30, 2018 11:53 am
Forum: General Discussion
Topic: Need help in interfacing DP83848 Phy controller with ESP32
Replies: 1
Views: 4163

Need help in interfacing DP83848 Phy controller with ESP32

HI, I am trying to interface ESP32 with Phy controller DP83848, i am using the Olimex reference Hardware Link there is one change in hardware, instead of using BD5230G to control OSC, i am controlling it from GPIO pin of ESP32, on Power up it is LOW for particular period. The problem is i dont get a...
by blackpearl21
Mon Jul 02, 2018 6:13 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: [Solved]UART rx ISR not working

ningappa BS wrote:hi,
am also looking for the same, am trying separate uart interrupt there am little confuse about the interrupt API's ,can u share that code.
thanks
sorry for late reply

here is the code on github
https://github.com/theElementZero/ESP32 ... nterrupt.c
by blackpearl21
Fri May 18, 2018 4:58 pm
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: UART rx ISR not working

i got the solution,

i have to use ESP_ERROR_CHECK(uart_isr_free(EX_UART_NUM)); before uart_isr_register, as install driver also initialise interrupt subroutine.

Thank for help
by blackpearl21
Sun May 06, 2018 6:35 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: UART rx ISR not working

Im not sure you can use UART0, its serial port used to debug. Like kolban said its better to use this line that way: static uart_isr_handle_t handle_console; .... ESP_ERROR_CHECK(uart_isr_register(EX_UART_NUM,uart_intr_handle, NULL, ESP_INTR_FLAG_LOWMED, &handle_console)); or you have to initialize...
by blackpearl21
Sun May 06, 2018 6:05 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: UART rx ISR not working

Just a guess, but if I am reading your code correctly, we have: uart_isr_handle_t *handle_console; ... uart_isr_register(EX_UART_NUM,uart_intr_handle, NULL, ESP_INTR_FLAG_LOWMED, handle_console) I can't help wondering if the following might not be the correct pattern: uart_isr_handle_t handle_conso...
by blackpearl21
Sun May 06, 2018 5:06 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: UART rx ISR not working

In your code snippet, I think you are saying that this call is failing: uart_isr_register(EX_UART_NUM,uart_intr_handle, NULL, ESP_INTR_FLAG_LOWMED, handle_console); In the snippet, you didn't show what the value of EX_UART_NUM was nor did we see the definition of "handle_console". Sorry for inconve...
by blackpearl21
Sun May 06, 2018 4:38 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

Re: UART rx ISR not working

I would first recommend that you rework your code to check the return codes from all the ESP32 functions and validate that they are all returning ESP_OK and, if not, what code they are returning. Thank your for reply and your time, uart_isr_register, returns ESP_FAIL, error code is 0x105 ESP_ERROR_...
by blackpearl21
Sat May 05, 2018 6:53 pm
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 33624

[Solved]UART rx ISR not working

Hi, i am trying to work with UART on esp32, using esp-idf. i modified UART event sample code so that i can register UART IRQ routine and receive data directly, below is modified code, void app_main() { esp_log_level_set(TAG, ESP_LOG_INFO); /* Configure parameters of an UART driver, * communication p...
by blackpearl21
Thu Apr 12, 2018 7:50 am
Forum: General Discussion
Topic: need help in understanding this code
Replies: 2
Views: 5057

Re: need help in understanding this code

thank you for reply
that helps