tmp19a61f10xbg TOSHIBA Semiconductor CORPORATION, tmp19a61f10xbg Datasheet - Page 437

no-image

tmp19a61f10xbg

Manufacturer Part Number
tmp19a61f10xbg
Description
32-bit Tx System Risc Tx19 Family
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
16.3.3
Starting A/D Conversion
Two types of A/D conversion are supported: normal A/D conversion and top-priority A/D
conversion. Normal A/D conversion is software activated by setting ADAMOD0<ADS> to
"1." Top-priority A/D conversion is software activated by setting ADAMOD2<HPADCE> to
"1." 4 operation modes are made available to normal A/D conversion. In performing
normal A/D conversion, one of these operation modes must be selected by setting
ADAMOD0<2:1> to an appropriate setting. For top-priority A/D conversion, only one
operation mode can be used: fixed channel single conversion mode. Normal A/D
conversion can be activated using the HW activation source selected by
ADAMOD4<ADHS>, and top-priority A/D conversion can be activated using the HW
activation source selected by ADAMOD4<HADHS>. If this bit is "0," normal and
top-priority A/D conversions are activated in response to the input of a falling edge
through the ADTRG pin. If this bit is "1," normal A/D conversion is activated in response
to TB1RG0 generated by the 16-bit timer 1, and top-priority A/D conversion is activated in
response to TB9RG0 generated by the 16-bit timer 9. Software activation is still valid
even after H/W activation has been authorized.
To reactivate normal A/D conversion, a software reset (ADAMOD4 < ADRST1:0 > ) must be
performed before starting A/D conversion. The HW activation method must not be used to
reactivate normal A/D conversion.
If ADAMOD2<HPADCE is set to "1" during normal A/D conversion, ongoing A/D
conversion is discontinued and top-priority A/D conversion starts; specifically, A/D
conversion (fixed channel single conversion) is executed for a channel designated by
ADMOD2<3:0>. After the result of this top-priority A/D conversion is stored in the storage
register ADAREGSP, normal A/D conversion is resumed.
If HW activation of top-priority A/D conversion is authorized during normal A/D
conversion, ongoing A/D conversion is discontinued when requirements for activation
using a resource are met, and top-priority A/D conversion (fixed channel single
conversion) starts for a channel designated by ADAMOD2<3:0>. After the result of this
top-priority A/D conversion is stored in the storage register ADAREGSP, normal A/D
conversion is resumed.
When normal A/D conversion starts, the A/D conversion Busy flag (ADAMOD0<ADBF>)
showing that A/D conversion is under way is set to "1." When top-priority A/D conversion
starts, the A/D conversion Busy flag (ADAMOD2<ADBFHP>) showing that A/D
conversion is under way is set to "1." At that time, the Busy flag for normal A/D
conversion retains the value that had been set before top-priority conversion started.
The value of the conversion completion flag EOCFN for normal A/D conversion before
the start of top-priority A/D conversion can also be retained.
(Note) When an external trigger is used for the HW start source of
(Note)
a top priority A/D conversion, an external trigger cannot usually
be set for HW activation of A/D conversion.
Normal A/D conversion must not be reactivated when top-priority
A/D conversion is under way. Otherwise, the top-priority A/D
conversion completion flag cannot be set, and the flag for previous
normal A/D conversion cannot be cleared.
TMP19A61 (rev1.0)16-436
TMP19A61

Related parts for tmp19a61f10xbg