Index Overall Introduction ...................... 4 AT Command ......................... 4 2.1. List of supported commands ................. 4 2.2. AT Command Sets ....................5 2.2.1. “Write” Commands ....................5 2.2.2. “Read” Commands ....................8 2.2.3. Response (Default) ....................9 2.3. Default Info ......................11 2.4.
Page 3
11.10. End-Product Label ....................56 12. Notes and Cautions ..................... 59 13. Basic Facts for nRF52 Chip ..................60 14. Useful Links ......................... 61 History of Firmware Revision .................... 62 Full List of Raytac’s BLE Modules ..................64 Release Note ........................67...
1. Overall Introduction Raytac’s MDBT42Q-AT & MDBT42Q-PAT is a BT 5.2 stack (Bluetooth low energy or BLE) module designed based on Nordic nRF52810 SoC solution, which incorporates: UART interface in only peripheral/slave role for data bridge in compact size (L) 16 x (W) 10 x (H) 2.2 mm.
2.2. AT Command Sets 2.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 6
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 7
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, AT+SETGPIOnnHIGH (42) where “nn”...
2.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...
2.4. Pin Assignment Pin No. Name Pin Function Description Ground The pad must be connected to a solid ground plane No function Not connected No function Not connected No function Not connected No function Not connected No function Not connected No function Not connected No function...
Page 13
Pin No. Name Pin Function Description Output logic is selective about the action of wakeup from (22) Wakeup Input / Logic deep sleep Active-high with internal pull-high to disable hardware (23) UART PD Input UART interface. The default is disabled. (24) Ground The pad must be connected to a solid ground plane...
3. How to Control via External MCU 3.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 15
⚫ When BT is connected for following commands ONLY Write: AT+DISCONNECT, AT+SLEEP, AT+SETGPIOnnHIGH, AT+SETGPIOnnLOW, AT+SETGPIOnnOFF Read: AT?ADCVALUE Output low to UART PD pin to enable UART interface. Please keep it LOW during the whole time when sending AT commands. Output low to flash default pin to enable receiving AT commands when BT is connected.
3.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.
4. Test Report All testing is done under PHY mode at 1M bps. 4.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...
4.2. Throughput Test Here D.L. means “Data Length” and D.I. means “Data Interval” in the table. ⚫ 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...
Place the module towards the edge of PCB to have better performance than placing it on the center. Welcome to send us your layout in PDF for review at service@raytac.com or your contact at Raytac with title “Layout reviewing – Raytac model no. – YOUR company’s name”.
Examples of “NOT RECOMMENDED” layout 5.4. Footprint & Design Guide Please visit “Support” page of our website to download. The package includes footprint, 2D/3D drawing, reflow graph and recommended spec for external 32.768khz.
7.1. Marking on Metal Shield 7.2. Packaging Info 7.2.1. Tray Packaging Anti-static tray is specifically designed for mass production. It can be used directly on SMT automatic machine.
7.3. Order Code Each model has two options of packaging. Please use following part no. when placing order to us. Model Tray Tape & Reel MDBT42Q-AT MD-240A2-S22 MD-240A2-S22R MDBT42Q-PAT MD-240A2-S25 MD-240A2-S25R MPQ of Reel packaging is 1,500 pcs and Tray packaging is 88 pcs.
8. Specification Any technical spec shall refer to Nordic’s official documents as final reference. Contents below are from “nRF52810 Product Specification v1.3”, please click to download full spec. 8.1. Absolute Maximum Ratings 8.2. Operation Conditions...
10. Reference Circuit Module is pre-programmed with Raytac’s AT command firmware. Default is “LDO mode” and is using internal 32.768khz RC oscillator. REMARK: ** When using DC-DC mode, please add L2 / L3 / C14. ** ** When using internal 32.768khz RC oscillator, please add X2 / C12 / C13.
11.9. RoHS & REACH Report Please visit “Support” page of our website to download. 11.10. End-Product Label It is suggested using following content adding to package or user manual or label to obey the regulation. Any rules of end-product label shall refer to each certification for final reference. 11.10.1.
Page 57
11.10.3. NCC (Taiwan) 請依下列標籤式樣自製標籤,標貼或印鑄於器材本體明顯處,始得販賣或公開陳列。 標籤樣式 Series MDBT42Q Series MDBT42Q-P Series 以 MDBT42Q 為例,平台廠商必須於平台上標示字樣「本產品內含射頻模組:ID 編號 CCAM16LP1180T2」 。 「平台」定義如下:若器材組裝本案模組,消費者仍能正常使用該器材主要功能,該器材得視 為平台。若器材不組裝本案模組,消費者不能正常使用該器材主要功能,該器材不能視為平 台。該類不同廠牌型號器材組裝本案審驗模組後,須分別申請型式認證。...
Page 58
11.10.4. IC (Canada) The IC statement should be included in the user manual when there is no enough space on label. Otherwise, it should be included on the label. “This device complies with Industry Canada license-exempt RSS Standard(s). Operation is subject to the following two conditions.
The module is not suitable for life support device or system and not allowed to be used in destructive device or systems in any direct or indirect ways. The customer agrees to indemnify Raytac for any losses when applying modules in applications such as the ones described above.
Below chart shows basic spec for Nordic nRF52 family, which is helpful to understand the differences between each SoC. Any discrepancy shall refer to Nordic’s technical document as final reference. Full List of Raytac’s BLE Modules for complete model no. of each item.
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.
History of Firmware Revision Compatible Release Description of Revision Note Ver. HW Build Date 2018/04/24 99-52810-02A release. 2018/06/01 99-52810-02B UI changes: - 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 63
Compatible Release Description of Revision Note Ver. HW Build Date 2018/10/22 99-52810-02D (continued) - AT?CONNECTINTERVALTIME - AT+SETGPIOnnHIGH - AT+SETGPIOnnLOW - AT+SETGPIOnnOFF Modify detection for ADC value. Add function of setting MAC address by the user. 2019/04/09 99-52810-02E 1. Fixed issues of reading MAC address. 2.
Full List of Raytac’s BLE Modules ⚫ MDBT40 Series Nordic Flash Series Raytac No. Antenna Solution Ver. Memory MDBT40-256V3 16 kb 256 K Chip MDBT40 nRF51822 Antenna MDBT40-256RV3 32 kb 256 K MDBT40-P256V3 16 kb 256 K MDBT40-P nRF51822 Antenna...
Page 65
⚫ MDBT42 Series (WLCSP Package IC) Nordic Flash Series Raytac No. Antenna Solution Ver. Memory Chip MDBT42 MDBT42-512KV2 Antenna nRF52832 64 kb 512 K MDBT42-P MDBT42-P512KV2 Antenna ⚫ MDBT42V Series (WLCSP Package IC) Nordic Flash Series Raytac No. Antenna Solution Ver.
(2) Updated the tray info in section 7.2. (3) Updated technical spec based on nRF52810 Specification V1.3. (4) Added section 9: Antenna. (5) Added MDBT50-256R & MDBT50-P256R (nRF52820 module) in the list of Raytac BLE module. ⚫ 2020/06/11 Version G: (1) Refined description in section 3.
Page 68
(2) Updated information of T&R in Chapter 7: Shipment Packaging Information. (3) Added BT 5.2 SIG approval in Chapter 11: Certification. (4) Updated table in Chapter 13: Basic Facts for nRF52 Family. (5) Updated Full List of Raytac’s BLE Modules. ⚫ 2021/07/07 Version I (1) Adding information of current consumption in sleep mode in Chapter 4: Current Test.
Need help?
Do you have a question about the MDBT42Q - PAT and is the answer not in the manual?
Questions and answers