Page 1 of 1

ESP32 UART and an IRQ

Posted: Thu Jun 26, 2025 9:44 am
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 41 times
USB_Post1.fcfx
(11.12 KiB) Downloaded 6 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 41 times
with IRQ:
2025-06-26_10-29-30.PNG
2025-06-26_10-29-30.PNG (5.23 KiB) Viewed 41 times

Re: ESP32 UART and an IRQ

Posted: Thu Jun 26, 2025 11:03 pm
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