Слайд 2
![PSoC@3/5 VDAC8+DMA PSoC Creator 4.2 Designing with PSoC 3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-1.jpg)
PSoC@3/5
VDAC8+DMA
PSoC Creator 4.2
Designing with PSoC 3/5
Слайд 3
![Модулі PSoC@3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-2.jpg)
Слайд 4
![Модулі PSoC@3/5](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-3.jpg)
Слайд 5
![Модуль VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-4.jpg)
Слайд 6
![Модуль VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-5.jpg)
Слайд 7
![Модуль VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-6.jpg)
Слайд 8
![DMAC The DMA controller (DMAC) in PSoC 3 and PSoC](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-7.jpg)
DMAC
The DMA controller (DMAC) in PSoC 3 and PSoC 5LP can
transfer data from a source to a destination with no CPU intervention.
This allows the CPU to handle other
tasks while the DMA does data transfers, thereby achieving a ‘multiprocessing’ environment.
The PSoC DMA Controller (DMAC) is highly flexible – it can seamlessly transfer data between memory and on chip peripherals including ADCs, DACs, Filter, USB, UART, and SPI.
There are 24 independent DMA channels.
Слайд 9
![DMAC There are 24 independent DMA channels. Each of the](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-8.jpg)
DMAC
There are 24 independent DMA channels.
Each of the 24 DMA
channels can independently transfer data.
Each channel has a Transaction Descriptor (TD) chain.
The TD contains information such as source address, destination address, transfer count, and the next TD in the chain. There can be as many as 128 TDs.
The combination of channel and TD
describes the complete DMA transfer.
Слайд 10
![DMAC](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-9.jpg)
Слайд 11
![DMA Channel](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-10.jpg)
Слайд 12
![Memory-to-Peripheral Transfer](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-11.jpg)
Memory-to-Peripheral Transfer
Слайд 13
![Memory-to-Peripheral Transfer](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-12.jpg)
Memory-to-Peripheral Transfer
Слайд 14
![Channel Configuration](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-13.jpg)
Слайд 15
![TD[0] Configuration](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-14.jpg)
Слайд 16
![DMA Channel Component](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-15.jpg)
Слайд 17
![DMA component Configuration](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-16.jpg)
DMA component Configuration
Слайд 18
![DMA Wizard Configuration To start the DMA wizard, go to](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-17.jpg)
DMA Wizard Configuration
To start the DMA wizard, go to
PSoC
Creator >Tools > DMA Wizard.
Step 1:
Select a DMA channel (DMA component instance)
Слайд 19
![DMA Wizard Configuration To start the DMA wizard, go to](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-18.jpg)
DMA Wizard Configuration
To start the DMA wizard, go to
PSoC
Creator >Tools > DMA Wizard.
Step 2: Select global settings
Слайд 20
![DMA Wizard Configuration Step 3: Define the transaction descriptors for the channel](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-19.jpg)
DMA Wizard Configuration
Step 3:
Define the transaction descriptors for the
channel
Слайд 21
![DMA Wizard Configuration Step 3 (continue): TD Configuration Details](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-20.jpg)
DMA Wizard Configuration
Step 3 (continue): TD Configuration Details
Слайд 22
![DMA Wizard Configuration Step 4: Copy the code created by](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-21.jpg)
DMA Wizard Configuration
Step 4: Copy the code created by the
DMA Wizard
After the DMA channels and TD configuration are finished, the wizard creates code for the DMA channel.
This code includes the configuration for the DMA channel and the TDs.
The code is generated in a window in the DMA
Wizard dialog.
To use the code, select all in the window, copy it, and paste it in your main.c
Слайд 23
![VDAC8 Follow the below steps to do this: The Lab](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-22.jpg)
VDAC8
Follow the below steps to do this:
The Lab already has the
LCD Character component installed and configured.
Add aVDAC8 component from the component catalog.
In the general tab, configure theVDAC8 component as in the image below
Слайд 24
![Creator](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-23.jpg)
Слайд 25
![File – New - Projekt](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-24.jpg)
Слайд 26
![Empty PSoC 3.3 Design](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-25.jpg)
Слайд 27
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-26.jpg)
Слайд 28
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-27.jpg)
Слайд 29
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-28.jpg)
Слайд 30
![VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-29.jpg)
Слайд 31
![VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-30.jpg)
Слайд 32
![VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-31.jpg)
Слайд 33
![VDAC8](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-32.jpg)
Слайд 34
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-33.jpg)
Слайд 35
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-34.jpg)
Слайд 36
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-35.jpg)
Слайд 37
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-36.jpg)
Слайд 38
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-37.jpg)
Слайд 39
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-38.jpg)
Слайд 40
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-39.jpg)
Слайд 41
![VDAC8+DMA](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-40.jpg)
Слайд 42
![Test VDAC8+DMA Example : Memory-to-Peripheral Transfer – Mem_DMA_DAC The test](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-41.jpg)
Test VDAC8+DMA
Example : Memory-to-Peripheral Transfer – Mem_DMA_DAC
The test setup is
as follows:
1. Connect the oscilloscope probe to pin P0[0], the VDAC output.
2. Build the project and program the device.
3. Observe a sine wave of frequency 7.8 kHz on the oscilloscope.
Слайд 43
![Приклади застосування МК PSOC На сайті фірми Cypress знаходиться більше](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/26282/slide-42.jpg)
Приклади застосування
МК PSOC
На сайті фірми Cypress знаходиться більше 200 Application
Notes і Reference Designs, які ілюструють області застосування мікроконтролерів PSoC.