| 数据搜索系统,热门电子元器件搜索 |
|
AN4124 数据表(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4124 数据表(HTML) 28 Page - STMicroelectronics |
|
28 / 32 page ![]() Redundancy and functions AN4124 28/32 Doc ID 023294 Rev 2 A.3.2 Example N2: fake CF by external IRQ In this example we show the CF fault injection (by external IRQ funtionality), in order to show an FCCU reaction. The example includes NMI ISR assertion. The fault is checked and cleared with subroutine by looking in the CFSx registers. This example employs the CF external button (KEY 1) to inject and clear, and the LED1 on the motherboard to view the fault. To connect the button to input pins (interrupt), we need to connect J8 pin 1B to JP9 pin 1. The flow is: ● Blink LED1 ● Press KEY1: to inject asynchronous external IRQ (ISR) ● External IRQ (ISR) – Fake CF – LED1 off – FCCU STATE = FAULT – DEVICE STATE = SAFE – RESET –NMI IRQ (ISR) ● After RESET: unmask NMI ● NMI IRQ (ISR) – Clear FCCU FAULT and return to main |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |