Similar presentations:
Мікропроцесорна техніка PSoC Creator 4.2 Designing with PSoC 3/5. (Лекція 5)
1. Мікропроцесорна техніка (лекція 5) Благітко Б.Я. 2019 р.
PSoC Creator 4.2Designing with PSoC 3/5
2. PSoC@3/5 IDAC8
PSoC Creator 4.2Designing with PSoC 3/5
3. Модулі PSoC@3/5
34. Модулі PSoC@3/5
45. IDAC8
Block Diagram IDAC85
6.
Lab_56
IDAC8
7. IDAC8
78. IDAC8
void IDAC8_SetRange(uint8 range)Description: Sets full-scale range for IDAC8
Parameters: uint8 range: Sets full-scale range for
IDAC8. See the following table for ranges.
8
9. IDAC8
IDAC8 DC Characteristics9
10. IDAC8
Iout – AnalogThe Iout terminal, the terminal on the right
side of the symbol, is the connection to the
DAC.s current source/sink.
It can be routed to any analog-compatible
pin on the device.
When the highest current range is selected
(2040 µA) the output should only be routed to a
specific set of pins that provide a direct low
resistive path. These port pins are P0[6], P0[7],
P3[0], or P3[1].
10
11. IDAC8
ipolarity – Input*The ipolarity input is an optional signal input pin.
This pin can be controlled by Digital components or
control register. This is used to control the direction of the
current, either source or sink to its load.
When this pin is connected to logic .0. (source), the
output of the DAC sources current to a load that is
connected to VSS or other voltage that is at least 1.0 V
below VDDA.
If the pin is connected to logic .1. (sink), it supplies
current to a load that is connected to VDD or other
voltage at least 1.0 V above VSS.
11
12. IDAC8
1213. IDAC8
Follow the below steps to do this:• The Lab already has the LCD Character
component installed and configured.
• Add a IDAC8 component from the
component catalog.
• In the general tab, configure the
IDAC8 component as in the image
below
13
14. Creator
1415. File – New - Projekt
1516. Empty PSoC 3 Design
1617. IDAC8
1718. IDAC8
1819. IDAC8
1920. IDAC8
2021. IDAC8
2122. IDAC8
2223. IDAC8
2324. IDAC8
Overview:Activate and use
the IDAC8 on the DVK board
and
output the results
to the LCD Character screen and Leds.
24
25. IDAC8
Знятивольт-амперну характеристику
напівпровідникового діода
25
26. IDAC8
2627. Приклади застосування МК PSOC
На сайті фірмиCypress
знаходиться більше
200 Application
Notes і Reference
Designs, які
ілюструють області
застосування
мікроконтролерів
PSoC.
27