ST10F273Z4 STMicroelectronics, ST10F273Z4 Datasheet - Page 178

no-image

ST10F273Z4

Manufacturer Part Number
ST10F273Z4
Description
16-BIT MICROCONTROLLER WITH MAC UNIT, UP TO 832 KBYTES FLASH MEMORY AND UP TO 68 KBYTES RAM
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST10F273Z4

Single Voltage Supply
5 V ±10%

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F273Z4Q3
Manufacturer:
INTEL
Quantity:
4 495
Part Number:
ST10F273Z4Q3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Known limitations
178/188
Therefore, to prevent the locking situation from occurring, it is important to make sure that
no task can disable interrupts for a period of time during which 2 injection requests can
occur before a read operation is performed.
Detailed analysis
Channel Injection mode allows to convert a specific analog channel without changing the
current operating mode. It can also be used when the A/D converter is running in continuous
or auto scan mode.
The following main points need to be highlighted:
If the temporary data register used for ADDAT2 read mode is full and a new injection request
occurs, then the new converted value is stored into a temporary data register until the
previous one is read from ADDAT2 register.
To ensure correct operation as soon as ADDAT2 register is read, the last converted value
should be moved from temporary register to ADDAT2 and the ADEINT interrupt should be
generated.
In real circumstances, as soon as the ADDAT2 register is read, the last converted value is
correctly moved from the temporary register to the ADDAT2, but no ADEINT interrupt
request is sent to the Interrupt controller (see
does not know that a new converted value is available in the ADDAT2 register. When the
next injection request is issued, the A/D converter fills the temporary register again without
generating any ADEINT interrupt request and the converter is stalled. The A/D converter
stays in the “wait for read ADDAT2 register” condition forever.
The A/D converter must be in Wait for ADDAT read mode in order for the Channel
Injection mode to operate properly.
At the end of the injected conversion the data is available in the alternate result register,
ADDAT2, and a Channel Injection Complete Interrupt request is generated (ADEIR
Flag).
If the temporary data register used for ADDAT2 read mode is full, the next conversion
(standard or injected) is suspended. The temporary register then stores the content of
ADDAT (standard conversion) or ADDAT2 (injected conversion).
This allows the CPU to read the last converted value (see
Figure
62). As a consequence the CPU/PEC
Figure
61).
ST10F273Z4

Related parts for ST10F273Z4