Advertisement

Quick Links

Version: A
Issued Date: 2020/12/10
User Guide
(簡易使用手冊)
產品名稱 (Product):
Demo Board for MDBT42TV-AT / PAT
產品型號 (Model No.):
MDBT42TV
– AT – UART –
S
韌體版本 (FW Revision): 1.0

Advertisement

Table of Contents
loading

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

  • Page 1 Version: A Issued Date: 2020/12/10 User Guide (簡易使用手冊) 產品名稱 (Product): Demo Board for MDBT42TV-AT / PAT 產品型號 (Model No.): MDBT42TV – AT – UART – 韌體版本 (FW Revision): 1.0...
  • 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 via External MCU ................
  • Page 3: Introduction

    MDBT42TV-P192K. Please visit our website for spec sheet of every module mentioned above. 1.1. Contents of the Set Each set includes MDBT42TV-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 MDBT42TV-AT BLE module based on nRF52805. 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 Wake-up key. 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 7 sets of UART baud rates Enable/disable UART flow control Enable/disable interface of UART hardware Power-down mode for power saving and GPIO wake-up...
  • 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 (35) AT+SERIALNOnnnnnnnn e.g. AB000001, fixed 8-character length Disable response when sending “write” command (36) AT+RESPONSEDIS Enable response when sending “write” command (37) AT+RESPONSEEN (38) AT+DISCONNECT Terminate the connection (39) AT+DEFAULT Back to default Set IC MAC address, where n is Hex. AT+MACADDRnnnnnnnnnnnn (40) Written order is from MSB byte to LSB byte.
  • 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) Command Response 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 Command Response Display “ no data! ” string (default) (14) AT?SERIALNO (15) AT?ADCVALUE Value varies from input voltage 1 response en (default) (16) AT?RESPONSE (0 = disable response; 1 = enable response) (17) AT?ALLPARAMETERS Display value of all parameters, separated by "0x0d0x0a" 006400C8 (default: Hex, 100ms min.
  • Page 14: Default Info

    4.3. Default Info Description Default Raytac AT-UART Device name 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 Via External Mcu

    5. How to Control via External MCU 5.1. How to Send AT Commands ⚫ When BT is NOT connected, for ALL commands Output low to UART PD pin to enable UART interface. Please keep it low 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 UART PD pin to enable UART interface. Please keep it low during the whole time when transmitting data. Output high or NC to UART PD pin to turn off UART interface.
  • 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 Here D.L. means “Data Length” and D.I. means “Data Interval” in the table. ⚫ MCU → Peripheral (MDBT42TV-AT/MDBT42TV-PAT) → Central → Console MCU D.L. MCU D.I. Total Central Peripheral Baud Flow Total D.L. Data Rate (bytes) (ms) Tras.
  • Page 19 ⚫ MCU → Central → Peripheral (MDBT42TV-AT/MDBT42TV-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 2020/09/24 99-52805-03A release.
  • Page 22: Release Note

    Release Note ⚫ 2020/12/14 Version A: 1 release...

Table of Contents