Similar presentations:
Мікропроцесорна техніка PSoC Creator 4.2 Designing with PSoC 3/5. (Лекція 5)
1.
Мікропроцесорнатехніка
(лекція 5)
Благітко Б.Я.
2019 р.
PSoC Creator 4.2
Designing with PSoC 3/5
2.
PSoC@3/5IDAC8
PSoC Creator 4.2
Designing with PSoC 3/5
3.
Модулі PSoC@3/53
4.
Модулі PSoC@3/54
5.
IDAC8Block Diagram IDAC8
5
6.
Lab_56
IDAC8
7.
IDAC87
8.
IDAC8void 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.
IDAC8IDAC8 DC Characteristics
9
10.
IDAC8Iout – Analog
The 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.
IDAC8ipolarity – 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.
IDAC812
13.
IDAC8Follow 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.
Creator14
15.
File – New - Projekt15
16.
Empty PSoC 3 Design16
17.
IDAC817
18.
IDAC818
19.
IDAC819
20.
IDAC820
21.
IDAC821
22.
IDAC822
23.
IDAC823
24.
IDAC8Overview:
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.
IDAC826
27.
Приклади застосуванняМК PSOC
На сайті фірми
Cypress
знаходиться більше
200 Application
Notes і Reference
Designs, які
ілюструють області
застосування
мікроконтролерів
PSoC.
27
28.
Мікропроцесорнісистеми
(лекція 5, кінець)
Благітко Б.Я.
2019 р.