background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E32-900MBL-01 User Manua

l

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

7

Switch
workspace

The global macro definition and file path are defined in the C/C++ Compiler option to
distinguish the driver files of different modules. When switching workspaces, different macro
definitions will be used to switch the driver files of different modules

Changed the Exclude from build property of Drivers/Ebyte/RF, that is, select the target
module driver folder to participate in the compilation process. Changed the Additional
include in the project C/C++ Compiler, that is, specify the module driver file path. The
Defined symbols in the project C/C++ Compiler have been changed, that is, global macro
definitions have been defined to help configure the module driver properties.

2.3 Main function

The main function entry is in main.c. The demonstration function process is simplified as follows:

Item

Explanation

1

Key Function

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

Содержание E32-900MBL-01

Страница 1: ...MBL Series Evaluation Kit User Manual New generation package compatible Sub 1G wireless module E32 900MBL 01 ...

Страница 2: ...Size interface description 4 4 1 3 Support list 5 2 Software Description 5 2 1 Directory Structure 5 2 2 IAR Project 6 2 3 Main function 7 2 4 Transceiving timing 8 2 5 Programming 9 3 Quick demo 12 3 1 Signal line connection 12 3 2 Serial port assistant 12 4 Common problem 14 4 1 Unsatisfactory transmission distance 14 4 2 Module is easily damaged 14 4 3 Bit error rate is too high 14 Revise histo...

Страница 3: ...lied is given including but not limited with respect to the accuracy correctness reliability and fitness for a particular purpose of the information This document may be revised by EBYTE at any time For most recent documents visit www ebyte com Note The contents of this manual are subject to change due to product version upgrades or other reasons Chengdu Ebyte Electronic Technology Co Ltd reserves...

Страница 4: ...odules Most of the pins on the board have been led out to the pin headers on both sides developers can easily connect a variety of peripheral devices through jumpers according to actual needs The kit provides complete software application examples to help customers quickly get started with wireless data communication development Different types of Sub 1G wireless modules can be mounted on board ac...

Страница 5: ...und 5 3 3V 3 3V Electric pin 6 GND Floor reference ground 7 REST MCUExternal reset pin 8 SWIM SWIM pin of MCU 9 3 3V 3 3V Electric pin 10 VCC Module power supply pin need to be short circuited with pin 9 to supply power to the module 11 PC6 MCU ordinary IO 12 PC5 MCU ordinary IO 13 PB3 MCU ordinary IO 14 PB2 MCU ordinary IO 15 PB1 MCU ordinary IO 16 PB0 MCU ordinary IO 17 M1 Module mode switch pin...

Страница 6: ...900M22S 7 SX1278 Semtech E32 400M20S 8 SX1276 Semtech E32 900M20S 9 SX1268 Semtech E22 400M22S 10 SX1262 Semtech E22 900M22S 2 Software Description 2 1 Directory Structure Matter Explanation 1 File Directory You can download the sample project from the official website open the directory as shown in the figure below 2 Catalog description You can use the IAR For STM8 development environment to find...

Страница 7: ...2 900MBL 01 User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 6 2 2 IAR Project Matter Explanation Engineering structure Use the IAR For STM8 development environment to open the project and you can see the basic structure ...

Страница 8: ...F that is select the target module driver folder to participate in the compilation process Changed the Additional include in the project C C Compiler that is specify the module driver file path The Defined symbols in the project C C Compiler have been changed that is global macro definitions have been defined to help configure the module driver properties 2 3 Main function The main function entry ...

Страница 9: ...sending mode and the receiving mode are considered Item Explanation 1 Receive mode After the default initialization is completed it will automatically enter the receiving mode In essence the receiving function is called during initialization and the receiving mode is entered If you need to consider entering other modes after initialization such as sleep just replace it with the same type of functi...

Страница 10: ...lying module will be bound to this structure When used for simple sending and receiving applications there is no need to understand the underlying working details of each module and you can start sending and receiving data directly by calling the abstracted function If you need to customize some functions you can also consider integrating them into the structure If you know enough about the functi...

Страница 11: ...half duplex SPI If you are too lazy to write a communication driver you can directly bind the IO to a fixed location and leave the rest to the module to drive its own analog IO to achieve communication As shown in the figure below in the comments it is required to provide the SPI interface location to fill in the specific transceiver function send the SPI to send data and the result to return the ...

Страница 12: ...volving SPI TIMER GPIO etc is strongly coupled with the hardware used board_button c The key event queue is a FIFO in terms of data structure After the timer detects the button it will store the corresponding event in the queue and wait for the main loop to respond board_mini_printf c Simplified printf although the function is reduced but it takes up a small volume The DEBUG macro in the project m...

Страница 13: ...pyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 12 3 Quick demo 3 1 Signal line connection File Key note 1 Serial jumper cap 2 RF module jumper cap 3 Assist USB cable PC etc 3 2 Serial port assistant Matter Explanation 1 Device manager View serial port number ...

Страница 14: ...2 Serial port software 3 Push button communication example RECV Identifier only used as a reminder indicates the data received by the wireless module SEND Identifier only for reminding indicating the data sent by the wireless module 4 Serial data transmission Serial data transmission through XCOM direct transmission of required content ...

Страница 15: ...and the module is poor or the quality of the antenna itself is problematic 4 2 Module is easily damaged Please check the power supply to ensure that it is within the recommended power supply voltage If it exceeds the maximum value it will cause permanent damage to the module Please check the stability of the power supply and the voltage should not fluctuate significantly and frequently Please ensu...

Страница 16: ...gy Co Ltd 15 About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Отзывы: