]> sigrok.org Git - sigrok-dumps.git/blame - uart/panasonic_pan1321/README
Move DCF77 files to pollin_dcf1_module/ subdir.
[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
28 GND GND
29
30
31Successful initialization
32-------------------------
33
34The sigrok command line used was:
35
36 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
37 -p '1=TX,2=RX' -o panasonic_pan1321_init.sr
38
39The data sent (S) to the PAN1321 module and received from it (R) was:
40
41R: ROK\r\n
42S: AT+JSEC=1,1,2,04,7777\r\n
43R: OK\r\n
44S: AT+JDIS=3\r\n
45R: OK\r\n
46S: AT+JRLS=1101,11,Serial port,01,000000\r\n
47R: OK\r\n
48S: AT+JSLN=21,MyCoolBluetoothDevice\r\n
49R: OK\r\n
50S: AT+JAAC=1\r\n
51R: OK\r\n
52S: AT+JSCR\r\n
53R: OK\r\n
54
55
56Successful initialization, triggered
57------------------------------------
58
59The sigrok command line used was:
60
61 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
62 -p '1=TX,2=RX' --wait-trigger --triggers 2=1 \
63 -o panasonic_pan1321_init_triggered.sr
64
65The data sent/received is the same as in the above example. The difference
66is that we triggered on the first high RX state, which might lead to
67some garbage for the first few decoded characters. This is file intended as
68a test-case for this situation.
69
70
71Invalid command, error code
72---------------------------
73
74The sigrok command line used was:
75
76 sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
77 -p '1=TX,2=RX' -o panasonic_pan1321_error.sr
78
79R: ROK\r\n
80S: AT+JSEC=1,1,2,04,7777\r\n
81R: OK\r\n
82S: AT+JDIS=9\r\n
83R: ERR=-1\r\n
84
85As 9 is an invalid value for the "AT+JDIS=" command, the device returns
86an error code.
87