ESP32 UART RXINT interrupt is missing

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
dvcam99
Posts: 89
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 12 times

ESP32 UART RXINT interrupt is missing

Post by dvcam99 »

Hello FC Team,

I`m missing the RXINT Interrupt function inside the ESP32 command interrupt icon.

I´ll compare this with the PIC-8 command interrupt icon. There you have a choice to select this important function.


Is a RXINT possible with the ESP32??

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 UART RXINT interrupt is missing

Post by stefan.erni »

Hi Dvcam99

Interrupt is working on my esp32. I used A3 for rx pin
and
GPIO3 for the Interrupt

regards
Stefan
IRQ_2021-01-08_18-14-34.png
IRQ_2021-01-08_18-14-34.png (13.25 KiB) Viewed 3911 times

dvcam99
Posts: 89
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 12 times

Re: ESP32 UART RXINT interrupt is missing

Post by dvcam99 »

Hi Stefan,

many thanks for the feedback.

Yes I saw this possibility too but you can trigger only at the rising or falling edge of the input.

I`m looking for example for incoming received byte trigger. Same like we have in the PIC8 section.

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: ESP32 UART RXINT interrupt is missing

Post by LeighM »

UART Rx interrupt is now done, it will be available from the auto update system sometime soon

Note that UART receive is buffered, so interrupt is not as necessary on ESP32 as other (non-RTOS) devices

dvcam99
Posts: 89
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 12 times

Re: ESP32 UART RXINT interrupt is missing

Post by dvcam99 »

Hello Leigh,

very good news!!

I`ll check it out asap it is available.

Regarding the ESP32 buffer, do you know how many bytes it can store??

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: ESP32 UART RXINT interrupt is missing

Post by LeighM »

A quick Google seems to indicate 128

dvcam99
Posts: 89
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 12 times

Re: ESP32 UART RXINT interrupt is missing

Post by dvcam99 »

...many thanks!!

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

Post Reply