利用PT100或PT1000进行温度探测,使用MAX31865作为处理模块,代码基于STM32的HAL库,利用串口显示温度数据,代码经个人检测有效。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 5494 2016-12-29 22:53 MAX31865-master.mxproject
....... 704815 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f301x8.h
....... 1044166 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302x8.h
....... 1068464 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302xc.h
....... 1220570 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302xe.h
....... 1026512 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303x8.h
....... 1130190 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303xc.h
....... 1291419 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303xe.h
....... 701944 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f318xx.h
....... 1024520 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f328xx.h
....... 1297990 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f334x8.h
....... 1112309 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f358xx.h
....... 996683 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f373xc.h
....... 979269 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f378xx.h
....... 1272206 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f398xx.h
....... 8995 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f3xx.h
....... 3671 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludesystem_stm32f3xx.h
....... 16643 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f301x8.s
....... 17458 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302x8.s
....... 18185 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302xc.s
....... 19095 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302xe.s
....... 16820 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303x8.s
....... 18892 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303xc.s
....... 19802 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303xe.s
....... 16543 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f318xx.s
....... 16714 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f328xx.s
....... 17485 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f334x8.s
....... 18365 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f358xx.s
....... 18421 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f373xc.s
....... 18044 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f378xx.s
............此处省略616个文件信息
/**
******************************************************************************
* @file system_stm32f3xx.c
* @author MCD Application Team
* @version V2.3.0
* @date 29-April-2015
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f3xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (8 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f3xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. This file configures the system clock as follows:
*=============================================================================
* Supported STM32F3xx device
*-----------------------------------------------------------------------------
* System Clock source | HSI
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 8000000
*-----------------------------------------------------------------------------
* HCLK(Hz) | 8000000
*-----------------------------------------------------------------------------
* AHB Prescaler | 1
*-----------------------------------------------------------------------------
* APB2 Prescaler | 1
*-----------------------------------------------------------------------------
* APB1 Prescaler | 1
*-----------------------------------------------------------------------------
* USB Clock | DISABLE
*-----------------------------------------------------------------------------
*=============================================================================
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2016 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 5494 2016-12-29 22:53 MAX31865-master.mxproject
....... 704815 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f301x8.h
....... 1044166 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302x8.h
....... 1068464 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302xc.h
....... 1220570 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f302xe.h
....... 1026512 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303x8.h
....... 1130190 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303xc.h
....... 1291419 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f303xe.h
....... 701944 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f318xx.h
....... 1024520 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f328xx.h
....... 1297990 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f334x8.h
....... 1112309 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f358xx.h
....... 996683 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f373xc.h
....... 979269 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f378xx.h
....... 1272206 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f398xx.h
....... 8995 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludestm32f3xx.h
....... 3671 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxIncludesystem_stm32f3xx.h
....... 16643 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f301x8.s
....... 17458 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302x8.s
....... 18185 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302xc.s
....... 19095 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f302xe.s
....... 16820 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303x8.s
....... 18892 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303xc.s
....... 19802 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f303xe.s
....... 16543 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f318xx.s
....... 16714 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f328xx.s
....... 17485 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f334x8.s
....... 18365 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f358xx.s
....... 18421 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f373xc.s
....... 18044 2016-12-29 22:53 MAX31865-masterDriversCMSISDeviceSTSTM32F3xxSourceTemplatesarmstartup_stm32f378xx.s
............此处省略616个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)