FYI, with the faster upload speeds now available in the latest (0.58) Nextion Editor, I’m always uploading at the fastest rate, 921,600 to my Nextion 2.4" basic displays.
I became curious as to what the fastest reliable serial rate was between the Nextion and MCU.
Considering my MCU is a Teensy LC, I decided to try it’s serial rates that have 0% error.
Source: https://www.pjrc.com/teensy/td_uart.html
500,000 didn’t work.
I then tried 250,000, which seems to be reliable.
I haven’t bothered to see if the 500,000 rate could be fudged on the Nextion side to compensate for any internal timing errors. Considering the Editor can talk to the Nextion @ 921,600, the MCU should be able to as well.
The operation of my project is time-sensitive, and delays of 2-4mS were created every time I wrote to the Nextion @ 115,000 mostly changing the vis of objects. So at least I’m halving these delays.
I’m going to look at increasing the Serial buffer size of my Teensy project, but this was an easy no-brainer to experiment with.
If any one experiments further with baud rate fudges on the Nextion side, please let the rest of us know.