RAYTAC MDBT42Q-AT-UART-S User Manual

RAYTAC MDBT42Q-AT-UART-S User Manual

Demo board for mdbt42q-at / pat

Advertisement

Version: C
Issued Date: 2018/11/08
User Guide
(簡易使用手冊)
產品名稱 (Product):
Demo Board for MDBT42Q-AT / PAT
MDBT42Q – AT – UART –
產品型號 (Model No.):
S
韌體版本 (FW Revision): 1.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MDBT42Q-AT-UART-S and is the answer not in the manual?

Questions and answers

Summary of Contents for RAYTAC MDBT42Q-AT-UART-S

  • Page 1 Version: C Issued Date: 2018/11/08 User Guide (簡易使用手冊) 產品名稱 (Product): Demo Board for MDBT42Q-AT / PAT MDBT42Q – AT – UART – 產品型號 (Model No.): 韌體版本 (FW Revision): 1.3...
  • Page 2: Table Of Contents

    Index Introduction ........................3 1.1. Contents of the Set ....................3 Hardware Description ....................4 Reference Circuit ......................6 AT Command ......................... 7 4.1. List of supported commands ................. 7 4.2. AT Command Sets ....................8 4.3. Default Info ......................14 How to Control External MCU ..................
  • Page 3: Introduction

    MDBT42Q-P192K. Please visit our website for spec sheet of every module mentioned above. 1.1. Contents of the Set Each set includes MDBT42Q-AT-UART-S x 1 and mini-USB cable x 1. Please contact us if the set you receive is not complete.
  • Page 4: Hardware Description

    2. Hardware Description MDBT42Q-AT BLE module based on nRF52810. 32.768KHz crystal for external LF. 10uH & 15nH inductor for DC-to-DC mode. Interface to connect to external MCU. ADC input for battery detection only. Reference voltage is 0.6V. Example: ��1 formula: Input Voltage × = Reference Voltage ��1 +��2 →...
  • Page 5 Debug interface, connecting to Nordic’s nRF5X DK. Important: Please be careful not to “erase” the module during testing. Raytac’s AT command firmware will not be shared. You may need to send the unit to us for re-programming when module’s FW is erased.
  • Page 6: Reference Circuit

    3. Reference Circuit...
  • Page 7: At Command

    4. AT Command 4.1. List of supported commands Setting of device name Choose data rate of 1Mbps or 2Mbps on-air Set TX output power in 5 levels. Set advertising time Set connection interval under Mode 2 Enable/disable advertising Set LED pattern indicating advertising or connecting status 7 sets of UART baud rates Enable/disable UART flow control Enable/disable interface of UART hardware...
  • Page 8: At Command Sets

    4.2. AT Command Sets 4.2.1. “Write” Commands Command Description Set device name,Max. length of 20 characters AT+NAME e.g. AT+NAME123 (device name 123, 3 characters) AT+RESET Set to reset system AT+ADVSTART Set to start advertising AT+ADVSTOP Set to stop advertising AT+SLEEP Set to get into deep sleep mode AT+BAUDRATE9600 Set UART baud rate at 9600 bps,n,8,1...
  • Page 9 Command Description (25) AT+PHYMODE2MBPS Set PHY mode at 2Mbps (26) AT+WAKEUPLOW Set logic low at wake-up when in deep sleep (27) AT+WAKEUPHIGH Set logic high at wake-up when in deep sleep Set advertising time (Hex) e.g. 0x001E (min. 30secs), (28) AT+ADVTIMEtttt 0x0E10 (Max.
  • Page 10 Command Description Set serial number (37) AT+SERIALNOnnnnnnnn e.g. AB000001, fixed 8-character length Disable response when sending “write” command (38) AT+RESPONSEDIS Enable response when sending “write” command (39) AT+RESPONSEEN (40) AT+DISCONNECT Terminate the connection (41) AT+DEFAULT Back to default Set GPIO number p0.nn to high, (42) AT+SETGPIOnnHIGH where “nn”...
  • Page 11 4.2.2. “Read” Commands Command Description AT?NAME To retrieve device name AT?VERSION To retrieve firmware version AT?MACADDR To retrieve IC MAC address AT?BAUDRATE To retrieve current UART baud rate AT?FLOWCONTROL To retrieve UART status of flow control AT?TXPOWER To retrieve RF TX power AT?XTAL To retrieve status of oscillator AT?CONNECTINDICATOR...
  • Page 12 4.2.3. Response (Default) Response Command Description AT?NAME Raytac AT-UART (default) AT?VERSION e.g. version: 1.0 AT?MACADDR e.g. D352BDE1E414 0 baudrate9600 (default) AT?BAUDRATE (0 = 9600; 1 = 19200; 2 = 38400; 3 = 57600; 4 = 115200; 5 = 230400; 6 = 460800)
  • Page 13 Response Command Description 00c80708 (default: Hex, 0.2sec on / 1.8sec off, (15) AT?CONNECTPATTERN nnnn: 0x00c8, ffff: 0x0708) Display “ no data! ” string (default) (16) AT?SERIALNO (17) AT?ADCVALUE Value varies from input voltage 1 response en (default) (18) AT?RESPONSE (0 = disable response; 1 = enable response) (19) AT?ALLPARAMETERS Display value of all parameters, separated by "0x0d0x0a"...
  • Page 14: Default Info

    4.3. Default Info Description Default Device name Raytac AT-UART 0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0 Base UUID 0x93, 0xF3, 0xA3, 0xB5, 0x00, 0x00, 0x40, 0x6E 0x0001 Service UUID TX characteristic: 0x0003; RX characteristic: 0x0002 Baud rate 9600bps,n,8,1 Status of flow control...
  • Page 15: How To Control External Mcu

    5. How to Control External MCU 5.1. How to Send AT Commands ⚫ When BT is NOT connected (for all commands) Output low to P0.10 (UART PD pin) to enable UART interface. Please keep it enabling during the whole time when sending AT commands. Send any AT commands you want.
  • Page 16: How To Transmit Data

    5.2. How to Transmit Data * Only when BT is connected * Output low to P0.10 (UART PD pin) to enable UART interface. Please keep it enabling during the whole time when transmitting data. Output high or NC to P0.10 (UART PD pin) to turn off UART interface. 5.3.
  • Page 17: Test Report

    6. Test Report All testing is done under PHY mode at 1M bps. 6.1. Current Test DC/DC Logic of UART PD pin Advertising Current Connected Current High 0.85 mA 0.3 mA Disable 1.56 mA 1 mA High 0.45 mA 0.16 mA Enable 0.95 mA 0.68 mA...
  • Page 18: Throughput Test

    6.2. Throughput Test means “Data Length” and means “Data Interval” in the table. Here D.L. D.I. ⚫ MCU → Peripheral (MDBT42Q-AT/MDBT42Q-PAT) → Central → Console Central Peripheral Baud Flow MCU D.L. MCU D.I. Total D.L. Total Data Rate Connection Interval Connection Interval Rate Control...
  • Page 19 ⚫ MCU → Central → Peripheral (MDBT42Q-AT/MDBT42Q-PAT) → Console Central Peripheral Baud Flow MCU D.L. MCU D.I. Total D.L. Total Data Rate Connection Interval Connection Interval Rate Control (bytes) (ms) (bytes) Trans. Time (sec) (k-bytes/sec) 262152 min = 20ms min = 20ms 9600 999432 1,042...
  • Page 20: Useful Links

    Useful Links ⚫ Nordic Infocenter: https://infocenter.nordicsemi.com/index.jsp All the necessary technical files and software development kits of Nordic’s chip are on this website. ⚫ Nordic Developer Zone: https://devzone.nordicsemi.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.
  • Page 21: History Of Firmware Revision

    History of Firmware Revision Compatible Release Description of Revision Note Ver. HW Build Date 2018/04/24 release. 99-52810-02A 2018/06/01 UI changes: 99-52810-02B - Add battery service. - Add ”AT?ADCVALUE” to get ADC value in BLE connecting status. - Add ”AT+DISCONNECT” to terminate the connection. - If response enabled, ”AT+”...
  • Page 22 Compatible Release Description of Revision Note Ver. HW Build Date 2018/10/22 (continued) 99-52810-02D - AT?CONNECTINTERVALTIME - AT+SETGPIOnnHIGH - AT+SETGPIOnnLOW - AT+SETGPIOnnOFF Modify detection for ADC value. Add function of setting MAC address by the user.
  • Page 23: Release Note

    ⚫ 2018/10/30 Version B (1) Change model no. to “MDBT42Q-AT-UART-S”. (2) Update Chapter 4: AT Command, Chapter 5: How to Control External MCU and Chapter 6: Test Report to match new FW revision 1.3. See History of Firmware Revision for more details.

Table of Contents