【E99】STM8S003 SI4463上的同步和异步收发器

2021-08-14 20:32:25      索炜达电子      608     

项目编号:E99

文件大小:7M

源码说明:带中文注释

开发环境:C编译器

简要概述:

Simple Transceiver on SI4463 (HC-12)

【E99】STM8S003 SI4463上的同步和异步收发器

Such a thing can be bought on the ebay. Soldering STM8, because can not reprogram it.

In repository:

  • Project IAR for STM8S. Program for simple tx-rx data by uart.

  • Project Wireless Development Suite (WDS) - Settings SI4463.

  • STM8CubeMX Project + PDF

Corrected errors:

  • Added folder Library

  • Added buffer cleaning si4463 after receiving data (there were problems)

  • Added comments and improved code

  • Improved data reception from UART

How to work sync mode: 

【E99】STM8S003 SI4463上的同步和异步收发器

If change flag SYNCHRO_MODE to 1 (in main.c), the program will synchronously receive and transmit data by uart. When the (by UART) appears in one data transmitter, it will begin to synchronize. This will protect against collisions. Synchronization time (500ms) can be changed.

In simple mode (SYNCHRO_MODE = 0), the transceiver is always in receive mode. When data appears by UART, it transmits (by RF) it and goes back to receive mode.

文件列表:

目录│文件列表:

 └ STM8S003_AND_SI4463

    │ HC-12.jpg

    │ main.c

    │ main.h

    │ radio_config_Si4463.h

    │ radio_config_Si4463_433MHz.h

    │ readme.txt

    │ Release_Notes.html

    │ RfTransceiver.c

    │ RfTransceiver.h

    │ Si4463.c

    │ Si4463.h

    │ si4463_revb1_empty_framework ForHC-12.xml

    │ si4463_revb1_empty_framework ForHC-12_was.xml

    │ si446x_defs.h

    │ STM8S003 Cube.ioc8

    │ STM8S003 Cube.pdf

    │ stm8s_conf.h

    │ stm8s_it.c

    │ stm8s_it.h

    │ synchroMode.png

    ├ EWSTM8

    │  │ Backup of Project.ewd

    │  │ Backup of Project.ewp

    │  │ Project.dep

    │  │ Project.ewd

    │  │ Project.ewp

    │  │ Project.ewt

    │  │ Project.eww

    │  │ readme.txt

    │  ├ settings

    │  │  │ Project.dbgdt

    │  │  │ Project.dni

    │  │  │ Project.STM8S208.cspy.bat

    │  │  │ Project.STM8S208.driver.xcl

    │  │  │ Project.STM8S208.general.xcl

    │  │  │ Project.wsdt

    │  │  └ Project.wspos

    │  └ STM8S208

    │     └ Obj

    │        │ main.pbi

    │        │ main.pbi.cout

    │        │ Project.pbd

    │        │ Project.pbd.browse

    │        │ RfTransceiver.o

    │        │ RfTransceiver.pbi.cout

    │        │ Si4463.pbi

    │        │ Si4463.pbi.cout

    │        │ stm8s_adc1.pbi.cout

    │        │ stm8s_adc2.pbi

    │        │ stm8s_adc2.pbi.cout

    │        │ stm8s_awu.pbi

    │        │ stm8s_awu.pbi.cout

    │        │ stm8s_beep.pbi

    │        │ stm8s_beep.pbi.cout

    │        │ stm8s_can.pbi

    │        │ stm8s_can.pbi.cout

    │        │ stm8s_clk.pbi

    │        │ stm8s_clk.pbi.cout

    │        │ stm8s_exti.pbi

    │        │ stm8s_exti.pbi.cout

    │        │ stm8s_flash.pbi

    │        │ stm8s_flash.pbi.cout

    │        │ stm8s_gpio.pbi

    │        │ stm8s_gpio.pbi.cout

    │        │ stm8s_i2c.pbi

    │        │ stm8s_i2c.pbi.cout

    │        │ stm8s_it.pbi

    │        │ stm8s_it.pbi.cout

    │        │ stm8s_itc.pbi

    │        │ stm8s_itc.pbi.cout

    │        │ stm8s_iwdg.pbi

    │        │ stm8s_iwdg.pbi.cout

    │        │ stm8s_rst.pbi

    │        │ stm8s_rst.pbi.cout

    │        │ stm8s_spi.pbi

    │        │ stm8s_spi.pbi.cout

    │        │ stm8s_tim1.pbi

    │        │ stm8s_tim1.pbi.cout

    │        │ stm8s_tim2.pbi

    │        │ stm8s_tim2.pbi.cout

    │        │ stm8s_tim3.pbi

    │        │ stm8s_tim3.pbi.cout

    │        │ stm8s_tim4.pbi

    │        │ stm8s_tim4.pbi.cout

    │        │ stm8s_tim5.pbi.cout

    │        │ stm8s_tim6.pbi.cout

    │        │ stm8s_uart1.pbi

    │        │ stm8s_uart1.pbi.cout

    │        │ stm8s_uart2.pbi.cout

    │        │ stm8s_uart3.pbi

    │        │ stm8s_uart3.pbi.cout

    │        │ stm8s_uart4.pbi.cout

    │        │ stm8s_wwdg.pbi

    │        └ stm8s_wwdg.pbi.cout

    └ Libraries

       └ STM8S_StdPeriph_Driver

          │ Release_Notes.html

          │ stm8s-a_stdperiph_drivers_um.chm

          ├ inc

          │  │ stm8s.h

          │  │ stm8s_adc1.h

          │  │ stm8s_adc2.h

          │  │ stm8s_awu.h

          │  │ stm8s_beep.h

          │  │ stm8s_can.h

          │  │ stm8s_clk.h

          │  │ stm8s_exti.h

          │  │ stm8s_flash.h

          │  │ stm8s_gpio.h

          │  │ stm8s_i2c.h

          │  │ stm8s_itc.h

          │  │ stm8s_iwdg.h

          │  │ stm8s_rst.h

          │  │ stm8s_spi.h

          │  │ stm8s_tim1.h

          │  │ stm8s_tim2.h

          │  │ stm8s_tim3.h

          │  │ stm8s_tim4.h

          │  │ stm8s_tim5.h

          │  │ stm8s_tim6.h

          │  │ stm8s_uart1.h

          │  │ stm8s_uart2.h

          │  │ stm8s_uart3.h

          │  │ stm8s_uart4.h

          │  └ stm8s_wwdg.h

          └ src

             │ stm8s_adc1.c

             │ stm8s_adc2.c

             │ stm8s_awu.c

             │ stm8s_beep.c

             │ stm8s_can.c

             │ stm8s_clk.c

             │ stm8s_exti.c

             │ stm8s_flash.c

             │ stm8s_gpio.c

             │ stm8s_i2c.c

             │ stm8s_itc.c

             │ stm8s_iwdg.c

             │ stm8s_rst.c

             │ stm8s_spi.c

             │ stm8s_tim1.c

             │ stm8s_tim2.c

             │ stm8s_tim3.c

             │ stm8s_tim4.c

             │ stm8s_tim5.c

             │ stm8s_tim6.c

             │ stm8s_uart1.c

             │ stm8s_uart2.c

             │ stm8s_uart3.c

             │ stm8s_uart4.c

             └ stm8s_wwdg.c

TAGSI4463
  • 5 次
  • 1 分