文件名称:tran_rece_ver2.0

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 238kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Yic***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

基于Freescale-smac的点对点通讯。



简介:在Router(特征:接口为COM口)上实现点对点通信。

子工程:

  1、接收端receiver_13213_ver2.0

  (目前只写了接收端部分,我打算用已经调试好的13213-NCB

  作为发送端,如果测试通过,我会写与它配套的发送端程序)

功能详述:

1、发送端与接收端上电后均为DS2点亮;

2、发送端启动以后,大约每1s发送一个数据包"ABCD",每次发送时

DS3点亮,并持续0.5s

3、接收端收到信号后,DS3将点亮,持续0.25s

4、所以总的效果是:两块板子启动以后均为DS2点亮,发送端的DS3

以1s左右为周期闪烁,灯亮的时间为0.5s;接收端的板子DS3随着发

送端的DS3闪烁,周期也为1s,但灯亮的时间为0.25s。

试验的时候,如果看到接收端的DS3在不停的闪,那么说明两块板子

能实现点对点通信。



备注:该工程的两个文件夹transmitter_13213_ver2.0、receiver_13213_ver2.0

要放到Freescale\SMAC4.2\S08\apps 目录下才能正常编译、连接,

否则可能报错。-err
(系统自动生成,下载前可以参看下载内容)

下载文件列表

receiver_13213_ver2.0

.....................\3.1

.....................\...\bin

.....................\...\...\wireless_uart_13213_NCB.abs

.....................\...\...\wireless_uart_13213_NCB.abs.s19

.....................\...\...\wireless_uart_13213_NCB.map

.....................\...\...\wireless_uart_13213_NCB.S19

.....................\...\C_Layout.hwl

.....................\...\Default.mem

.....................\...\P&E_FCS.hwc

.....................\...\P&E_FCS.hwl

.....................\...\P&E_FCS.ini

.....................\...\P&E_ICD.ini

.....................\...\receiver_13213.mcp

.....................\...\receiver_13213_Data

.....................\...\...................\13192-AxiomC

.....................\...\...................\............\TargetDataWindows.tdt

.....................\...\...................\13192-AxiomC_Loader

.....................\...\...................\...................\TargetDataWindows.tdt

.....................\...\...................\13192EVB

.....................\...\...................\........\TargetDataWindows.tdt

.....................\...\...................\13192EVB_Loader

.....................\...\...................\...............\TargetDataWindows.tdt

.....................\...\...................\13192SARD

.....................\...\...................\.........\TargetDataWindows.tdt

.....................\...\...................\13192SARD_Loader

.....................\...\...................\................\TargetDataWindows.tdt

.....................\...\...................\13203-AxiomC

.....................\...\...................\............\TargetDataWindows.tdt

.....................\...\...................\13203-AxiomC_Loader

.....................\...\...................\...................\TargetDataWindows.tdt

.....................\...\...................\13213-NCB

.....................\...\...................\.........\ObjectCode

.....................\...\...................\.........\..........\13213-NCB.c.o

.....................\...\...................\.........\..........\ascii_utilities.c.o

.....................\...\...................\.........\..........\LCD.c.o

.....................\...\...................\.........\..........\SCI.c.o

.....................\...\...................\.........\..........\sci_receiver.c.o

.....................\...\...................\.........\..........\sci_transmitter.c.o

.....................\...\...................\.........\..........\vectortable.c.o

.....................\...\...................\.........\..........\wait.c.o

.....................\...\...................\.........\..........\wireless_uart.c.o

.....................\...\...................\.........\TargetDataWindows.tdt

.....................\...\...................\13213-NCB_with_Loader

.....................\...\...................\.....................\TargetDataWindows.tdt

.....................\...\...................\13213-SRB

.....................\...\...................\.........\TargetDataWindows.tdt

.....................\...\...................\13213-SRB_with_Loader

.....................\...\...................\.....................\TargetDataWindows.tdt

.....................\...\...................\Build_all

.....................\...\...................\.........\TargetDataWindows.tdt

.....................\...\...................\CWSettingsWindows.stg

.....................\cmd

.....................\...\P&E_ICD_Postload.cmd

.....................\...\P&E_ICD_Preload.cmd

.....................\...\P&E_ICD_Reset.cmd

.....................\...\P&E_ICD_Startup.cmd

.....................\prm

.....................\...\burner.bbl

.....................\...\P&E_ICD_linker.prm

.....................\Sources

.....................\.......\bootloader user api.c

.....................\.......\bootloader user api.h

.....................\.......\sci_receiver.c

.....................\.......\sci_receiver.h

.....................\.......\sci_receiver_ver2.c

.....................\.......\sci_transmitter.c

.....................\.......\test.c

.....................\.......\vectortable.c

........

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org