STEVAL-IFS006V1 STMicroelectronics, STEVAL-IFS006V1 Datasheet - Page 60

BOARD EVAL 8BIT MICRO + TDE1708

STEVAL-IFS006V1

Manufacturer Part Number
STEVAL-IFS006V1
Description
BOARD EVAL 8BIT MICRO + TDE1708
Manufacturer
STMicroelectronics

Specifications of STEVAL-IFS006V1

Design Resources
STEVAL-IFS006V1 Bill of Material
Sensor Type
Proximity
Interface
I²C
Voltage - Supply
6 V ~ 48 V
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ST7FLITEUS5, TDE1708
Processor To Be Evaluated
ST7LITEUS5
Data Bus Width
8 bit
Operating Supply Voltage
6 V to 48 V
Silicon Manufacturer
ST Micro
Silicon Core Number
TDE1708DFT
Kit Application Type
Sensing - Touch / Proximity
Application Sub Type
Proximity Switch
Kit Contents
Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Sensitivity
-
Sensing Range
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
497-6403
STEVAL-IFS006V1

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STEVAL-IFS006V1
Manufacturer:
ST
0
I/O ports
Caution:
9.2.2
60/136
Spurious interrupts
When enabling/disabling an external interrupt by setting/resetting the related OR register bit,
a spurious interrupt is generated if the pin level is low and its edge sensitivity includes
falling/rising edge. This is due to the edge detector input which is switched to '1' when the
external interrupt is disabled by the OR register.
To avoid this unwanted interrupt, a "safe" edge sensitivity (rising edge for enabling and
falling edge for disabling) has to be selected before changing the OR register bit and
configuring the appropriate sensitivity again.
In case a pin level change occurs during these operations (asynchronous signal input), as
interrupts are generated according to the current sensitivity, it is advised to disable all
interrupts before and to reenable them after the complete previous sequence in order to
avoid an external interrupt occurring on the unwanted edge.
This corresponds to the following steps:
1.
2. To disable an external interrupt:
Output modes
The output configuration is selected by setting the corresponding DDR register bit. In this
case, writing the DR register applies this digital value to the I/O pin through the latch. Then
reading the DR register returns the previously stored value.
Two different output modes can be selected by software through the OR register: Output
push-pull and open-drain.
Table 17.
1. When switching from input to output mode, the DR register has to be written first to drive the correct level
on the pin as soon as the port is configured as an output.
To enable an external interrupt:
a)
b)
c)
d)
e)
a)
b)
c)
d)
DR
0
1
Set the interrupt mask with the SIM instruction (in cases where a pin level change
could occur)
Select rising edge
Enable the external interrupt through the OR register
Select the desired sensitivity if different from rising edge
Reset the interrupt mask with the RIM instruction (in cases where a pin level
change could occur)
Set the interrupt mask with the SIM instruction SIM (in cases where a pin level
change could occur)
Select falling edge
Disable the external interrupt through the OR register
Select rising edge
DR register value and output pin status
Push-pull
V
V
SS
DD
(1)
ST7LITEUS2, ST7LITEUS5
Open-drain
Floating
V
SS

Related parts for STEVAL-IFS006V1