1.79M
Category: electronicselectronics

Мікропроцесорна техніка 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/5
IDAC8
PSoC Creator 4.2
Designing with PSoC 3/5

3.

Модулі PSoC@3/5
3

4.

Модулі PSoC@3/5
4

5.

IDAC8
Block Diagram IDAC8
5

6.

Lab_5
6
IDAC8

7.

IDAC8
7

8.

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 Characteristics
9

10.

IDAC8
Iout – 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.

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
12

13.

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
14

15.

File – New - Projekt
15

16.

Empty PSoC 3 Design
16

17.

IDAC8
17

18.

IDAC8
18

19.

IDAC8
19

20.

IDAC8
20

21.

IDAC8
21

22.

IDAC8
22

23.

IDAC8
23

24.

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
26

27.

Приклади застосування
МК PSOC
На сайті фірми
Cypress
знаходиться більше
200 Application
Notes і Reference
Designs, які
ілюструють області
застосування
мікроконтролерів
PSoC.
27

28.

Мікропроцесорні
системи
(лекція 5, кінець)
Благітко Б.Я.
2019 р.
English     Русский Rules