EasyManua.ls Logo

ST STM32F2 Series - Table 36. DMA_SM_4

ST STM32F2 Series
108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SM CODE DMA_SM_3
Recommendations and known
limitations
None
Table 36. DMA_SM_4
SM CODE DMA_SM_4
Description DMA transaction awareness
Ownership End user
Detailed implementation
DMA transactions are non-deterministic by nature, because typically driven by external events like
communication messages reception. Anyway, well-designed safety systems should keep much control
as possible of events – refer for instance to IEC61508:3 Table 2 item 13 requirements for software
architecture.
This method is based on system knowledge of frequency and type of expected DMA transaction. For
instance, an externally connected sensor supposed to send periodically some messages to a STM32
peripheral. Monitoring DMA transaction by a dedicated state machine allows to detect missing or
unexpected DMA activities
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent and Transient
Dependency on MCU configuration None
Initialization Depends on implementation
Periodicity Continuous
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known
limitations
Because DMA transaction termination is often linked to an interrupt generation, implementation of this
method can be merged with the safety mechanism NVIC_SM_1: expected and unexpected interrupt
check
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 31/108

Table of Contents