+-----------------------------------------------------------------------------+
| SX12xx drivers V2.1.0
SX12xx 驱动 V2.1.0|
+-----------------------------------------------------------------------------+
This package currently supports the following radio drivers:
此包目前支持一下无线驱动
- SX1232
- SX1272
- FSK modem
频移键控模式
- LoRa modem ( Application default )
lora模式 (默认应用)
- SX1276
- FSK modem
- LoRa modem ( Application default )
1. Introduction
1.介绍
-------------------------------------------------------------------------------
The SX12xx drivers are included in a project made for the SX12xxEiger platform.
SX12XX驱动包含一个基于SX12XX平台的工程中
The SX12xxEiger platform is based on the OPEN4 platform from RAISONANCE.
这个 SX12xxEiger 平台 是基于开源的RAISONANCE
The platform can use a STM32F103, a STM32F407 or a STM32F429 microcontroller ( ARM Cortex-M
based microcontrollers ).
这个SX12XXEiger平台 可以使用STM32F103,STM32F407 或者STM32F429 微型控制器(ARM
cortex-M内核微型控制器)
Semtech has done an extension board for the OPEN4 platform which enables the
control of the SX12xx RF chip SM modules.
Semtech公司已经为OPEN4平台可以控制SX12XX射频芯片做了一个扩展板
The project included is a RIDE 7 project. RIDE is an IDE made by RAISONANCE.
这个工程包含了一个RIDE 7工程,RIDE是一个通过RAISONANCE设计的IDE
The project is also compatible with KEIL toolchain from ARM. The user can
select either of the project depending of its toolchain.
这个工程也兼容keil for arm工具,用户可以选择不同的工具
The project contains the low level drivers needed to control the extension
board peripherals as well as the SX12xx RF chip drivers. The demonstration
application is a simple PING-PONG.
该工程包括控制扩展板外设的底层应用程序以及sx12xx射频芯片的驱动程序,这个演示程序是一个简单的
乒乓球实例
By default the PING-PONG app acts as Master. If another Master is already
running the application will switch automatically to Slave and the PING-PONG
starts.
默认这个乒乓应用作为主机,如果另一个主机已经运行了将会自动的切换为从机,乒乓开始
2. Radio drivers description
2.无线驱动描述
-------------------------------------------------------------------------------
The radio interface for the application is manged by the src\radio\radio.c file.
应用程序的无线接口在src\radio\radio.c文件中
The RadioDriverInit function must be updated with selected radio
( SX1232, SX1272, SX1276 ) functions.
无线驱动初始化功能必须根据选择的无线(SX1232,1272,1276)功能更新
The drivers have been made to operate on several hardware platforms:
这个驱动已经可以在以下几个平台运行
- the SX12xxEiger platform
- the SX12000DVK platform
- the "Bleeper"
The radio selection is done by commenting/uncomenting the USE_SX12XX_RADIO
definitions in src\platform\platform.h file
无线的选择是在 src\platform\platform.h文件中
Example:
例如
In order to select SX1272 with LoRa modem one must modify
为了选择SX1272工作在lora模式,一下必须修改
src\platform\platform.h file as follows:
/*!
* Radio choice. Please uncomment the wanted radio and comment the others
*无线选择,请将需要的去掉注释
*/
//#define USE_SX1232_RADIO
#define USE_SX1272_RADIO
//#define USE_SX1276_RADIO
In the case of the SX1276, it is also essential to select the module connected.
在SX1276事例中这也是必不可缺少的选择模块连接
This is due to the fact that there are three different module with different
RF matching tailored for different frequency bands.
基于事实,这里有三个不同的模块具有不同的RF来匹配不同的频段
/*!
* Module choice. There are three existing module with the SX1276.
这里有三个已经存在的SX1276模式
* Please set the connected module to the value 1 and set the others to 0
请选择一个模式设置为1,其他的设置为0
*/
#define MODULE_SX1276RF1IAS 0
#define MODULE_SX1276RF1JAS 0
#define MODULE_SX1276RF1KAS 1
For SX1272 and SX1276 radio devices, one must also choose the modem to be used.
如果是SX1272和SX1278 无线驱动,必须选择一个模式使用
In order to select the LoRa modem driver one must modify src\radio\radio.h as
follows:
为了选在Lora模式驱动,一下必须修改 在src\radio\radio.h文件中
/*!
* SX1272 and SX1276 General parameters definition
SX1272和SX1276 公用的参数定义
*/
#define LORA 1 // [0: OFF, 1: ON]
The drivers can also
2.1 Specific radio drivers description
2.1 特殊的无线驱动描述
-------------------------------------------------------------------------------
The specific radio driver is split in several parts in order to ease the
portability.
这个特殊的无线驱动为了方便一直已经分割成了几块
2.1.1 SX1232 driver
2.1.1 SX1232 驱动
-------------------------------------------------------------------------------
The SX1232 driver is split in 2 parts
SX1232驱动已经分割成了2块
1. Generic SX1232 driver.
1. 通用的SX1232 驱动
( src\radio\SX1232.c and src\radio\SX1232-Misc.c )
2. SX1272 HAL ( Hardware Abstraction Layer ).
2. SX1272 硬件抽象层
( src\platform\sx12xxEiger\SX1272-Hal.c )
1. The generic SX1232 driver implements at least the functions required by
the RadioDriver structure defined in src\radio\radio.h file
1. 这个通用的SX1232 驱动实现最基本的功能 需要通过定义在src\radio\radio.h文件中的无线驱动结构体
In order to change generic settings one must modify the following
parameters in file src\radio\SX1232.c
为了改变通用的设置一下在src\radio\SX1232.c文件中的参数必须修改
The default parameters are all set into a structure which is fairly easy
to update for any system.
这些参数都设置进了结构体,这样在任何系统中更新起来非常的简单
tFskSettings FskSettings =
{
870000000, // RFFrequency RF频率
9600, // Bitrate 比特率
50000, // Fdev
20, // Power 发射功率
100000, // RxBw 接收频带宽度
150000, // RxBwAfc 接收频率自动控制
true, // CrcOn CRC校验标志位
true, // AfcOn 自动频率控制标志位
255 // PayloadLength 有效符合长度
};
REMARK: All other parameters can be changed by modifying the SX1232Init
function located in src\radio\SX1232.c file
注意:所有其他参数可以通过修改位于src\radio\SX1232.c文件中的SX1232Init初始化功能修改
2. The HAL makes the SX1232 driver platform independent.
2.硬件抽象层使SX1232驱动平台独立
One must modify each function inside this file
必须修改每一个包含在这个文件中的功能 ( src\platform\sx12xxEiger\SX1232-Hal.c )
进而试用所使用的平台
( src\platform\sx12xxEiger\SX1232-Hal.c ) according to the platform used.
2.1.2 SX1272 driver version 2.0.0
2.1.2 SX1272 驱动版本 2.0.0
-------------------------------------------------------------------------------
The SX1272 driver is split in 4 parts
这个SX1272驱动被分割成了4块
1. Generic SX1272 driver.
1. 通用的 SX1272驱动(驱动调用接口)
( src\radio\SX1272.c )
2. SX1272 FSK modem driver.
2. FSK调制模驱动
( src\radio\SX1272-Fsk.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
RFM95 LoRa模块sx1276技术资料包 (465个子文件)
stm32f4xx_tim.c 122KB
stm32l1xx_tim.c 108KB
stm32f10x_tim.c 107KB
stm32f4xx_rtc.c 100KB
stm32l1xx_rtc.c 96KB
stm32f4xx_rcc.c 92KB
stm32l1xx_adc.c 73KB
stm32f4xx_adc.c 67KB
stm32l1xx_rcc.c 66KB
stm32l1xx_flash.c 66KB
stm32f10x_flash.c 61KB
stm32f4xx_flash.c 60KB
stm32f4xx_can.c 59KB
usb_core.c 58KB
stm32l1xx_usart.c 57KB
stm32f4xx_cryp_aes.c 57KB
stm32f4xx_usart.c 57KB
stm32f4xx_fmc.c 55KB
stm32f4xx_i2c.c 53KB
stm32f4xx_dma.c 52KB
stm32f4xx_spi.c 51KB
stm32f10x_rcc.c 50KB
stm32l1xx_i2c.c 49KB
stm32f10x_adc.c 46KB
stm32f4xx_sai.c 45KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32l1xx_spi.c 41KB
stm32f4xx_fsmc.c 41KB
stm32f4xx_ltdc.c 39KB
stm32f4xx_sdio.c 38KB
stm32l1xx_dma.c 38KB
stm32f10x_usart.c 38KB
stm32l1xx_sdio.c 37KB
stm32f4xx_pwr.c 35KB
stm32f10x_fsmc.c 35KB
stm32f4xx_cryp.c 35KB
stm32l1xx_pwr.c 33KB
usbd_dfu_core.c 31KB
usb_core.c 31KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
system_stm32f10x.c 29KB
usb_regs.c 29KB
stm32f10x_sdio.c 28KB
stm32f4xx_dma2d.c 26KB
stm32f4xx_dac.c 26KB
stm32f4xx_hash.c 26KB
usbd_cdc_core.c 25KB
sx1276-LoRa.c 25KB
stm32f4xx_gpio.c 25KB
stm32l1xx_dac.c 25KB
stm32l1xx_lcd.c 24KB
usbd_audio_core.c 23KB
usbh_core.c 23KB
stm32f10x_gpio.c 23KB
usb_hcd_int.c 22KB
usb_dcd_int.c 22KB
stm32l1xx_syscfg.c 22KB
system_stm32f4xx.c 21KB
sx1272-LoRa.c 21KB
stm32l1xx_aes_util.c 21KB
i2c.c 21KB
usbh_msc_scsi.c 21KB
system_stm32f2xx.c 20KB
usbd_req.c 20KB
stm32l1xx_aes.c 20KB
i2c.c 20KB
stm32l1xx_flash_ramfunc.c 20KB
stm32l1xx_opamp.c 20KB
usbh_stdreq.c 20KB
system_stm32l1xx.c 20KB
stm32l1xx_gpio.c 20KB
sx1276-Fsk.c 20KB
usbh_msc_bot.c 19KB
sx1272-Fsk.c 19KB
usbh_hid_core.c 19KB
sx1232.c 19KB
stm32f10x_dac.c 19KB
stm32f4xx_dcmi.c 18KB
usb_bsp.c 17KB
usbd_msc_scsi.c 17KB
usbh_msc_core.c 16KB
sx1276-FskMisc.c 16KB
usbd_hid_core.c 16KB
sx1272-FskMisc.c 14KB
stm32l1xx_fsmc.c 14KB
stm32f4xx_rng.c 14KB
usb_prop.c 14KB
sx1276-LoRaMisc.c 13KB
stm32l1xx_comp.c 13KB
sx1232-Misc.c 13KB
usbd_msc_core.c 13KB
sx1272-LoRaMisc.c 13KB
usbh_ioreq.c 13KB
sx1272-Hal.c 12KB
usbd_core.c 12KB
stm32f10x_cec.c 12KB
misc.c 11KB
misc.c 11KB
共 465 条
- 1
- 2
- 3
- 4
- 5
资源评论
魏诗羽
- 粉丝: 27
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Hybrid开发,基于h5+ API和mui前端框架,以及seajs模块化开发的一套跨平台APP开发框架.zip
- 计算机组成原理(COD)综合实验,带三级浮点流水的五级RISCV流水线.zip
- sm2解密出Invalid point encoding问题的解决办法
- 乐跑刷数据代码 (1).exe
- 计算机科学与工程学院15级大三短学期JAVA课设-虚拟校园系统.zip
- 备战2025电赛03-驱动1.8寸TFT-LCD屏幕
- 一个基于Java SE的跳跃忍者游戏.zip
- 大数据产业园多类型楼宇群电能共享优化运行策略
- 一个采用MVC架构设计、Java实现的泡泡堂游戏.zip
- 一个基于java socket的可以网络对战的俄罗斯方块游戏.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功