资源简介
sx1278 Lora无线官方资料包,有Altium Designe 工程文件,电容电感参数匹配,说明文档等资料。
代码片段和文件信息
/*
* THE FOLLOWING FIRMWARE IS PROVIDED: (1) “AS IS“ WITH NO WARRANTY; AND
* (2)TO ENABLE ACCESS TO CODING INFORMATION TO GUIDE AND FACILITATE CUSTOMER.
* CONSEQUENTLY SEMTECH SHALL NOT BE HELD LIABLE FOR ANY DIRECT INDIRECT OR
* CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT
* OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION
* CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* Copyright (C) SEMTECH S.A.
*/
/*!
* \file main.c
* \brief Ping-Pong example application on how to use Semtech‘s Radio
* drivers.
*
* \version 2.0
* \date Nov 21 2012
* \author Miguel Luis
*/
#include
#include
#include
#include “platform.h“
#include “led.h“
#if USE_UART
#include “uart.h“
#endif
#include “radio.h“
#define BUFFER_SIZE 9 // Define the payload size here
static uint16_t BufferSize = BUFFER_SIZE; // RF buffer size
static uint8_t Buffer[BUFFER_SIZE]; // RF buffer
static uint8_t EnableMaster = true; // Master/Slave selection
tRadioDriver *Radio = NULL;
const uint8_t PingMsg[] = “PING“;
const uint8_t PongMsg[] = “PONG“;
/*
* Manages the master operation
*/
void OnMaster( void )
{
uint8_t i;
switch( Radio->Process( ) )
{
case RF_RX_TIMEOUT:
// Send the next PING frame
Buffer[0] = ‘P‘;
Buffer[1] = ‘I‘;
Buffer[2] = ‘N‘;
Buffer[3] = ‘G‘;
for( i = 4; i < BufferSize; i++ )
{
Buffer[i] = i - 4;
}
Radio->SetTxPacket( Buffer BufferSize );
break;
case RF_RX_DONE:
Radio->GetRxPacket( Buffer ( uint16_t* )&BufferSize );
if( BufferSize > 0 )
{
if( strncmp( ( const char* )Buffer ( const char* )PongMsg 4 ) == 0 )
{
// Indicates on a LED that the received frame is a PONG
LedToggle( LED_GREEN );
// Send the next PING frame
Buffer[0] = ‘P‘;
Buffer[1] = ‘I‘;
Buffer[2] = ‘N‘;
Buffer[3] = ‘G‘;
// We fill the buffer with numbers for the payload
for( i = 4; i < BufferSize; i++ )
{
Buffer[i] = i - 4;
}
Radio->SetTxPacket( Buffer BufferSize );
}
else if( strncmp( ( const char* )Buffer ( const char* )PingMsg 4 ) == 0 )
{ // A master already exists then become a slave
EnableMaster = false;
LedOff( LED_RED );
}
}
break;
case RF_TX_DONE:
// Indicates on a LED that we have sent a PING
LedToggle( LED_RED );
Radio->StartRx( );
break;
default:
break;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 225267 2015-05-22 10:42 SX1278官网资料\SX1278官网资料\AN1200.18_AG.pdf
文件 810517 2015-05-06 11:36 SX1278官网资料\SX1278官网资料\AN1200.19_SX127x_RefDesign_AG.pdf
文件 838528 2015-05-22 10:21 SX1278官网资料\SX1278官网资料\an1200.24_ag.pdf
文件 1501426 2015-04-24 11:55 SX1278官网资料\SX1278官网资料\SX1272LoRaCalculatorSetup1‘1.zip
文件 3867598 2015-05-06 11:39 SX1278官网资料\SX1278官网资料\sx1272_ag.pdf
文件 4356401 2015-04-24 13:40 SX1278官网资料\SX1278官网资料\SX1276DevKit_Userguide_AG.pdf
文件 763447 2013-04-12 14:43 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276RF1JAS_e268v01a_PCB_Package.zip
文件 18133 2013-04-05 22:51 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.Annotation
文件 102647 2015-04-24 18:03 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.AnnotationPreview
文件 4161 2013-04-12 16:33 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.OutJob
文件 1286144 2013-04-12 16:30 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PcbDoc
文件 6284 2015-05-11 09:56 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PcbDoc.htm
文件 71478 2015-05-11 09:56 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PcbDocPreview
文件 957440 2013-04-04 22:41 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PcbLib
文件 4454 2015-05-06 10:18 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PcbLib.htm
文件 128216 2013-04-12 16:33 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PrjPCB
文件 57 2015-04-24 18:03 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.PrjPCBStructure
文件 683008 2013-04-12 16:22 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.SchDoc
文件 115331 2015-05-11 09:56 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.SchDocPreview
文件 108032 2013-04-04 22:40 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a.SchLib
文件 85666 2013-04-12 16:31 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a_Drill.Cam
文件 1850023 2013-04-12 16:31 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Altium PCB package\SX1276_e268v01a_Layout.Cam
文件 308979 2013-04-30 16:53 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\gerbers files\SX1276RF1JAS_e268v01a_gerbers_new.zip
文件 20106 2013-04-17 23:05 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\Pick Place for SX1276RF1JAS_e268v01a.xlsx
文件 14724 2013-09-03 22:19 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\SX1276RF1JAS_e268v01a_BOM.pdf
文件 407786 2013-04-12 14:32 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\SX1276RF1JAS_e268v01a_layout.pdf
文件 362777 2013-05-02 19:22 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\SX1276RF1JAS_e268v01a_LQG_inductors.pdf
文件 131917 2013-04-19 22:53 SX1278官网资料\SX1278官网资料\SX1276RF1JAS_e268v01a\SX1276RF1JAS_e268v01a_sch.pdf
文件 3081022 2015-05-06 17:06 SX1278官网资料\SX1278官网资料\sx1276_ag.pdf
文件 13331 2013-11-08 20:24 SX1278官网资料\SX1278官网资料\SX12xxDrivers-2.0.0\doc\README.txt
............此处省略1188个文件信息
相关资源
- AI 安信可 Ra-01/Ra-02 LoRa 模块用户手册
- STM8和SX1278的原理图
- 基于sx1278的硬件设计参考
- Lora常见问题
- sx1276 sx1278 阻抗匹配设计指南
- Lora sx1278 477MHz PA_BOOST输出电容电感网
- STM32F030/SX1278扩频Lora无线模块收发测试
- STM32F103的LoRa模块驱动源代码
- sx1276/sx1278驱动代码例程LORA
- LORA实现收发,SX1278+STM32F103
- STC51低功耗加LoRA收发程序
- STM32 SX1278测试程序带原理图看评论酌
- SX1278中文手册英文手册带笔记
- sx1278中文手册
- SX1276中文数据手册
- STM32 SX1278
- SX1278-STM8测试代码
- SX12xx 中文数据手册+驱动.rar
评论
共有 条评论