]> sigrok.org Git - sigrok-dumps.git/blame - uart/panasonic_pan1321/README
trekstor_ebr30_a: I2C chips are now known.
[sigrok-dumps.git] / uart / panasonic_pan1321 / README
CommitLineData
d9f0f1a7
UH
1-------------------------------------------------------------------------------
2Panasonic PAN1321 Bluetooth module
3-------------------------------------------------------------------------------
4
5This is an example capture of the serial (UART) init for the Panasonic
6PAN1321 Bluetooth module.
7
8The firmware sends the init commands at 115200 baud, with 8n1 settings.
9
10Details:
11https://www.panasonic.com/industrial/electronic-components/rf-modules/bluetooth/pan1311-1321.aspx
12https://www.panasonic.com/industrial/includes/pdf/Users_Manual_PAN1321_V22.xx_Rev3.1.pdf
13http://www.datasheets.org.uk/indexdl/Datasheet-098/DSA00161388.pdf
14
15
16Logic analyzer setup
17--------------------
18
19The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate
20of 500kHz.
21
22The logic analyzer probes were connected like this:
23
24 Probe PAN1321
25 -------------------
26 0 (green) TX
27 1 (orange) RX
d9f0f1a7
UH
28
29
30Successful initialization
31-------------------------
32
33The sigrok command line used was:
34
35 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
36 -p '1=TX,2=RX' -o panasonic_pan1321_init.sr
37
38The data sent (S) to the PAN1321 module and received from it (R) was:
39
40R: ROK\r\n
41S: AT+JSEC=1,1,2,04,7777\r\n
42R: OK\r\n
43S: AT+JDIS=3\r\n
44R: OK\r\n
45S: AT+JRLS=1101,11,Serial port,01,000000\r\n
46R: OK\r\n
47S: AT+JSLN=21,MyCoolBluetoothDevice\r\n
48R: OK\r\n
49S: AT+JAAC=1\r\n
50R: OK\r\n
51S: AT+JSCR\r\n
52R: OK\r\n
53
54
55Successful initialization, triggered
56------------------------------------
57
58The sigrok command line used was:
59
60 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
61 -p '1=TX,2=RX' --wait-trigger --triggers 2=1 \
62 -o panasonic_pan1321_init_triggered.sr
63
64The data sent/received is the same as in the above example. The difference
65is that we triggered on the first high RX state, which might lead to
66some garbage for the first few decoded characters. This is file intended as
67a test-case for this situation.
68
69
70Invalid command, error code
71---------------------------
72
73The sigrok command line used was:
74
75 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
76 -p '1=TX,2=RX' -o panasonic_pan1321_error.sr
77
78R: ROK\r\n
79S: AT+JSEC=1,1,2,04,7777\r\n
80R: OK\r\n
81S: AT+JDIS=9\r\n
82R: ERR=-1\r\n
83
84As 9 is an invalid value for the "AT+JDIS=" command, the device returns
85an error code.
86