-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize HardwareSerial Receive and Transmit delays (#3664)
* Minimize HardwareSerial Receive and Transmit delays * Remove uartRxFifoToQueue from esp-hal-uart.h Co-authored-by: Me No Dev <[email protected]>
- Loading branch information
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ed220bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I have a software that make serial communication with Biometric Module (not that cheap chineses modules, It's a 5000 finger template capacity module), and is working very well with 1.04 release, but when I tested with Master trunk, I start to receive some corrupt serial packets.
For example, when I'm sending 600 finger templates to module, some times I receive checksum error on response packet, but it is random, one time this happen on 130º template, other time 445º, it's very random.
So I come back to 1.04 release again, and everything come back to work without problem again.
Could you think it have something with this commit change?
Sorry for my bad english, I'm Brazilian. But I'm very experienced developer, so I'm trying to figure out, what is changed on this trunk release that make my serial not working correctly.
I cannot put steps to reproduce it because it is very specific to module communication, but if you think I can help, I'm here to supply any information.
Mainly because this trunk will be released like 1.05 some time, and I want to understand what's happening before it.
Thanks!
ed220bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little more information. I'm using 115200bps and 80Mhz CPU. I think is not a CPU speed problem because I have this exact same code running on ATMEGA2560 16Mhz and is working well.
ed220bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ale-trevizoli please open an issue if you have an issue with the current code. commenting on an old commit will not get much activity as it will generally not be seen.
ed220bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ed220bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ale-trevizoli
There is an not merged PR #3713 which probably will solve your issue