2025-04-01 4:51 AM - edited 2025-04-01 5:06 AM
Configuration:
Observed Issue: When receiving large data volumes (exceeding 300 bytes), occasional bit errors are occurring. To diagnose the problem, the TX signal was analyzed using an oscilloscope while repeatedly transmitting the pattern 0x55.
Oscilloscope Findings: Significant variations in bit timing were observed. The bit frequency varied from 8.173 kHz to 11.22 kHz, representing substantial deviation from the expected consistent timing for 9600 baud.
Analysis: Given that the datasheet specifies an expected error rate of only 0.1%, these timing variations are abnormal. Such significant timing inconsistencies in the transmit signal would likely cause corresponding reception errors, particularly with larger data transfers, as the timing drift accumulates.
Potential Causes:
This level of clock instability (>30% variation) would definitely cause reception errors, as UART communication relies on precise timing between transmitter and receiver. If similar variations occur on RX, they would directly contribute to the observed bit errors.
Therefore I would be grateful for any help that can help me.
Andreas