CT-161-CD Fujitsu Semiconductor America Inc, CT-161-CD Datasheet - Page 83

KIT 16LX FOR MB90F387

CT-161-CD

Manufacturer Part Number
CT-161-CD
Description
KIT 16LX FOR MB90F387
Manufacturer
Fujitsu Semiconductor America Inc
Series
F²MC-16LXr
Type
MCUr
Datasheets

Specifications of CT-161-CD

Contents
Board, Cable, CD
For Use With/related Products
MB90F387S
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
865-1103

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CT-161-CD
Manufacturer:
Fujitsu Semiconductor America
Quantity:
135
© Fujitsu
First, in the program, set up the output pin of the LED and the input pin to be used for the
A/D converter. Then, make the settings regarding the A/D converter operations such as
the sampling time of the A/D conversion, operation mode, and A/D input channels. In
this section, the sampling time is set to 128/ φ , the comparing time is set to 176/ φ , the
resolution is set to 8-bit 、 and the A/D conversion channel to be used is set to Ch0 only,
and the operation mode is set to the continuous conversion mode. " φ " indicates the
internal operation frequency of the microcomputer. Table 7.2 Register settings of
A/D converter shows the values to be written to the register for the settings.
(1) Perform initialization (such as initial settings of the A/D converter).
(2) Start the A/D conversion (to obtain the applied voltage by using the A/D
(3) The A/D conversion is completed. (The A/D converted values are obtained.)
(4) Light the LEDs according to the obtained A/D converted values. (Determine the
(5) Then, repeat ( 2 ) to ( 4 ) .
Comparing time selection
converter).
number of LEDs to be lighted.)
A/D interrupt permission
Analog input permission
A/D conversion stopped
A/D conversion start Ch
A/D resolution selection
Sampling time selection
A/D conversion end Ch
A/D conversion started
A/D conversion mode
A/D interrupt factor
cleared
setting
Item
Table 7.2 Register settings of A/D converter
ADCR: H (bits 11 to 12)
ADCR: H (bits 13 to 14)
ADCS: L (bits 3 to 5)
ADCS: L (bits 6 to 7)
ADCS: L (bits 0 to 2)
ADER (bits 0 to 7)
ADCR: H (bit 15)
ADCS: H (bit 14)
ADCS:H (bit 13)
ADCS:H (bit 15)
ADCS: H (bit 9)
-
77
Register (bit)
-
1 ( A/D conversion started)
1 (permitted), 0 (not permitted)
0 (factor cleared)
0 (A/D conversion is forcibly
stopped)
0 (Select Ch0)
0 (Select Ch0)
2 (Continuous conversion mode)
3 (176/
3 (128/ φ
1 (8-bit resolution)
01h (Input permitted from Ch0
only)
Setting value (contents)
φ
)
φ
)

Related parts for CT-161-CD