Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uart: refinement of bits and data boundaries, refactoring
Start and end of signal boundaries refined. There is no overlap in data bits annotations now. Also packets boundaries are frame boundaries, because packet transmission actually starts at start bit and ends with stop bit. New option put_sample_points added to put sample points at dedicated annotation rows with corresponding signal values, switched off by default Options reading moved from runtime to init time for performance, state machine using to control decode process. Calculations of constants in start() to avoid unnecessary overhead at runtime. Reduced amount of IDLE events by doubling of IDLE period of each frame since 3rd. Max IDLE period equals samplerate, thus IDLE events min frequency is 1 Hz. This approach decreases function calls up to 10 times at idle periods, depends on data sparsity and baudrate selected. Support of half stopbit values 0.5 and 1.5 Interrupt receiving stop bits on stop bit error and put stopbit error in annotation Put data packets to python output Put actual and expected signal at parity error to python output instead of dummy tuple
- Loading branch information