Advertisement

RTL87x2x Quick Start User Guide
V2.0
2024/01/03
Realtek Semiconductor Corp.
No.2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan
Tel.: +886-3-578-0211. Fax: +886-3-577-6047
www.realtek.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTL87 2 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Realtek RTL87 2 Series

  • Page 1 RTL87x2x Quick Start User Guide V2.0 2024/01/03 Realtek Semiconductor Corp. No.2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan Tel.: +886-3-578-0211. Fax: +886-3-577-6047 www.realtek.com...
  • Page 2 RTL87x2x Quick Start User Guide COPYRIGHT ©2023 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of Realtek Semiconductor Corp.
  • Page 3 Expain RTL8762E chip Jarvis_gu 2022/07/18 V1.6 Revise Format Jarvis_gu David 2023/05/16 V1.7 Add Disclairm eleven_li 2023/9/13 V1.8 Add RTL8752H eleven_li 2023/11/01 V1.9 Add RTL87x2G eleven_li 2024/01/03 V2.0 Added 87x2G different EVB version Eleven_li Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 4: Table Of Contents

    2.3.3 Generate OTA header File ......................10 2.3.4 Generate App image ........................11 2.3.5 Generate Config ..........................12 2.3.6 Start to download ......................... 13 2.4 Print Logs ............................16 2.5 Verification Test ..........................18 Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 5 RTL87x2x Quick Start User Guide Table List Table 1-1 BLE SoC series IC Nicknames ......................1 Table 2-1 Default files ............................6 Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 6 Figure 2-30 Print Logs successfully ........................18 Figure 2-31 Bluetooth address setting ......................... 19 Figure 2-32 Broadcast results on an IOS phone ....................19 Figure 2-33 Broadcast results on an Android phone ..................19 Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 7: Overview

    IC. During the development process, use the SDK, HDK, and TOOL corresponding to each chip name. Table 1-1 BLE SoC series IC Nicknames Nicknames RTL8762C/RTL8752C Bee2 RTL8762D SBee2 RTL8762E Bee3 RTL8752H Bee3+/Bee3Plus RTL87x2G Bee4 This document takes RTL8762C(Bee2) as an example for explanation. Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 8: Startup Procedure

    1. When the EVB board is in normal use, the three jumper caps in the red box need to be connected to supply power to the sub-board. Figure 2-2 EVB board jumper connection Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 9 1M baud rate during the programming process. If users use own USB to serial port board, please make sure to use the authentic FT232 conversion board. For other serial port chips, it is advised to lower the baud rate. The baud rate is generally smaller than or equal to 115200bps. Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 10: Evb Download Image Wire Map(Bee4)

    1. The USB interfaces of CON1 and CON2 need to be connected to the computer to supply power to the EVB, as shown in Figure 2-6. Figure 2-6 EVB Power supply wiring Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 11: Download Preparation

    Debug mode: used for developers to develop and debug. The Debug mode is disabled by default. Users need to use the "RegistrySet.exe" tool provided by Realtek to enable the function. To enable the Debug mode, double-click the "RegistrySet.exe" Tool before running the MP Tool. The "RegistrySet.exe"...
  • Page 12 Using the new version of MP Tool, click "Flash Map Tool" on the Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 13: Description Of Downloading Files

    7. System Patch Image This file is directly provided by Realtek. Patch function entry is reserved in the ROM code. Through Patch, the original behavior of non-secure ROM code can be modified and functions of ROM code can be expanded.
  • Page 14: Generate Flash Map

    The FSBL/Boot Patch/ROM Patch Image/System Patch Image/Uppperstack Image(BT Host Image)/BT Stack Patch Image is directly provided by Realtek. Users can download the above information through Anchor, if there is no Anchor account, please apply for registration from the agent/PM/FAE, or download them directly from RealMCU website: https://www.realmcu.com...
  • Page 15 3. According to the usage of flash, click the drop-down option of "Flash Size", select the appropriate selection, and then click Confirm to generate flash map.ini (The screenshot is RTL8762C as an example, the maximum Flash Size is 16M Bytes. Maximum Flash Size of RTL8762D/RTL8762E/RTL87x2G/RTL8752H is 32M Bytes). Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 16: Generate Ota Header File

    Method 1: Use MP Tool and click "FlashMapTool" on the interface to generate flash map.ini. OTA Header File will be generated simultaneously: BeeMPTool_kits_vx.x.x.x\BeeMPTool\OTAHeader, MPTool will be directly loaded into the corresponding file area, as shown below. Figure 2-13 OTA Header File Path Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 17: Generate App Image

    If the compilation succeeds, a bin file with md5 verification is generated in the bin folder of the corresponding project. If the compilation fails, refer to section 2.4 of Bee2-SDk-vx.x\doc\RTL8762C SDK User Guide to check whether the KEIL Settings are correct. Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 18: Generate Config

    File path: BeeMPTool_kits_vx.x.x.x\BeeMPTool\ConfigFile. Figure 2-16 Generate Config For beginners, you are advised to keep the default Settings on the Config Setting screen. For details, refer to the RTL87x2x MP Tool User Guide. Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 19: Start To Download

    2. Click the "Open" button on the interface. If the COM port can be opened normally, OK is displayed, otherwise, it will be Failed. Figure 2-19 Open OK Figure 2-20 Open Failed Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 20 3) Confirm whether the jumper caps at the three places in the red box are correctly connected and power is normally supplied to the sub-board. Figure 2-23 Normal power supply for sub-board Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 21 CP2012 may not work, CH340 must not. 4) Do not use poor quality USB connection, if it is external USB HUB, need to have independent power supply of good quality products. Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 22: Print Logs

    "1" end and connect RX and GND with jumper caps, as shown in Figure 2-28. Figure 2-28 Log wiring Users need to use DebugAnalyzer Tool to view logs. It is a special debugging tool developed by Realtek. The tool runs on the Window platform (Win10 is recommended) and prints logs through P0_3.
  • Page 23 Confirm to exit the parameter setting screen 4. Click "Start" to display Log (each Start and Stop operation will generate a new log file). As shown in Figure 2-30.(ble_peripheral is used as an example) Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.
  • Page 24: Verification Test

    If users encounter problems in the development process, please provide the corresponding .log & .bin & .cfa & .trace file to Realtek for analysis, where the path of .log & .bin & .cfa is: DebugAnalyzer\DataFile, .trace file: BEE2- SDK-vx.x.x\board\evb\ble_peripheral\bin. If Hardfault occurs, also need to provide app.disasm, path: BEE2-SDK- vx.x.x\board\evb\ble_peripheral\bin...
  • Page 25 Scan the broadcast results on an IOS phone.(IOS generally does not display broadcast addresses) Figure 2-32 Broadcast results on an IOS phone Scan the broadcast results using an Android phone. Figure 2-33 Broadcast results on an Android phone Copyright 2023 Realtek Semiconductor Corporation. All Rights Reserved.

Table of Contents