Wiki source code of M.2 to USB Adapter User Manual
Last modified by Edwin Chen on 2024/02/04 10:54
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="wikigeneratedid" %) | ||
2 | **Table of Contents:** | ||
3 | |||
4 | {{toc/}} | ||
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | = 1. Introduction = | ||
11 | |||
12 | |||
13 | M.2 to USB Adapter is used to fast debug the NB-ST and LoRa-ST module from Dragino. | ||
14 | |||
15 | [[image:image-20240204105341-1.png]] | ||
16 | |||
17 | |||
18 | == 1.1 Install Driver == | ||
19 | |||
20 | |||
21 | The USB TTL Chip of the adapter is CP1202. User need to install driver for CP2101 in PC first. | ||
22 | |||
23 | Reference download link: [[https:~~/~~/www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers >>https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers]] | ||
24 | |||
25 | |||
26 | == 1.2 Install NB-ST == | ||
27 | |||
28 | |||
29 | Take out LoRa ST or NB-ST from Dragino products such as NBSN95 or LSN50v2. Put the module in the M.2 to USB adapter. | ||
30 | |||
31 | |||
32 | == 1.3 Test NB-ST & AT Commands == | ||
33 | |||
34 | |||
35 | * Put the swith to (% style="color:blue" %)**RUN**(%%) position and plug in PC. | ||
36 | * Set correct baudrate in the serial tool of PC and you will be able to see output from the module and able to send AT Commands. | ||
37 | |||
38 | (% style="color:red" %)**Notice, the baudrate depends on the module firmware, please refer the specify device user manual page.** | ||
39 | |||
40 | |||
41 | == 1.4 Update firmware of NB-ST == | ||
42 | |||
43 | |||
44 | * Put the swith to (% style="color:blue" %)**ISP**(%%) position and plug in PC. | ||
45 | * Follow the [[UART update Steps>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.2UpgradeSteps]] to update the firmware. | ||
46 | |||
47 | (% style="color:red" %)**Notice: The update only support LoRaST v3.x and NB-ST module.** | ||
48 | |||
49 | |||
50 | == 1.5 Circuit for the adapter == | ||
51 | |||
52 | [[image:image-20230407172025-4.png]] | ||
53 | |||
54 |