summaryrefslogtreecommitdiff
path: root/uart/panasonic_pan1321
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-03 17:35:15 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-03 17:35:15 +0100
commitd9f0f1a7725fb4164668255ea9d874fce535f604 (patch)
treeb161aff85d057b2307d7787a36d1cf6760eb40ec /uart/panasonic_pan1321
parent07bbf354d15509978637906e6cb47f09b16dbbc5 (diff)
downloadsigrok-dumps-d9f0f1a7725fb4164668255ea9d874fce535f604.tar.gz
sigrok-dumps-d9f0f1a7725fb4164668255ea9d874fce535f604.zip
Add Panasonic PAN1321 Bluetooth module dumps (UART).
Diffstat (limited to 'uart/panasonic_pan1321')
-rw-r--r--uart/panasonic_pan1321/README87
-rw-r--r--uart/panasonic_pan1321/panasonic_pan1321_error.srbin0 -> 8793 bytes
-rw-r--r--uart/panasonic_pan1321/panasonic_pan1321_init.srbin0 -> 9149 bytes
-rw-r--r--uart/panasonic_pan1321/panasonic_pan1321_init_triggered.srbin0 -> 7030 bytes
4 files changed, 87 insertions, 0 deletions
diff --git a/uart/panasonic_pan1321/README b/uart/panasonic_pan1321/README
new file mode 100644
index 0000000..9338ee8
--- /dev/null
+++ b/uart/panasonic_pan1321/README
@@ -0,0 +1,87 @@
+-------------------------------------------------------------------------------
+Panasonic PAN1321 Bluetooth module
+-------------------------------------------------------------------------------
+
+This is an example capture of the serial (UART) init for the Panasonic
+PAN1321 Bluetooth module.
+
+The firmware sends the init commands at 115200 baud, with 8n1 settings.
+
+Details:
+https://www.panasonic.com/industrial/electronic-components/rf-modules/bluetooth/pan1311-1321.aspx
+https://www.panasonic.com/industrial/includes/pdf/Users_Manual_PAN1321_V22.xx_Rev3.1.pdf
+http://www.datasheets.org.uk/indexdl/Datasheet-098/DSA00161388.pdf
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used for capturing is a ChronoVu LA8 at a sample rate
+of 500kHz.
+
+The logic analyzer probes were connected like this:
+
+ Probe PAN1321
+ -------------------
+ 0 (green) TX
+ 1 (orange) RX
+ GND GND
+
+
+Successful initialization
+-------------------------
+
+The sigrok command line used was:
+
+ sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
+ -p '1=TX,2=RX' -o panasonic_pan1321_init.sr
+
+The data sent (S) to the PAN1321 module and received from it (R) was:
+
+R: ROK\r\n
+S: AT+JSEC=1,1,2,04,7777\r\n
+R: OK\r\n
+S: AT+JDIS=3\r\n
+R: OK\r\n
+S: AT+JRLS=1101,11,Serial port,01,000000\r\n
+R: OK\r\n
+S: AT+JSLN=21,MyCoolBluetoothDevice\r\n
+R: OK\r\n
+S: AT+JAAC=1\r\n
+R: OK\r\n
+S: AT+JSCR\r\n
+R: OK\r\n
+
+
+Successful initialization, triggered
+------------------------------------
+
+The sigrok command line used was:
+
+ sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
+ -p '1=TX,2=RX' --wait-trigger --triggers 2=1 \
+ -o panasonic_pan1321_init_triggered.sr
+
+The data sent/received is the same as in the above example. The difference
+is that we triggered on the first high RX state, which might lead to
+some garbage for the first few decoded characters. This is file intended as
+a test-case for this situation.
+
+
+Invalid command, error code
+---------------------------
+
+The sigrok command line used was:
+
+ sigrok-cli -d 0:samplerate=500khz --samples 8388608 \
+ -p '1=TX,2=RX' -o panasonic_pan1321_error.sr
+
+R: ROK\r\n
+S: AT+JSEC=1,1,2,04,7777\r\n
+R: OK\r\n
+S: AT+JDIS=9\r\n
+R: ERR=-1\r\n
+
+As 9 is an invalid value for the "AT+JDIS=" command, the device returns
+an error code.
+
diff --git a/uart/panasonic_pan1321/panasonic_pan1321_error.sr b/uart/panasonic_pan1321/panasonic_pan1321_error.sr
new file mode 100644
index 0000000..055642b
--- /dev/null
+++ b/uart/panasonic_pan1321/panasonic_pan1321_error.sr
Binary files differ
diff --git a/uart/panasonic_pan1321/panasonic_pan1321_init.sr b/uart/panasonic_pan1321/panasonic_pan1321_init.sr
new file mode 100644
index 0000000..7491047
--- /dev/null
+++ b/uart/panasonic_pan1321/panasonic_pan1321_init.sr
Binary files differ
diff --git a/uart/panasonic_pan1321/panasonic_pan1321_init_triggered.sr b/uart/panasonic_pan1321/panasonic_pan1321_init_triggered.sr
new file mode 100644
index 0000000..c8ecbd4
--- /dev/null
+++ b/uart/panasonic_pan1321/panasonic_pan1321_init_triggered.sr
Binary files differ