công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN4124 bảng dữ liệu(PDF) 16 Page - STMicroelectronics

tên linh kiện AN4124
Giải thích chi tiết về linh kiện  Using SPC56EL60x fault collection and control unit
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4124 bảng dữ liệu(HTML) 16 Page - STMicroelectronics

Back Button AN4124 Datasheet HTML 12Page - STMicroelectronics AN4124 Datasheet HTML 13Page - STMicroelectronics AN4124 Datasheet HTML 14Page - STMicroelectronics AN4124 Datasheet HTML 15Page - STMicroelectronics AN4124 Datasheet HTML 16Page - STMicroelectronics AN4124 Datasheet HTML 17Page - STMicroelectronics AN4124 Datasheet HTML 18Page - STMicroelectronics AN4124 Datasheet HTML 19Page - STMicroelectronics AN4124 Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 32 page
background image
FCCU settings
AN4124
16/32
Doc ID 023294 Rev 2
Description
First the microcontroller is in DRUN mode, the “if” condition is asserted, by the tc0_INIT
procedure. The FCCU is configured in the tc0_INIT. Next the CF 20 is injected (in order to
generate an NMI, without RESET). When the injection fault is asserted (FCCU.CFF.R = 20),
the system asserts NMI. In NMI ISR the fault is cleared and the system enters RUN mode.
5.2.1
FCCU init
uint16_t tc0_INIT(void){
/* ----------------- CONFIG State --------------------- */
FCCU.CFG_TO.R = 0x7;/* Set Timer Out CCONFIG STATE to 8.192 ms */
FCCU_CONFIG_STATE();/* CONFIG state */
FCCU.CFG.B.SM = 1; /* EOUT protocol (dual-rail, time-switching) fast switching
mode*/
FCCU.CFG.B.PS = 1; /* fcc_eout[1] active low, fcc_eout[0] active low */
FCCU_CFG_FOM_Config(CFG_FOM0); /* CFG_FOM0 = Dual-Rail (default state)
[fccu_eout[1:0]= outputs] */
FCCU_CFG_FOP_Config(0); /* Fault Output Prescaler= Input clock frequency
(ipg_clk_safe clock) is divided by 2 x 1024 */
/* Set the Critical Fault reaction */
FCCU.CFS_CFG0.R = 0; /* No reset reaction */
/* ----------------- NORMAL State --------------------- */
FCCU_NORMAL_STATE();/* NORMAL state */
return(PASS);
}
5.3
Example 3: FCCU - Non-critical fault injection
In this example we show fault injection (with fake funtionality), in order to show an FCCU
reaction. The example is with FAULT_ISR assertion. The fault is checked and cleared in
FAULT_ISR subroutine by looking in the CFSx registers.
Example description
●
Put FCCU in CONFIG state: set registers.
●
Return to NORMAL state: by means of procedure or by allowing timer out to elapse.
●
Inject (fake) faults (NCF N. 12).
●
Verify that in RUN state (FAULT_ISR management), and that fault is detected
(FCCU_NCFS0 register).
●
Clear the FCCU_NCFS0 register (by suitable procedure).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com