DM300019 Microchip Technology, DM300019 Datasheet - Page 32

BOARD DEMO DSPICDEM 80L STARTER

DM300019

Manufacturer Part Number
DM300019
Description
BOARD DEMO DSPICDEM 80L STARTER
Manufacturer
Microchip Technology
Type
MCUr
Datasheets

Specifications of DM300019

Contents
Board, CD, Sample Part
Processor To Be Evaluated
dsPIC30F and dsPIC33F
Interface Type
RS-232
Silicon Manufacturer
Microchip
Silicon Core Number
DsPIC30F6014A, DsPIC33FJ256GP710
Silicon Family Name
DsPIC30F And DsPIC33F
Kit Contents
Development Board And Docs On CD
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30F, dsPIC33F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM300019
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM300019
Manufacturer:
MICROCHIP
Quantity:
12 000
dsPICDEM™ 80-Pin Starter Development Board User’s Guide
DS51584B-page 28
3.4.2
This program consists of two subroutines which (1) perform the A/D conversion and (2)
transmit the converted value over an RS-232 serial connection (see Figure 3-2). The
A/D conversion routine samples the analog output of Potentiometer RB2. The transmit
routine converts the 12-bit binary value from ADC12 to a three-digit HEX code,
converts the HEX code to an ASCII character and loads the ASCII value into the
transmission buffer of UART1. UART1 transmits each ASCII character with a CR and
LF to delimit each sample as a separate line on the receiving terminal.
FIGURE 3-2:
Analog-to-Digital Conversion
Convert 12-bit Binary
ADC Complete?
Generate ASCII
Generate ASCII
Digit 3 to ASCII
Digit 2 to ASCII
Digit 1 to ASCII
Delay 10 msec
to 3-digit HEX
Convert HEX
Convert HEX
Convert HEX
INIT ADC12
Conversion
INIT UART
Start A/D
START
CR
LF
Yes
ANALOG-TO-DIGITAL CONVERSION FLOW DIAGRAM
No
Buffer Full?
Buffer Full?
Buffer Full?
Buffer Full?
Buffer Full?
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
Load Digit 3 into
Load Digit 2 into
Load Digit 1 into
Transmit Buffer
Transmit Buffer
Transmit Buffer
Transmit Buffer
Load Transmit
Load CR into
Buffer
© 2006 Microchip Technology Inc.

Related parts for DM300019