Version: A
Issued Date: 2020/05/30
User Guide
(
簡易使用手冊
)
產品名稱
(Product): Demo Board
for MDBT50Q-ATMS / MDBT50Q-
P
ATMS
產品型號
(Model No.):
MDBT50Q
– DB – ATMS
韌體版本
(FW Revision): 1.0
DEFAULT ROLE IS
“PERIPHERAL / SLAVE”
Страница 1: ...Version A Issued Date 2020 05 30 User Guide 簡易使用手冊 產品名稱 Product Demo Board for MDBT50Q ATMS MDBT50Q PATMS 產品型號 Model No MDBT50Q DB ATMS 韌體版本 FW Revision 1 0 DEFAULT ROLE IS PERIPHERAL SLAVE ...
Страница 2: ...Commands 16 Peripheral Write 16 Peripheral Read 19 4 2 3 Response Default 20 Central 20 Peripheral 23 4 3 Default Info 25 4 3 1 Central 25 4 3 2 Peripheral 27 5 How to Control External MCU 28 5 1 How to Send AT Commands 28 5 1 1 UART Mode 28 5 1 2 USB Mode 29 5 2 How to Return to Flashed Default Setting 30 5 3 Default Definition of Connect ADV LED Status 31 5 4 How to Start Scanning 32 5 5 Through...
Страница 3: ...he board is only available with MDBT50Q ATMS chip antenna module MDBT50Q ATMS will be pre programmed with Raytac s AT command firmware If you don t need such pre programming and is looking for nRF52833 module please check MDBT50Q 512KV2 and MDBT50Q P512KV2 Please visit our website for spec sheet of every module mentioned above 1 1 Contents of the Set Each set includes MDBT50Q DB ATMS x 1 and mini ...
Страница 4: ... 768KHz crystal for external LF oscillator 3 External MCU control Interface 4 ADC input for battery detection only Reference voltage is 0 6V Example formula Input Voltage 𝑅1 𝑅1 𝑅2 Reference Voltage 3 3V 180 820 180 0 594 0 6V 5 UART interface for data bridge or AT commands ...
Страница 5: ... 6 Wake up Scan key 7 3 3V LDO to power up MDBT50Q ATMS 8 LED for status indicator 9 USB interface for USB Mode 10 Select USB Mode ...
Страница 6: ...3 Reference Circuit ...
Страница 7: ... to DC power mode Select external or internal RC 32 768KHz oscillator System reset of software or hardware Recover to default setting with hardware and software method Set scanning idle time Start or stop scanning Set LED pattern indicating scanning idle or connecting status Enable disable UART flow control Power down mode for power saving and GPIO wake up Support DLE maximum MTU 247 bytes data pa...
Страница 8: ... Select LDO or DC to DC power mode Select external or internal RC 32 768KHz oscillator System reset of software or hardware Recover to default setting with hardware and software method Set advertising time Setting of advertising interval Start or stop advertising Set LED pattern indicating advertising or connecting status Enable disable UART flow control Power down mode for power saving and GPIO w...
Страница 9: ...ERVICEUUIDuuuu Set service UUID for NUS Hex e g 0x0001 6 AT TXCHARACTERUUIDuuuu Set TX character UUID for NUS Hex e g 0x0003 7 AT RXCHARACTERUUIDuuuu Set RX character UUID for NUS Hex e g 0x0002 8 AT RSSITHRESHOLDnnn Set RSSI threshold for scanning all devices Ascii e g 90 min 20 Max 9 AT PHYMODE1MBPS Set PHY mode at 1Mbps 10 AT PHYMODE2MBPS Set PHY mode at 2Mbps 11 AT PHYMODE125KBPS Set PHY mode ...
Страница 10: ... 8 1 24 AT BAUDRATE38400 Set UART baud rate at 38400 bps n 8 1 25 AT BAUDRATE57600 Set UART baud rate at 57600 bps n 8 1 26 AT BAUDRATE115200 Set UART baud rate at 115200 bps n 8 1 27 AT BAUDRATE230400 Set UART baud rate at 230400 bps n 8 1 28 AT BAUDRATE460800 Set UART baud rate at 460800 bps n 8 1 29 AT BAUDRATE921600 Set UART baud rate at 921600 bps n 8 1 30 AT DCDCDIS Disable DC to DC converte...
Страница 11: ...4 min 100ms 0x1388 Max 5 000ms 0x00000000 off 0xFFFFFFFF on 43 AT CONNECTPATTERNnnnnffff Set LED connecting pattern Hex where n time when LED on f time when LED off e g 0x0064 min 100ms 0x1388 Max 5 000ms 0x00000000 off 0xFFFFFFFF on 44 AT SCANOLDPATTERNnnnnffff Set LED pattern for scanning paired device Hex where n time when LED on f time when LED off e g 0x0064 min 100ms 0x1388 Max 5000ms 0x0000...
Страница 12: ...e response when sending write command 56 AT DEFAULT Back to default 57 AT SCANLIST Set to output the list of all devices which meet the setting of base UUID Output information in sequence includes 1 RSSI 2 MAC address 3 device name e g 40 AABBCCDDEEFF Raytac AT UART ASCII stands for 1 RSSI 40dBm 2 MAC address AABBCCDDEEFF 3 device name Raytac AT UART Note Use AT SCANSTOP to stop scanning see comma...
Страница 13: ...EN Enable scanning beacon data When AT BEACONINFOEN is set the device become a BEACON SCANNER only If you want to exchange data please set AT BEACONINFODIS 62 AT BEACONINFODIS Disable scanning beacon data 63 AT COMMANDEN Switch to command mode when BLE is connected USB communication mode only 64 AT COMMANDDIS Switch to transmission mode when BLE is connected USB communication mode only 65 AT BOOTL...
Страница 14: ...under Mode 2 13 AT BAUDRATE To retrieve current UART baud rate 14 AT DCDC To retrieve DC to DC converter status 15 AT XTAL To retrieve status of 32 768KHz oscillator 16 AT IDLETIME To retrieve idle time Hex 17 AT SCANOLDTIME To retrieve time of scanning paired device Hex 18 AT SCANNEWTIME To retrieve time of scanning all devices Hex 19 AT IDLEPATTERN To retrieve LED idle pattern Hex 20 AT CONNECTP...
Страница 15: ...of response 30 AT VERSION To retrieve firmware version 31 AT COMPANYID To retrieve company ID value Hex 32 AT BEACONUUID To retrieve beacon UUID value Hex 33 AT BEACONINFO To retrieve beacon information 34 AT ALLPARAMETERS To retrieve value of all parameters ...
Страница 16: ...RX character UUID always be 0000 5 AT SERVICEUUIDuuuu Set service UUID for NUS Hex e g 0x0001 6 AT TXCHARACTERUUIDuuuu Set TX character UUID for NUS Hex e g 0x0003 7 AT RXCHARACTERUUIDuuuu Set RX character UUID for NUS Hex e g 0x0002 8 AT PHYMODE2MBPS Set PHY mode at 2Mbps 9 AT PHYMODE1MBPS Set PHY mode at 1Mbps 10 AT PHYMODE125KBPS Set PHY mode at 125Kbps 11 AT TXPOWER8DBM Set RF TX power at 8dBm...
Страница 17: ...UART baud rate at 38400 bps n 8 1 24 AT BAUDRATE57600 Set UART baud rate at 57600 bps n 8 1 25 AT BAUDRATE115200 Set UART baud rate at 115200 bps n 8 1 26 AT BAUDRATE230400 Set UART baud rate at 230400 bps n 8 1 27 AT BAUDRATE460800 Set UART baud rate at 460800 bps n 8 1 28 AT BAUDRATE921600 Set UART baud rate at 921600 bps n 8 1 29 AT DCDCDIS Disable DC to DC converter LDO mode 30 AT DCDCEN Enabl...
Страница 18: ...NDICATORHIGH Set logic high output when connecting BT 45 AT WAKEUPLOW Set logic low at wake up when in deep sleep 46 AT WAKEUPHIGH Set logic high at wake up when in deep sleep 47 AT SLEEP Set to get into deep sleep mode 48 AT SERIALNOnnnnnnnn Set serial number e g AB000001 fixed 8 character length 49 AT MACADDRnnnnnnnnnnnn Set IC MAC address where n is Hes Written order is from MSB byte to LSB byt...
Страница 19: ...etrieve DC to DC converter status 13 AT XTAL To retrieve status of 32 768 KHZ oscillator 14 AT ADVTIME To retrieve advertising time Hex 15 AT ADVINTERVALTIME To retrieve advertising interval time setting 16 AT ADVPATTERN To retrieve LED advertising pattern Hex 17 AT CONNECTPATTERN To retrieve LED connecting pattern Hex 18 AT FLOWCONTROL To retrieve UART status of flow control 19 AT WAKEUP To retri...
Страница 20: ...ault 0 1Mbps 1 2Mbps 2 125Kbps 10 AT TXPOWER 5 txpower 8dbm default 0 4dBm 1 0dBm 2 4dBm 3 8dBm 4 20dBm 5 8dBm 11 AT CONNECTINTERVALMODE 0 connect interval mode 0 default 0 fixed connection interval for iOS Android usage 1 fixed connection interval for Central usage 2 programmable connection interval for iOS Android APP usage 12 AT CONNECTINTERVALTIME 01900190 default Hex 400ms min connection inte...
Страница 21: ...0708 21 AT SCANOLDPATTERN 03e803e8 default Hex 1sec on 1sec off nnnn 0x03e8 ffff 0x03e8 22 AT SCANNEWPATTERN 00640064 default Hex 0 1sec on 0 1sec off nnnn 0x0064 ffff 0x0064 23 AT FLOWCONTROL 0 flowcontrol dis default 0 disable 1 enable 24 AT WAKEUP 0 wakeup low default 0 low active 1 high active 25 AT CONNECTINDICATOR 0 connect indicator low default 0 output low 1 output high 26 AT SERIALNO Disp...
Страница 22: ...DDEEFF0 default Hex uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu 0x0112233445566778899AABBCCDDEEFF0 33 AT BEACONINFO 0 beaconinfo dis default 0 disable to print beacon info 1 enable to print beacon info 34 AT ALLPARAMETERS Display value of all parameters separated by 0x0d0x0a ...
Страница 23: ...Bm 4 20dBm 5 8dBm 9 AT CONNECTINTERVALMODE 0 connect interval mode 0 default 0 fixed connection interval for iOS Android usage 1 fixed connection interval for Central usage 2 programmable connection interval for iOS Android APP usage 10 AT CONNECTINTERVALTIME 01900190 default Hex 400ms min connection interval 400ms Max connection interval tttttttt 0x01900190 11 AT BAUDRATE 0 baudrate9600 default 0...
Страница 24: ...flowcontrol dis default 0 disable 1 enable 19 AT WAKEUP 0 wakeup low default 0 low active 1 high active 20 AT CONNECTINDICATOR 0 connect indicator low default 0 output low 1 output high 21 AT SERIALNO Display no data string default 22 AT MACADDR e g D352BDE1E414 23 AT ADCVALUE Value varies from input voltage 24 AT CONNECTRSSI 30 dBm value varies from RSSI 25 AT RESPONSE 1 response en default 0 dis...
Страница 25: ...alibration time 11 Idle time Forever idle with no timeout 12 Time of scanning paired device Forever scanning for paired device with no timeout 13 Time of scanning all devices Forever scanning for all devices with no timeout 14 Idle LED pattern 0 1sec on 3 9sec off 15 Connecting LED pattern 0 2sec on 1 8secs off 16 LED pattern for scanning paired device 1sec on 1sec off 17 LED pattern for scanning ...
Страница 26: ...ault 23 State of response Enabled 24 Firmware version 1 0 25 Company ID 0x004C 26 Beacon UUID 0x01 0x12 0x23 0x34 0x45 0x56 0x67 0x78 0x89 0x9A 0xAB 0xBC 0xCD 0xDE 0xEF 0xF0 27 Communication Interface By hardware setting ...
Страница 27: ...r Using internal RC oscillator with 1000ms calibration time 10 Advertising time Forever advertising with no timeout 11 Advertising Interval 0x0040 Advertising interval is 40 ms 12 Advertising LED pattern 0 5sec on 0 5sec off 13 Connecting LED pattern 0 2sec on 1 8secs off 14 Status of flow control Disable 15 Logic of wake up pin Set logic low to wake up in deep sleep 16 Logic of BT connecting indi...
Страница 28: ...ESET not HW reset to save all your settings 4 Output high or NC to UART PD pin to turn off UART interface When BT is connected for following commands ONLY Write AT RESET AT DISCONNECT AT SCANNEWSTART Read AT PHYMODE AT CONNECTRSSI 1 Output low to flash default pin to enable the module to receive AT commands Please keep it enabling during the whole time when sending AT commands 2 Send AT RESET or A...
Страница 29: ...ot HW reset to save all your settings through COM port software When BT is connected for following commands ONLY Write AT RESET AT DISCONNECT AT SCANNEWSTART Read AT PHYMODE AT CONNECTRSSI 1 Send AT COMMANDEN to enter command mode when BLE is connected 2 Send AT RESET or AT DISCONNECT or AT SCANNEWSTART or AT PHYMODE or AT CONNECTRSSI 3 Send AT COMMANDDIS to go back to data mode when BLE is connec...
Страница 30: ...ardware Method 1 Read indicator pin first to check if BT is NOT in connection 2 Output a low pulse to flash default pin then system will return to default setting Use Software method 1 Output low to UART PD pin to enable UART interface Please keep it enabling during the whole time when sending AT commands 2 Send command AT DEFAULT then system will return to default setting ...
Страница 31: ... Central Mode LED Status Idle Breathing light Connected 0 2 sec ON 1 8 secs OFF Scan the paired device 1 sec ON 1 sec OFF Scan all devices 0 1 sec ON 0 1 sec OFF Peripheral Mode LED Status Advertising Breathing light Connected 0 2 sec ON 1 8 secs OFF ...
Страница 32: ...hods Each central device is only able to pair with 1 Peripheral The device will be in idle directly when it is powered or not in BLE connection It will go into deep sleep after a given timeout no timeout in default A few criteria must be met in order to complete BLE connection Under Paired Scanning Under All Devices Scanning Base UUID Service UUID Device name RSSI Threshold Mac Address in Paired R...
Страница 33: ...elease it to stop scanning The device will be back to idle and go into deep sleep after a given a timeout no timeout in default DISCONNECT BLE Connection When the device is in BLE connection press the button for less than 2 seconds and release it to disconnect the paired device How to Start Scanning Paired Device All Devices Device Status Idle a 1 b BLE Connection Not Available b Scanning Paired D...
Страница 34: ...to start scanning all devices STOP Scanning Paired All Device s Enter AT SCANSTOP to stop scanning The device will be back to idle and go into deep sleep after a given timeout How to Start Scanning Paired Device All Devices Device Status Idle a b BLE Connection Not Available b Scanning Paired Device Not Available b Scanning All Devices a Not Available ...
Страница 35: ...bytes sec min 20 ms Max 40 ms min 20 ms Max 40 ms 9600 X 244 255 1049200 1095 0 93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 23 1049200 98 10 45 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 7 1049200 30 34 15 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 4 1049200 16 64 03 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X ...
Страница 36: ... 93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 23 1049200 98 10 45 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 7 1049200 30 34 15 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 4 1049200 16 64 03 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 23 1049200 97 10 56 V min Max 8ms min Max 8ms 460800 X 244 7 1049200 29 35 ...
Страница 37: ...93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 39 1049200 167 6 13 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 77 1049200 330 3 10 V min Max 8ms min Max 8ms 460800 X 244 77 1049200 330 ...
Страница 38: ...0 ms 9600 X 244 255 1049200 1095 0 93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 30 1049200 129 7 94 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 28 1049200 119 8 61 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 23 1049200 97 10 56 V min Max 8ms min M...
Страница 39: ...93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 30 1049200 128 8 00 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 28 1049200 119 8 61 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 23 1049200 97 10 56 V min Max 8ms min Max 8ms 460800 X 244 9 1049200 37 27...
Страница 40: ...93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 46 1049200 197 5 20 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 46 1049200 197 5 20 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 46 1049200 197 5 20 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 77 1049200 330 3 10 V min Max 8ms min Max 8ms 460800 X 244 77 1049200 330 ...
Страница 41: ...0 ms 9600 X 244 255 1049200 1095 0 93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 22 1049200 93 11 01 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 6 1049200 25 40 98 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 3 1049200 12 85 38 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 23 1049200 98 10 45 V min Max 8ms min Max...
Страница 42: ... 93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 22 1049200 93 11 01 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 6 1049200 25 40 98 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 3 1049200 12 85 38 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 22 1049200 93 11 01 V min Max 8ms min Max 8ms 460800 X 244 8 1049200 33 31 ...
Страница 43: ...93 V min 20 ms Max 40 ms min 20 ms Max 40 ms 115200 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 460800 X 244 39 1049200 167 6 13 V min 20 ms Max 40 ms min 20 ms Max 40 ms 921600 X 244 39 1049200 167 6 13 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 78 1049200 334 3 06 V min Max 8ms min Max 8ms 460800 X 244 78 1049200 334 ...
Страница 44: ... Time sec Data Rate k bytes sec min 20 ms Max 75 ms min 20 ms Max 40 ms 9600 X 244 255 1049200 1095 0 93 V min 20 ms Max 75 ms min 20 ms Max 40 ms 115200 X 244 26 1049200 111 9 23 V min 20 ms Max 75 ms min 20 ms Max 40 ms 460800 X 244 8 1049200 34 30 13 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 26 1049200 111 9 23 V min Max 8ms min Max 8ms 92...
Страница 45: ... 20 ms Max 75 ms min 20 ms Max 40 ms 9600 X 244 255 1049200 1095 0 93 V min 20 ms Max 75 ms min 20 ms Max 40 ms 115200 X 244 26 1049200 111 9 23 V min 20 ms Max 75 ms min 20 ms Max 40 ms 460800 X 244 8 1049200 34 30 13 V min Max 8ms min Max 8ms 9600 X 244 255 1049200 1095 0 93 V min Max 8ms min Max 8ms 115200 X 244 26 1049200 111 9 23 V min Max 8ms min Max 8ms 921600 X 244 8 1049200 33 31 04 V ...
Страница 46: ...semi com questions A highly recommended website for firmware developer Interact with other developers and Nordic s employees will help with your questions The site also includes tutorials in detail to help you get started Official Page of nRF52833 https www nordicsemi com Products Low power short range wireless nRF52833 A brief introduction to nRF52833 and download links for Nordic s developing so...
Страница 47: ...47 History of Firmware Revision FW Ver Compatible HW Build Release Date Description of Revision Note 1 0 2020 05 30 1st release 99 52833 03A ...
Страница 48: ...48 Release Note 2020 05 30 Version A 1st release ...