Comments (6)
I just find that it has already updated to disable interrupt in 9600 also.
Please refer to the commit 7077979
Old version:
m_highSpeed = speed > 9600;
New version:
m_intTxEnabled = speed < 9600;
Have you try the latest version already?
from espsoftwareserial.
Anyone can help me about this?
from espsoftwareserial.
I also encountered problem in 9600bps (with GPIO 14, 13), but it works fine in 115200bps.
I'm still studying if this is related to low speed communication, since the interrupt will be disabled during transmission only if m_highSpeed (m_highSpeed = speed > 9600;). i.e. the transmission can be interrupt for 9600bps. However, disable interrupt for low speed communication may have other impact as the transmission time is relatively long.
I'm not sure if it's really related to the interrupt setting, could you please try if your problem can be solve in other speed above 9600bps?
from espsoftwareserial.
Hi,
Thank you for your advice.
So, I have test with same scenario by send out data with baud rate(14400, 19200, 28800, 38400, 56000, 57600 and 115200) every 100ms for 5 minutes, all of them work fine.
That's meaning the problem occurs only 9600bps.
I have no choice to use other baud rate due to my connection device is using 9600bps.
from espsoftwareserial.
Previously, I installed SoftwareSerial from Arduino library manager, it provided SoftwareSerial v1.0.0 and cannot be upgrade.
I have to pull latest version from this git.
Currently it's working fine more than 10 mins.
I will test over the week and give feedback to you again.
from espsoftwareserial.
Hi,
I have test over a month with my full program.
Serial communication is looking good.
Once a week, still found some problem but not sure it's related with corruption or not.
from espsoftwareserial.
Related Issues (20)
- ESP32-S3 Won't Compile in Arduino 2.2.1 HOT 6
- Hangs, when TX-PIN is using GPIO 2 HOT 1
- Polution of global namespace due to `using namespace EspSoftwareSerial;`. HOT 1
- Compile error HOT 1
- POLL command always responds 0x0b HOT 1
- fatal error: circular_queue.h: No such file or directory HOT 8
- Ghostl library not installed via PlatformIO HOT 8
- error: atomic: No such file or directory HOT 4
- Add support for ESP32 PICO series
- Can not debug an esp with this library
- Esp8266 HOT 1
- circular_queue.h: No such file or directory HOT 3
- ESP32-C3 Mini HOT 1
- Esp32 S3 HOT 1
- fatal error: EspSoftwareSerial.h: No such file or directory HOT 1
- Looking for old 2.1.0 version of this library
- espsoftwareserial
- EspSoftwareSerial 8.1.0 not working with ESP32 3.0.1
- Can't receive in one wire mode
- Increase receive and send buffer size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espsoftwareserial.