background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

MBL Evaluation Kit User Manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

8

2.3 Main function

main.c in which is the main function entry. The flow of the demonstration function is simplified as follows:

Matters

Description

1

Key Function

If a key is pressed, the command data is sent wirelessly. In essence, this means
sending a specific string "ping" and expecting to receive a response "pong".

2

Serial data to wireless
transmission

The serial port automatically starts transmitting data wirelessly when it receives
the data, which of course contains some special command responses that are
mainly used for special tests and can be ignored by the user. Once the
transmission is complete, the user function is automatically called back so that the
transmission logic can be handled by itself.

3

Receive data
wirelessly

The underlying driver will copy the data and pass it to the user callback function,
which will handle the receiving logic itself.

The software process is simplified as shown in the following diagram:

2.4 Sending and Receiving Timing

Wireless modules exist in multiple operating states and can only perform specific functions in the

corresponding states. In terms of the simplest sending and receiving data, only the transmitting mode and
receiving mode are considered.

Matters

Description

1

Receiving Mode

Receive mode is automatically entered after the default initialization is completed.
In essence, this means that the receive function is called during initialization and
thus enters receive mode. If you want to consider entering other modes after
initialization, such as sleep, you can directly replace the function Go_xxxxx() with
the same type.

2

Sending Mode

When the transmit function is called, the underlying driver actually switches the
module into standby mode first, where the configuration of modulation
parameters, such as frequency, power, frequency bias, etc., is usually done. After
the parameters are configured correctly, it gradually enters some intermediate
modes, turning on the internal FIFO, PA, external XTAL, etc., and the current

Summary of Contents for E32-400MBL-01

Page 1: ...MBL Series Evaluation Kit User Manual New Generation Package Compatible Sub 1G Wireless Module E32 400MBL 01...

Page 2: ...N 3 1 2 SIZE INTERFACE DESCRIPTION 3 1 3 SUPPORT LIST 4 SOFTWARE INTRODUCTION 6 2 1 CATALOGUE STRUCTURE 6 2 2 IAR ENGINEERING 7 2 4 SENDING AND RECEIVING TIMING 8 2 5 PROGRAMMING 10 QUICK DEMO 13 3 1...

Page 3: ...ctual property is granted herein by estoppel or otherwise All test data in this document are from EBYTE S laboratory tests and actual results may vary slightly All trade names trademarks and registere...

Page 4: ...ins on the board are already pinned out to both sides of the row of pins so developers can easily connect a variety of peripheral devices through jumpers according to their actual needs The kit provid...

Page 5: ...r supply pin need to short with pin 3 to power MCU 5 GND Base plate reference ground 6 REST MCU external reset pins 7 SWIM SWIM pins of MCU 8 VIO MCU power supply pins 9 PC0 Module reset pins 10 PB7 M...

Page 6: ...E07 400M10S 2 CC1101 Texas Instruments E07 900M10S 3 SI4438 Silicon Labs E30 400M20S 4 SI4463 Silicon Labs E30 900M20S 5 LLCC68 Semtech E220 400M22S 6 LLCC68 Semtech E220 900M22S 7 SX1278 Semtech E32...

Page 7: ...echnology Co Ltd 6 Software Introduction 2 1 Catalogue structure Matters Description 1 File Directory You can download the sample project from the official website and open the directory as shown belo...

Page 8: ...efined in the C C Compiler options to distinguish between the driver files of different modules When switching workspaces different macro definitions will be used thus switching the driver files of di...

Page 9: ...on which will handle the receiving logic itself The software process is simplified as shown in the following diagram 2 4 Sending and Receiving Timing Wireless modules exist in multiple operating state...

Page 10: ...gger wireless data transmission After completion the module enters standby mode this state can not continue to send and receive and the user needs to handle the next mode in the callback function by h...

Page 11: ...only how to input and output data from this box 3 ebyte_port c Specifically designed to bind SPI and GPIO on different hardware platforms abstracted as box inputs Users need to populate their hardwar...

Page 12: ...meters will lead to initialization failure The following is an example of FSK modulation parameters board c STM8 peripheral initialization involving SPI TIMER GPIO etc strongly coupled to the hardware...

Page 13: ...Chengdu Ebyte Electronic Technology Co Ltd MBL Evaluation Kit User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 12 timer key IO etc are concentrated here...

Page 14: ...d MBL Evaluation Kit User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 13 Quick Demo 3 1 Signal cable connection Matters Description 1 Power Jumper Cap 2 Mode selection jumper...

Page 15: ...rs Description 1 Device Manager View Serial Port Number 2 Serial Software 3 Key communication example The RECV identifier used only for hints indicates data received by the wireless module The SEND id...

Page 16: ...he less power is generated The use of antenna and module match the degree of poor or antenna itself quality problems 4 2 Module is vulnerable to damage Please check the power supply to ensure that it...

Page 17: ...s Revision Date Revision Notes Maintainers 1 0 2021 09 22 Initial Version JH 1 1 2022 12 29 Modify the module diagram and how to use HWJ About Us Sales Hotline 4000 330 990 Company Phone 028 61543675...

Reviews: