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: 1242

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: 4498

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 ...
by blackpearl21
Mon Jul 02, 2018 6:13 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 35786

Re: [Solved]UART rx ISR not working

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: 35786

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: 35786

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 ...
by blackpearl21
Sun May 06, 2018 6:05 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 35786

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 ...
by blackpearl21
Sun May 06, 2018 5:06 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 35786

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 ...
by blackpearl21
Sun May 06, 2018 4:38 am
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 35786

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 ...
by blackpearl21
Sat May 05, 2018 6:53 pm
Forum: General Discussion
Topic: [Solved]UART rx ISR not working
Replies: 16
Views: 35786

[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 ...

Go to advanced search