• 大小: 4.54MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-17
  • 语言: 其他
  • 标签: ADS1256  STM32  

资源简介

里面包括了ADS1256芯片资料的datasheet、中文应用论文资料、基于STM32的例ADS1256程序,已经调通测试过的(还有一些是网络上面收集的程序【压缩文件中已说明】在此表示感谢,如有不妥之处,请留言)

资源截图

代码片段和文件信息

#include “stm32f10x_lib.h“
#include “ads1255.h“

//----------------------------------------------------------
#define REG_STAUTS      0x00
#define ORDER_MSB  (0<<3)
#define ORDER_LSB  (1<<3)
#define ACAL_ENABLE (1<<2)
#define ACAL_DISABLE (0<<2)
#define BUF_ENABLE (1<<1) //缓冲器使能
#define BUF_DISABLE (0<<1) //缓冲器使能

//----------------------------------------------------------
#define REG_MUX  0x01
#define PAIN0  0x00
#define PAIN1  0x10
#define PAIN2  0x20
#define PAIN3  0x30
#define PAIN4  0x40
#define PAIN5  0x50
#define PAIN6  0x60
#define PAIN7  0x70
#define PAINCOM 0x80
#define NAIN0  0x00
#define NAIN1  0x01
#define NAIN2  0x02
#define NAIN3  0x03
#define NAIN4  0x04
#define NAIN5  0x05
#define NAIN6  0x06
#define NAIN7  0x07
#define NAINCOM 0x08

//------------------------------------------------------------
#define REG_ADCON  0x02

#define CLKOUT_OFF (0x00<<5)
#define CLKOUT_CLKIN (0x01<<5)
#define CLKOUT_CLKIN_DIV2 (0x02<<5)
#define CLKOUT_CLKIN_DIV4 (0x03<<5)

#define SD_OFF (0x00<<3)
#define SD_05UA (0x01<<3)
#define SD_2UA (0x02<<3)
#define SD_10UA (0x03<<3)

#define PGA_1 (0x00)
#define PGA_2 (0x01)
#define PGA_4 (0x02)
#define PGA_8 (0x03)
#define PGA_16 (0x04)
#define PGA_32 (0x05)
#define PGA_64 (0x06)
//--------------------------------------------------------------
#define REG_DRATE  0x03

#define DRATE_2_5 0x03
#define DRATE_5 0x13
#define DRATE_10 0x23
#define DRATE_15 0x33
#define DRATE_25 0x43
#define DRATE_30 0x53
#define DRATE_50 0x63
#define DRATE_60 0x72
#define DRATE_100 0x82
#define DRATE_500 0x92
#define DRATE_1000 0xa1
#define DRATE_2000 0xb0
#define DRATE_3750 0xc0
#define DRATE_7500 0xd0
#define DRATE_15000 0xe0
#define DRATE_30000 0xf0
//---------------------------------------------------------------
#define REG_GPIOC 0x04
//---------------------------------------------------------------
#define REG_OFC0 0x05
//---------------------------------------------------------------
#define REG_OFC1 0x06
//---------------------------------------------------------------
#define REG_OFC2 0x07
//---------------------------------------------------------------
#define REG_FSC0 0x08
//---------------------------------------------------------------
#define REG_FSC1 0x09
//---------------------------------------------------------------
#define REG_FSC2 0x0a
//---------------------------------------------------------------


#define CMD_WAKEUP 0x00
#define CMD_RDATA 0x01
#define CMD_RDATAC 0x03
#define CMD_SDATAC 0x0f
#define CMD_RREG 0x10
#define CMD_WREG 0x50
#define CMD_SELFCAL 0xf0
#define CMD_SELFOCAL 0xf1
#define CMD_SELFGCAL 0xf2
#define CMD_SYSOCAL 0xf3
#define CMD_SYSGCAL 0xf4
#define CMD_SYNC 0xfc
#define CMD_STANDBY 0xfd
#define CMD_RESET 0xfe



unsigned char result1;
unsigned char result2;
unsigned char result3;
unsigne

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     424304  2010-08-31 09:07  ADS1256\24位AD转换器ADS1255及其应用.pdf

     文件       6967  2010-09-04 14:36  ADS1256\ads1255.c

     文件       1290  2010-09-04 14:13  ADS1256\ads1255.h

     文件       9715  2010-09-07 13:45  ADS1256\ADS1256.C

     文件        416  2010-08-31 16:36  ADS1256\ads1256.h

     文件       9161  2010-09-04 14:28  ADS1256\ADS1256_old.C

     文件        416  2010-08-31 16:36  ADS1256\ads1256_old.h

     文件     437322  2010-08-30 14:47  ADS1256\ADS1256芯片资料.pdf

     文件       9707  2010-09-07 13:38  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\ADS1256.C

     文件        416  2010-08-31 16:36  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\ads1256.h

     文件       6008  2010-09-07 13:41  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\GPIO.Opt

     文件       7118  2010-09-03 17:48  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\GPIO.Uv2

     文件       6007  2010-09-07 13:38  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\GPIO_Opt.Bak

     文件      39899  2010-09-07 13:38  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\GPIO_STM32F10x Release.dep

     文件       7118  2010-09-02 16:06  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\GPIO_Uv2.Bak

     文件       9138  2010-08-27 15:55  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\H340I.c

     文件        756  2010-08-27 14:46  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\H340I.h

     文件       8057  2010-04-29 13:33  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\hw_config.c

     文件       2311  2010-04-27 16:32  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\hw_config.h

     文件      17273  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c

     文件      85714  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h

     文件      15403  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\Release_Notes_for_STM32F10x_CMSIS.html

     文件      15761  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s

     文件      15498  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s

     文件      12371  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s

     文件      13651  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s

     文件      12764  2010-08-28 13:35  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s

     文件      14068  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s

     文件      12943  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s

     文件      13042  2010-02-28 15:40  ADS1256\STM32_USB_ADS1256\STM32_USB_ADS1256\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s

............此处省略512个文件信息

评论

共有 条评论