DM300004-1 Microchip Technology, DM300004-1 Datasheet - Page 49

BOARD DEMO DSPICDEM.NET 1

DM300004-1

Manufacturer Part Number
DM300004-1
Description
BOARD DEMO DSPICDEM.NET 1
Manufacturer
Microchip Technology
Series
dsPIC™r
Type
Microcontrollerr
Datasheets

Specifications of DM300004-1

Contents
*
Mcu Supported Families
DsPIC30F
Supported Devices
DsPIC30F6014
For Use With
PIC30F5013
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
FCC/JATE PSTN, Ethernet NIC
Lead Free Status / RoHS Status
na, Lead free / RoHS Compliant
Other names
DM300004-1R
DM300004-1R
3.7
3.8
 2004 Microchip Technology Inc.
INTERACTING WITH THE CODE
QUICK START DEMONSTRATION FEATURES AND PERIPHERALS
With the program running you can interact with the peripherals on the dsPICDEM.net
board and observe the results on the LCD.
1. Depress S1.
2. Depress S2.
3. Depress S3.
4. Touch U2 (located just left of the LCD) for a few seconds, then depress S3 again.
5. Adjust RP1 and/or RP2.
The intent of the Quick Start demonstration is to give you hands-on experience with the
dsPIC30F processor and peripheral features. At this point, you can examine the
program (main.c) and/or individual code modules in MPLAB IDE. You can set
breakpoints to examine specific activities. Or you can step through the code modules
one instruction at a time.
3.8.1
The Quick Start demonstration program initializes and controls these dsPIC30F
peripherals and associated board functions:
• Timer1 – Configured as a 16-bit timer with 1:1 prescaler used as toggle rate for
• Timer2 – Configured as 16-bit timer with a 1:1 prescaler used as toggle rate for
• Timer3 – Configured as 16-bit timer with a 1:1 prescaler used as toggle rate for
• UART1 TX – Used to transmit demonstration data to the PC for display.
• SPI™ 1 – Used to communicate to the MCP42050 Dual Channel Digital
• 12-bit ADC – Used to convert multiple analog signals, such as potentiometer and
LED1.
LED2.
LED3.
potentiometer.
temperature values (TC1047A temperature sensor).
The LCD displays the message: Off_Hook mode.
In this mode, the dsPIC commands the Si3021 DAA/AFE to go off-hook and
seize the line (i.e., the typical routine for a modem to connect to the PSTN). For
this demonstration the dsPIC transmits a single tone to the AFE via the Data
Converter Interface module on the dsPIC device. After the off-hook routine is
completed the LCD reverts to the routine that displays the values of RP1 and
RP2. The tone continues to be generated and can be heard until switch S2 is
depressed.
The LCD displays the message: Ready... On_Hook.
For this routine, the dsPIC commands the Si3021 DAA/AFE to go on-hook (i.e.,
the typical condition when a modem releases the telephone line). For this
demonstration the dsPIC terminates the data transfer from the Data Converter
Interface to the Si3021 AFE. After the on-hook routine is completed the LCD
reverts to the routine that displays the values of RP1 and RP2.
The LCD displays the temperature as measure by sensor U2 followed by the
Ready... On_Hook message and then reverts to the RP1 and RP2 readings.
Notice the changed value of the temperature sensor.
Notice the changed value(s).
dsPIC30F Peripheral Features
Quick Start Program
DS51471A-page 45

Related parts for DM300004-1