这个公式是简化后的公式,并且为了增加计算速度,将除法转换成了右移4位!将温度计算补偿合并成了常数 315。
你可以看看TI公司的参考文档:DN102(参考资料),这个文档里详细说明了CC1110 • CC1111• CC2430• CC2431• CC2510 • CC2511几个芯片的温度计算原理及方法。下边我把我的理解写上!
根据文档,可以得出计算温度的公式(考虑有岩塌偏移误差)为:
T = (Voutput[mV] - (V0[mV] + Offset[mV]))/Temp coefficient
其中:
Voutput:AD转换取得电压。计算公式为:Voutput = ADC_VALUE*1250/8191。
V0:0℃时传感器输出电压。
Offset:温度偏移电压。计算公式为:Offset = V25 - (Temp coefficient * 25 + V0)。V25为25℃时传感器输出电压。
Temp coefficient:电压-温度关系系数。此处,cc2430应该为2.45mv/℃。
将公式展开:
T = ADC_VALUE*1250/8191/Temp coefficient - (V0[mV] + (V25 - (Temp coefficient * 25 + V0)))/Temp coefficient
将参数带入,可得:
=ADC_VALUE/16.05436 - (V25 - 61.25)/2.45
根据你的计算公式,进行的虚兄是近似计算,不是每个产品都进行了率定,所以那个315应该是一个经验值!
晕啊!没有分啊!!我在网上查了好长时差枣袭间资料,看文档、推导公式是很耗时间滴啊!!!
由于不能发文件,所以这样回答了,请把一下内容复制到新建的一个文件中,比如文件名叫cc2540_usb_cdc.inf,内携灶容如下:Texas Instruments CCxxxx USB Serial Port Setup File
Based on Windows USB CDC ACM Setup File
Copyright (c) 2000 Microsoft Corporation
Copyright (c) 2013 Texas Instruments Inc
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%PROVIDER%
DriverVer=04/05/2013,1.2.0.0
CatalogFile=ccxxxx_usb_cdc.cat
[Manufacturer]
%MFGNAME%=DeviceList,NTx86,NTamd64
[DeviceList.NTx86]
%DESC_SRFEB%= DriverInstall, USB\VID_0451&PID_16B6
%DESC_CC2511% = DriverInstall, USB\VID_0451&PID_16A4
%DESC_CC1111% = DriverInstall, USB\VID_0451&PID_16A6
%DESC_CC2531% = DriverInstall, USB\VID_0451&PID_16A8
%DESC_CC2540% = DriverInstall, USB\VID_0451&PID_16AA
%DESC_CC2544% = DriverInstall, USB\VID_0451&PID_16C5
%DESC_CC2538% = DriverInstall, USB\VID_0451&PID_16C8
%DESC_CCXXXXBL% = DriverInstall, USB\侍雹VID_0451&PID_16C7
%DESC_REMOTINP% = DriverInstall, USB\VID_0451&PID_16B1
[DeviceList.NTamd64]
%DESC_SRFEB%= DriverInstall, USB\VID_0451&PID_16B6
%DESC_CC2511% = DriverInstall, USB\VID_0451&PID_16A4
%DESC_CC1111% = DriverInstall, USB\VID_0451&PID_16A6
%DESC_CC2531% = DriverInstall, USB\VID_0451&PID_16A8
%DESC_CC2540% = DriverInstall, USB\VID_0451&PID_16AA
%DESC_CC2544% = DriverInstall, USB\VID_0451&PID_16C5
%DESC_CC2538% = DriverInstall, USB\VID_0451&PID_16C8
%DESC_CCXXXXBL% = DriverInstall, USB\VID_0451&PID_16C7
%DESC_REMOTINP% = DriverInstall, USB\老隐帆VID_0451&PID_16B1
------------------------------------------------------------------------------
Windows 32-bit sections
------------------------------------------------------------------------------
[DriverInstall.NTx86]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverRegistryKeys
[DriverInstall.NTx86.Services]
AddService=usbser, 0x00000002, DriverService
------------------------------------------------------------------------------
Windows 64-bit sections
------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverRegistryKeys
[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService
------------------------------------------------------------------------------
------------------------------------------------------------------------------
[DriverRegistryKeys]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverService]
DisplayName = %SERVICE%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\usbser.sys
------------------------------------------------------------------------------
String Definitions
------------------------------------------------------------------------------
[Strings]
PROVIDER = "Texas Instruments"
MFGNAME = "Texas Instruments"
SERVICE = "TI USB CDC Driver"
DESC_SRFEB= "TI SmartRFEB USB CDC Serial Port"
DESC_CC1111 = "TI CC1111 USB CDC Serial Port"
DESC_CC2511 = "TI CC2511 USB CDC Serial Port"
DESC_CC2531 = "TI CC2531 USB CDC Serial Port"
DESC_CC2538 = "TI CC2538 USB CDC Serial Port"
DESC_CC2540 = "TI CC2540 USB CDC Serial Port"
DESC_CC2544 = "TI CC2544 USB CDC Serial Port"
DESC_CCXXXXBL = "TI CCxxxx Generic USB CDC Boot Loader"
DESC_REMOTINP = "RemoTI Network Processor"
adobe photoshop cc是Adobe公司最新推出的图片扒行处理软件,Photoshop CC2015(Creative Cloud)的开始意味着CS系列开发的结束,它除去CS6版本中所包含的功能,新增相机防抖动功能、CameraRAW功能改进、图像提升采样、属性面板改进、Behance集成等功能,以及Creative Cloud,即云功能。其安装破解方法是:1、在百度上搜索“adobe photoshop cc2015软件”,在官网上下载中文完整版破解软件安装包,体积大约1.26G;2、解压下载的PS CC软件,打开文件夹,双击“Set-up.exe”进行春此掘正常安装;3、点击“安装”按钮(注意:不要点击“试用”按钮,否则安装的结果就不是完整版的);4、点击右下角“登录”按钮,点击“稍扒核后连接”按钮,然后点击“接受”按钮;5、随意输入序列号,如分别输入111 222 333 123 321 211,点击“下一步”按钮,点击“稍后连接”按钮;6、根据自己电脑系统,是64位系统的就都选择64位的,是32位系统的只有一个了,点击“安装”按钮,进行安装;7、双击桌面图标,d出“需要登录”对话框,点击“以后登录”按钮,打开PS CC程序,d出提示对话框,勾选“不再显示”复选框,点击“确定”按钮,关闭程序;8、破解,就是根据自己电脑系统,是64位系统的就复制64位破解补丁到程序的安装目录,默认是:C:\Program Files\Adobe\Adobe Photoshop CC(64bit),出现“复制文件”提示,点击“复制和替换”,这样64位的就完成破解。同样的方法,是32位程序创建桌面快捷方式,就复制32位破解补丁到程序的安装目录,“复制和替换”,完成32位的破解,完成。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)