-
This example shows how to update at regulate period the WWDG counter using theEarly Wakeup interrupt (EWI).
The WWDG timeout is set to 262ms, refresh window set to 41h and the EWI isenabled. When the WWDG counter reaches 40h the EWI is generated and in the WWDGISR the counter is refreshed to prevent a WWDG reset and led connected to PC.07is toggled.The EXTI line9 is connected to PB.09 pin and configured to generate an interrupton falling edge.In the NVIC, EXTI line9 to 5 interrupt vector is enabled with priority equal to 0and the WWDG interrupt vector is enabled with priority equal to 1 (EXTI IT > WWDG IT).
The EXTI Line9 will be used to simulate a software Failure: once the EXTI line9event occurs (by pressing Key push-button on EVAL board) the correspondent interruptis served, in the ISR the led connected to PC.07 is turned off and the EXTI line9pending bit is not cleared. So the CPU will execute indefinitely EXTI line9 ISR andthe WWDG ISR will never be entered(WWDG counter not updated). As result, when theWWDG counter falls to 3Fh the WWDG reset occurs.If the EXTI line9 event don抰 occurs the WWDG counter is indefinitely refreshed inthe WWDG ISR which prevent from WWDG reset.
If the WWDG reset is generated, after resuming from reset a led connected to PC.06is turned on.
In this example the system is clocked by the HSE(8MHz).
標簽:
V100
STM
100
32V
上傳時間:
2013-11-11
上傳用戶:gundamwzc
-
This white paper discusses how market trends, the need for increased productivity, and new legislation have
accelerated the use of safety systems in industrial machinery. This TÜV-qualified FPGA design methodology is
changing the paradigms of safety designs and will greatly reduce development effort, system complexity, and time to
market. This allows FPGA users to design their own customized safety controllers and provides a significant
competitive advantage over traditional microcontroller or ASIC-based designs.
Introduction
The basic motivation of deploying functional safety systems is to ensure safe operation as well as safe behavior in
cases of Failure. Examples of functional safety systems include train brakes, proximity sensors for hazardous areas
around machines such as fast-moving robots, and distributed control systems in process automation equipment such
as those used in petrochemical plants.
The International Electrotechnical Commission’s standard, IEC 61508: “Functional safety of
electrical/electronic/programmable electronic safety-related systems,” is understood as the standard for designing
safety systems for electrical, electronic, and programmable electronic (E/E/PE) equipment. This standard was
developed in the mid-1980s and has been revised several times to cover the technical advances in various industries.
In addition, derivative standards have been developed for specific markets and applications that prescribe the
particular requirements on functional safety systems in these industry applications. Example applications include
process automation (IEC 61511), machine automation (IEC 62061), transportation (railway EN 50128), medical (IEC
62304), automotive (ISO 26262), power generation, distribution, and transportation.
圖Figure 1. Local Safety System
標簽:
FPGA
安全系統
上傳時間:
2013-11-14
上傳用戶:zoudejile
-
Abstract: How can an interface change a happy face to a sad face? Engineers have happy faces when an interface works properly.Sad faces indicate Failure somewhere. Because interfaces between microprocessors and ICs are simple—even easy—they are oftenignored until interface Failure causes sad faces all around. In this article, we discuss a common SPI error that can be almostimpossible to find in a large system. Links to interface tutorial information are provided for complete information. Noise as a systemissue and ICs to minimize its effects are also described.
標簽:
集成電路
通用接口
上傳時間:
2013-11-18
上傳用戶:zgz317
-
關于 linux密鑰的一些安全介紹
#ifndef COMMON_H
#define COMMON_H
#define MY_PROC_INTERFACE "/proc/learning-key/gateway"
#define FRESH_SESSION _IO( C ,1)
#define SUCCESS 0
#define Failure 1
#endif
標簽:
COMMON_H
define
MY_PROC_INTERFACE
learning
上傳時間:
2015-11-19
上傳用戶:葉山豪
-
About:
Paco (pacKAGE oRGANIZER) is a simple, yet powerful tool to aid package management when installing programs from source code. It uses the LD_PRELOAD method to track package installations, and provides various options to keep the installed software organized. It s mainly a command line application but it has also an optional GTKMM interface.
Release focus: Minor bugfixes
Changes:
Libpaco-log has been rewritten in C. This prevents a glibc installation Failure when building LFS in chapter 6. The option -x|--expand has been removed. Several bugs have been fixed in paco, gpaco, and rpm2paco.
Author:
David Rosal
標簽:
management
oRGANIZER
powerful
pacKAGE
上傳時間:
2014-08-25
上傳用戶:weixiao99
-
The Disk sample is used with Classpnp.sys as disk driver. The sample supports Plug and Play, Power Management, WMI, and Failure prediction (S.M.A.R.T.), and it is 64-bit compliant.
標簽:
sample
The
Classpnp
supports
上傳時間:
2014-12-06
上傳用戶:bjgaofei
-
The Linux Enterprise Cluster explains how to take a number of inexpensive computers with limited resources, place them on a normal computer network, and install free software so that the computers act together like one powerful server. This makes it possible to build a very inexpensive and reliable business system for a small business or a large corporation. The book includes information on how to build a high-availability server pair using the Heartbeat package, how to use the Linux Virtual Server load balancing software, how to configure a reliable printing system in a Linux cluster environment, and how to build a job scheduling system in Linux with no single point of Failure.
The book also includes information on high availability techniques that can be used with or without a cluster, making it helpful for System Administrators even if they are not building a cluster. Anyone interested in deploying Linux in an environment where low cost computer reliability is important will find this book useful.
標簽:
inexpensive
Enterprise
computers
explains
上傳時間:
2014-11-29
上傳用戶:zhangliming420
-
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order
working in C++ Builder 2007 as a template class,
using vector<FloatType> parameters.
Added a method to handle some EMathError exceptions.
If do NOT want to use this just call PolyFit2 directly.
usage: Call PolyFit by something like this.
CPolyFit<double> PolyFitObj
double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A)
where X and Y are vectors of doubles which must have the same size and
A is a vector of doubles which must be the same size as the number of
coefficients required.
returns: The correlation coefficient or -1 on Failure.
produces: A vector (A) which holds the coefficients.
標簽:
Least-squares
arbitrary
Purpose
Builder
上傳時間:
2013-12-18
上傳用戶:宋桃子
-
The Disk sample is used with Classpnp.sys as disk driver. The sample supports Plug and Play, Power Management, WMI, and Failure prediction (S.M.A.R.T.), and it is 64-bit compliant.
標簽:
sample
The
Classpnp
supports
上傳時間:
2014-01-27
上傳用戶:bruce
-
本文首次設計并驗證了基于macom三合一芯片設計的光模塊電路,該電路旨在提供一種滿足SFF-8472中規定的數字診斷功能的低成本SFP+模塊。電路采用激光器驅動、限幅放大器、控制器以及時鐘恢復單元集成的單芯片,在保證高精度數字診斷功能基礎上,實現了低成本高可靠的特點。該電路在光接收接口組件與激光器驅動和限幅放大器單元的限幅放大器部分之間接入濾波器來提高模塊的靈敏度及信號質量。在控制器單元的數字電位器的引腳上采用外加電阻的方式避免出現上電不發光的故障問題。該研究結果為下一代SFP-DD光模塊設計與開發工作,奠定了一定的理論與實踐基礎。This paper designs and validates the optical module circuit based on the MACOM Trinity chip for the first time.This circuit aims to provide a low-cost SFP module which meets the digital diagnosis function specified in SFF-8472.The circuit uses a single chip integrated with laser driver,limiting amplifier,controller and clock recovery unit.On the basis of ensuring high precision digital diagnosis function,it achieves the characteristics of low cost and high reliability.The circuit connects a filter between the optical receiving interface module and the limiting amplifier part of the laser driver and limiting amplifier unit to improve the sensitivity and signal quality of the module.The pin of the digital potentiometer in the controller unit is equipped with an external resistance to avoid the problem of power Failure.The research results lay a theoretical and practical foundation for optical module design in high-speed data center.
標簽:
sfp
光收發模塊
上傳時間:
2022-04-03
上傳用戶: