]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | Hello World UART output using various options | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a collection of example UART communication (only in one direction). | |
6 | The repeatedly transmitted data is "Hello World!\r\n", using 8n1 settings. | |
7 | ||
8 | ||
9 | Logic analyzer setup | |
10 | -------------------- | |
11 | ||
12 | The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate | |
13 | of 5MHz (for baud rates 921600 - 230400), 1MHz (for 115200 - 19200), | |
14 | and 625kHz (for baud rates 9600 - 110). | |
15 | ||
16 | The ChronoVu LA8 probes were connected to the UART like this: | |
17 | ||
18 | Probe UART | |
19 | ------------------- | |
20 | 0 (green) TX | |
21 | GND GND | |
22 | ||
23 | ||
24 | Data | |
25 | ---- | |
26 | ||
27 | The sigrok command line used was: | |
28 | ||
29 | sigrok-cli -d 0:samplerate=<hz> --samples 8388608 -p '1=TX' -o <file>.sr | |
30 | ||
31 | We capture as many samples as fit into the 8MByte buffer of the logic analyzer. | |
32 |