]> sigrok.org Git - sigrok-dumps.git/blob - uart/hello_world/README
dd28a0f5d8305241148d378414ca1f2f36f44ea6
[sigrok-dumps.git] / uart / hello_world / README
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 The hardware sending the data is an Olimex STM32-H103 eval kit with an
9 ST STM32 (ARM Cortex-M3) microcontroller. The firmware used is based on a
10 simple libopencm3 UART example. The USART1 (USART1.TX pin) is used.
11
12 For details see:
13 http://libopencm3.org
14 http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/stm32-h103/usart_printf
15 http://olimex.com/dev/stm32-h103.html
16
17
18 Logic analyzer setup
19 --------------------
20
21 The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate
22 of 5MHz (for baud rates 921600 - 230400), 1MHz (for 115200 - 19200),
23 and 625kHz (for baud rates 9600 - 1200).
24
25 The ChronoVu LA8 probes were connected to the UART like this:
26
27   Probe       UART
28   -------------------
29   0 (green)   TX
30   GND         GND
31
32
33 Data
34 ----
35
36 The sigrok command line used was:
37
38   sigrok-cli -d 0:samplerate=<hz> --samples 8388608 -p '1=TX' -o <file>.sr
39
40 We capture as many samples as fit into the 8MByte buffer of the logic analyzer.
41