209
Chapter 7
Interrupt/Exception Processing Function
Preliminary User’s Manual U14913EE1V0UM00
7.4.2 Digital
Filter
Behavioral Description
The digital filter simply samples the input with the negative clock edge of the f
CPU
internal system
clock. The negative clock edge is used to suppress the sampling of glitches caused by the V850E/CA1
/ ATOMIC hardware and its external circuitry itself (assuming that all outputs from the V850E/CA1 /
ATOMIC change their values only on positive edges of the f
CPU
clock or any derived sub-clock).
The digital filter’s behaviour is described as follows:
The digital filter samples the input signal with its f
CPU
operating frequency (negative clock edge). To rec-
ognize a new value for its output, that differs from the current output state, 4 subsequent samples are
required, where each sample has read the same new input value.
However, to accept an input sample to be relevant for the new value, the level of the detection enable
signal has to be high. The detection enable signal is a divided clock derived from the system clock, with
frequencies: f
CPU
, f
CPU
/2, f
CPU
/4.
To reject an input sample sequence, only one violation of an input sample against the sequence of
equal and accepted input samples is sufficient. Here, the detection enable signal is not relevant.
The following figure illustrates the behaviour of the filter’s state machine.
Figure 7-17: Digital Filter State Machine Diagram
RESET
Output = 0
Scan_1
first
Scan_0
first
Output = 1
Scan_0
second
Scan_1
second
Scan_0
third
Scan_1
third
Undisturbed
sequence
input = 0 &
detect_enable = 1
other conditions
input = 1 &
input = 0
input = 1
detect_enable = 1
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...