ESP32 UART and an IRQ

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 1025
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

ESP32 UART and an IRQ

Post by stefan.erni »

Hi Ben

I have a small pogram to show the problem.
The uart is just working correct if I add an IRQ.
The IRQ can call an empty macro and 10 Second long
2025-06-26_10-32-50.PNG
2025-06-26_10-32-50.PNG (116.07 KiB) Viewed 35 times
USB_Post1.fcfx
(11.12 KiB) Downloaded 5 times


here the result without IRQ and with IRQ
without IRQ:
2025-06-26_10-28-00.PNG
2025-06-26_10-28-00.PNG (5.28 KiB) Viewed 35 times
with IRQ:
2025-06-26_10-29-30.PNG
2025-06-26_10-29-30.PNG (5.23 KiB) Viewed 35 times

mnfisher
Valued Contributor
Posts: 1542
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 138 times
Been thanked: 735 times

Re: ESP32 UART and an IRQ

Post by mnfisher »

Can't replicate this problem: Seems to work AOK using channel 1 or 3 with or without the interrupt.

This was on a 'clean' build - I use a new directory for every file - I wonder if you've changed any settings in menuconfig that are 'upsetting' the output (attempting to output something at a different baud rate??)

Do you have BT enabled?

Even so - having an empty timer interrupt seems an unlikely fix?

Try using the batch file from the last post of viewtopic.php?t=2966&hilit=batch+file+e ... uild+speed - this gives a 'fresh' configuration for each project - just note you need to use compile to hex and set the com port in the batch file - however I use it for all eps32 projects - it it works well...

Matin

Post Reply