công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

DM300019 bảng dữ liệu(PDF) 33 Page - Microchip Technology

tên linh kiện DM300019
Giải thích chi tiết về linh kiện  Starter Development Board Userís Guide
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM300019 bảng dữ liệu(HTML) 33 Page - Microchip Technology

Back Button DM300019 Datasheet HTML 29Page - Microchip Technology DM300019 Datasheet HTML 30Page - Microchip Technology DM300019 Datasheet HTML 31Page - Microchip Technology DM300019 Datasheet HTML 32Page - Microchip Technology DM300019 Datasheet HTML 33Page - Microchip Technology DM300019 Datasheet HTML 34Page - Microchip Technology DM300019 Datasheet HTML 35Page - Microchip Technology DM300019 Datasheet HTML 36Page - Microchip Technology DM300019 Datasheet HTML 37Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 50 page
background image
Demonstration Program Operation
© 2006 Microchip Technology Inc.
DS51584B-page 29
3.4.3
Digital-to-Analog Conversion
This program uses Digital Potentiometer MCP41010 on the dsPICDEM 80-Pin Starter
Development Board as a D/A converter to generate a sine-wave signal (audio tone) to
the LINE OUT pin. The digital potentiometer is driven by the output of the serial
peripheral interface SPI2 of the dsPIC30F6014A device, which receives its input from
the program.
The program retrieves HEX values from a table in data memory and delivers it to the
SPI. Thirty-two stored values cover the full range of the digital potentiometer. As the
analog output of the digital potentiometer passes through the MCP6022 Operational
Amplifier (configured as a low-pass filter) it results in a 400 Hz sine wave based on a
new table value every 125
μsec covering all 32 table values. The sine wave is placed
on the LINE OUT pin of the development board.
Figure 3-3 illustrates the digital-to-analog conversion process. Switches S1 and S2 are
used to change the output frequency to 800 Hz and 1600 Hz, respectively, by skipping
over some of the table values.
FIGURE 3-3:
DIGITAL-TO-ANALOG CONVERSION PROGRAM FLOW
INIT SPI2
Set W4 = Value Pointed to by
W1 Using PSV
Transmit Contents of W4 to
SPI2
Yes
Set Reg W2 to Start of Tone Table
Set Reg W3 to End of Tone Table
Set Reg W1 = W2
Has 150
μsec Interrupt
Occurred?
Set W1 = W1 + 2
S1 Pressed?
S2 Pressed?
Set W1 = W1 + 2
Set W1 = W1 + 4
Set W1 = W2
No
No
No
Yes
Yes
Yes
No
W1 > W3?
START



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com