Comments (2)
Currently, the true datarate is based internally on the precision of micros()
, and reported by baudRate()
. IIRC the switch from CPU cycles to micros() was done to mitigate CPU frequency scaling issues that get introduced by concurrent use of the WiFi stack. This was, to be honest, not completely tested, but the basic assumption is a lesson learned from the implementation of the current ESP8266 SW PWM generator.
I will experiment with returning to CPU cycles, as a preprocessing option. But I cannot commit to any due day. In the meantime.
As for 115200bps on anything other than ESP8266, I think it never predictably worked at that high bitrate.
from espsoftwareserial.
See issue #260 . So, while reverting to CPU cycles provides higher bitrates at useable error rate on the basic ESP32, it was seen as non-viable on the later ESP32 variants mentioned in the PR. I will analyse a compromise solution, but it will take time.
I am not a fan of nagging open issues in this project, that I am aware of, and may/may not get fixed at an unspecified date in the future, therefore I'm closing the issue.
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.