In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is. and how it is used to communicate data to and from the PICmicro microcontroller.SPl is frequently used when few 1/O lines are available, but communication between two or more devices must be fast and easy to implement.In this presentation, we will discuss the following topics: We will first cover an Overview of SPI This section of the tutorial will introduce you to SPI and its concepts.Next, we will examine the use of SPI on the PICmicro MCU.The details of how SPI is implemented on a PICmicro device will be examined.Then, a Code Walkthrough will be given.The walkthough will explore code for both an SPI Master and SPI Slave. The example will have the Master generate data for sending to the slave.Finally, there will be a few resources given at the end of the presentation. These resources will allow you to explore in more detail the SPI interface
标签: spi协议
上传时间: 2022-06-20
上传用户:
摘要:介绍了以FreeModbus协议找在嵌入式抢占实时操作系统μC/OS-l的STM32平台上,成功实现了Modbus协议的移植。通过详细分析FreeModbus协议花并编写STM32F103VET6微处理器的底层驱动,成功实现了工业Modbus协议RTU和ASCll两种模式的通信功能。测试结果表明,在实际工业生产控制和仪表开发中,应用Freemodbus协议,完全符合工业数据采集、实时控制和数据处理等厂级重复性和精确度要求,在一定程度上降低了工业仪表开发的周期及成本。关键词:实时操作系统,uC/OS-ll,FreeModbus,Modbus协议,STM32Abstract:This paper introduces FreeModbus stack transplanted to the STM32 platform which has been embedded in the preemptive real-time operating system uC/OS-ll,in order that the transplantation of the Modbus protocol is successfuly im-plemented.The FreeModbus stack is analyzed in detail and STM32F103VET6 microprocessor underlying driver is writed,so that the two Modbus industrial communication function RTU and ASCll are successfully realized.Keywords:time operating system,uC/OS-ll,.FreeModbus,Modbus协议,STM32
标签: freemodbus 通信协议
上传时间: 2022-06-25
上传用户:
Datasheet SHT3x-DISHumidity and Temperature Sensor Fully calibrated, linearized, and temperaturecompensated digital output Wide supply voltage range, from 2.4 V to 5.5 V I2C Interface with communication speeds up to 1MHz and two user selectable addresses Typical accuracy of 2 %RH and 0.3 °C Very fast start-up and measurement time Tiny 8-Pin DFN package
上传时间: 2022-06-29
上传用户:
ILI9881D Data Sheet for all customerAmorphous TFT LCD Single-Chip Driver 800(RGB)X1280 Resoltion,16.7M-Color Without internal Gramtwo data lanes supports up to 850Mbps on the mipi DSI link
上传时间: 2022-07-19
上传用户:bluedrops
The GD32F103xx device is a 32-bit general-purpose microcontroller based on the ARM?Cortex?-M3 RISC core with best ratio in terms of processing power, reduced power consumption and peripheral set. The Cortex?-M3 is a next generation processor core whichis tightly coupled with a Nested Vectored Interrupt Controller (NVIC), SysTick timer and advanced debug support.The GD32F103xx device incorporates the ARM ' Cortex?-M3 32-bit processor core operating at 108 MHz frequency with Flash accesses zero wait states to obtain maximumefficiency. It provides up to 3 MB on-chip Flash memory and up to 96 KB SRAM memory. An extensive range of enhanced I/Os and peripherals connected to two APB buses. The devices offer up to three 12-bit ADCs, up to two 12-bit DACs, up to ten general-purpose
标签: gd32f103
上传时间: 2022-07-23
上传用户:aben
MT7688 family integrates a 1T1R 802.11n Wi-Fi radio,a 580MHz MIPS? 24KEcTM CPU,1-port fast Ethernet PHY, USB2.0 host, PCIe, SD-XC,I2S/PCM and multiple slow IOs. MT7688 provides two operation modes-IoT gateway mode and IoT device mode. In IoT gateway mode, the PCI Express interface can connect to 802.1lac chipset for 1lac dual-band concurrent gateway. The high performance USB2.0 allows MT7688 to add 3G/LTE modem support or add a H.264 ISP for wireless IP camera. For the IoT device mode, MT7688 supports eMC, SD-XC and USB 2.0. MT7688 can support the Wifi high quality audio via 192Kbps/24bits I2S interface and VolP application through PCM. In IoT device mode, it further supports PWM, SPI slave,3d UARI and more GPIOs. For IoT gateway, it canl connect to touch panel and BLE, Zigbee/Z-Wave and sub-1G RF for smart home control.
上传时间: 2022-07-24
上传用户:
STM32F驱动L6470 ■ Operating voltage: 8 - 45 V■ 7.0 A out peak current (3.0 A r.m.s.)■ Low RDS(on) Power MOSFETs■ Programmable speed profile and positioning■ Programmable power MOS slew rate■ Up to 1/128 microstepping■ Sensorless stall detection■ SPI interface■ Low quiescent and standby currents■ Programmable non-dissipative overcurrentprotection on high and low-side■ Two levels of overtemperature protection
标签: l6470
上传时间: 2022-07-25
上传用户:kingwide
VIP专区-嵌入式/单片机编程源码精选合集系列(66)资源包含以下内容:1. 适用与S3C2410A和S3C2440A的SD卡驱动程序.2. 这款无线报警主机对任何发射频率为315M.3. 精密可调基准电压发生器源程序 --- 2006-3-18 16:58:.4. 汉字点阵滚动指示牌源程序 --- 2006-3-18 16:59:00.5. 近日对农历计算感兴趣.6. 串口通讯实例 高精度电压表(24bit).7. 我刚下的原码,不知道可以用吗,大家帮我看看,.8. at89s51加上ptr2000模块实现短距离无线通信.9. FPGA/CPLD集成开发环境ise的使用详解 示例代码7.10. FPGA/CPLD集成开发环境ise的使用详解 示例代码8.11. FPGA/CPLD集成开发环境ise的使用详解 示例代码9.12. FPGA/CPLD集成开发环境ise的使用详解 示例代码10.13. FPGA/CPLD集成开发环境ise的使用详解 示例代码.14. 主要介绍蓝牙鼠标的接口程序,与目前多人研究的方向一致..15. 系统控制程序代码 智能电表主控程序 1、计算电量、电费 6 2、接受键盘输入.16. zigbee开发基础知识,包括应用领域,ZIGBEE优势和初步的802.14.5协议介绍,四个文档.17. 键盘扫描程序.18. 介绍音频数字水印的制作.19. MInigui的消息框实验,针对Smartarm2200开发板.20. MInigui的对话框实验,针对Smartarm2200开发板.21. MInigui的控件实验,针对Smartarm2200开发板.22. MInigui的自定义控件实验,针对Smartarm2200开发板.23. MInigui的编辑框实验,针对Smartarm2200开发板.24. MInigui的位图实验,针对Smartarm2200开发板.25. 在用IAR开发AT91SAMSE系列中外扩sdram的源码。.26. AT91SAM7SE系列IAR编程中外扩NAND的源码。.27. 这是sd卡驱动的源代码.28. MiniGUI图形界面实验系列之桌面主题实验例程。.29. MiniGUI图形界面实验系列之位图操作例程.30. MiniGUI图形界面实验系列之对话框实验例程。.31. MiniGUI图形界面实验系列之gdi绘图实验例程。.32. MiniGUI图形界面实验系列之控件应用实验例程。.33. CC1000通信.34. Two pdf format ZigBee overviews. It is useful for known ZigBee technology..35. 基于CPLD的USB下载电缆设计.36. 这是一个MAX518的驱动程序,已调试过的,欢迎大家下载.37. 使用STK500_2 协议的bootloader.38. 如果有的压缩文件解压需要密码.39. 打开压缩文件后安装.EXE文件,在安装的目录下有MPLAB MCC18的工程文件MassStorage,即USB大容量存储器的源代码.40. 基于ST7920A控制器的128*64液晶驱动程序.
上传时间: 2013-05-19
上传用户:eeworm
VIP专区-嵌入式/单片机编程源码精选合集系列(161)资源包含以下内容:1. 温度监视器.2. 通过按键在3位一体的数码管上显示数字.3. 在IAR 环境下.4. pruotues仿真教程 pruotues仿真教程 pruotues仿真教程.5. 嵌入式系统设计的好书.6. i2c总线的verilog代码.7. 1、实验目的 掌握编写一般GUI程序的基本步骤.8. 红色飓风原理图.9. G代码生成软件.10. msp430F437三相电表DEMO(编译器 IAR 3.42A).11. 键盘程序:基于cpld开发环境的4*4键盘程序.12. ADS下开发的A/D转换器AD7892及LCD显示程序.13. mcs51单片机键盘扫描程序.14. 给出了一种基于$3C2410嵌入式SoC的网络视频会议终端的实现方案.15. 在仿真软件protues7.1上仿真arm7的GUI的代码和protues的工程文件。是学习arm的一个好东西.16. c51的原理图啊.17. 温度传感器ds18b20的完整程序.18. 中兴MG815+CDMA模块USB转接原理图及PCB图(基于CP2102的USB TO RS232转接原理.19. Michael J. Pont 的嵌入式系统编程讲座1.20. PIC 的ip 有用的着的拿去看看吧 对于开发pci总线会有很大帮助的.21. AT91RM9260PMC程序,程序和ATMEL9260EK开发板配套.22. Embedded VC++ 4 Programmer s Guide.23. ylp2410的bootloader源码.24. McCraw-Hill - Wap A Beginner s Guide Ebook-fly.25. 能够实现步进电机的正转反转.26. 很好的资料和大家分享 飓风板的原理图.27. 文章的内容是有关嵌入式编程用到的工具-MAKE的中文手册..28. 飞思卡尔智能车摄像头的完整程序.29. STM32的程序.30. 基于PLC控制交流变频调速电梯系统的研究的一篇pdf格式说明文档。.31. This a GUI that manages DSP analysis functions for wav-files (e.g., speech signals). Two functions (.32. 《嵌入式系统设计与实例开发》王田苗 北航出版社.33. 嵌入式开发中用于自制JTAG的dll文件.34. 黑色经典系列 arm嵌入式系统开发典型模块.35. 51系列的软件包,有i2c驱动,各种芯片的介绍.36. 此程序是在AVR单片机atmega169P处理器的程序.37. 关于手机BOOTLADER相关.38. 华中机床的plc程序.39. 键盘的源码的程序.40. 是北京智心工作室的基于MPC8280设计的核心板使用手册.
标签: 微带天线
上传时间: 2013-06-14
上传用户:eeworm
VIP专区-嵌入式/单片机编程源码精选合集系列(164)资源包含以下内容:1. 嵌入式ARC平台参考资料.2. c8051f020 ds1620 温度传感器 调通了 keil下开发.3. 让蜂鸣器唱歌的程序,利用从音乐中提取出的文件资料,控制发音长短来实现.4. 基于凌阳单片机spmc75f2413的步进电机3轴联动空间圆弧插补源程序.5. Oreilly出版的权威的dojo教材.6. 基于嵌入式操作系统的网络监控系统.7. 基于arm的嵌入式开发程序设计.8. 一片关于ARM9处理器的bootloader的分析与设计论文.9. 用verilog写的对OCMJ2X8液晶模块控制代码.10. 状态机的应用。在嵌入式系统中状态机使用非常频繁.11. AD89C51单片机控制液晶显示器LCD1602显示时间。.12. T-Kernel 嵌入式系统源码.13. 这是一个重要的CPLD文件 具有很高的参考价值.14. 利用ARM2103编写的实时时钟程序.15. minigui编程手册.16. 用TEA5767 自己动手制作的收音机。效果很好.17. ARM嵌入式系统的通用bootloader的设计与实现.18. AVR驱动7219程序.19. cypress的开发框架.20. RFID读卡终端C程序设计基于51单片机实现.21. ARM与嵌入式系统基础教程 ARM与嵌入式系统基础教程.22. GUI代码,用与实现相关GUI的功能,如有需要即可自由下载!.23. 一个基于周立功EASYARM2000平台的一个小程序 定时器来实现蜂鸣器的开关 各0.5s.24. TCP/IP协议栈原代码(C语言)很好的理解TCP/IP的技术材料.25. c51+proteus 18B20 温度传感器实验.26. i2c 总线详细介绍及相关编程说明.27. c51+proteus仿真+7seg Max7221动态显示.28. E: oolLAB Proteus实例播放音乐 说明:8051单片机播放音乐.29. linux是最好的嵌入式设计操作系统,资源开源,并且可以支持很多种嵌入式IC.30. CAN51开发板功能 1、 USB或DC+5V供电; 2、 89c52+sja1000+tja1050(tja1040)(p82c250);89c52+mcp2515+tja1050(t.31. RT73在嵌入式领域最稳定的驱动 官网已经取消下载.32. 这是用prolog语言开发的系统.33. 嵌入式C使用的汇总.34. 现在Arm系统是非常成熟和广泛的嵌入式系统.本文是Arm嵌入式开发系统的介绍.35. 《LinuxuClinux+MiniGUI+嵌入式系统开发原理、工具及过程》.36. These instances, whenmapped to an N-dimensional space, represent a core set that can be used to con.37. 一个用IO口来模拟串口通讯的软件.38. 一个对93C46进行编程的软件.39. 红外解码 LCD显示程序,用处广泛 此程序仅用于学习交流使用,.40. 图解电子器件 学习嵌入式系统的朋友.
标签: 红外探测器
上传时间: 2013-04-15
上传用户:eeworm