Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By andre_teprom
#66431 Hi there,



I need to design a product based on the ESP8266 module,
However the Arduino compiler has native interrupt support for only TIMER and I/O .

Does someone has some tricky tip to add this feature to the Arduino IDE ?



Thanks in advance,
Andre.
User avatar
By andre_teprom
#73233 I just came accross this code, baddly doccumented, or rather, not documented:

https://github.com/muratdemirtas/ESP826 ... r/main.ino

Has someone used this one, or another functional code able to handle serial interrupts in Arduino with the ESP8266 core ?
User avatar
By btidey
#73254 The Arduino libraries already use the uart interrupts to send and receive data via FIFO buffers.

These are in uart.c in ..... Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\cores\esp8266

The low level support is then used in HardwareSerial.c to give the normal access functions.

You could use your own to replace these if there is some pressing reason to do so.

There is also pretty good documentation on the UART hardware, registers, interrupts etc in 8E-ESP8266__Interface_UART__EN_v0.2.pdf A google search will find where to get it.