Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN123 Datasheet(PDF) 5 Page - Silicon Laboratories

Part # AN123
Description  USING THE DAC AS A FUNCTION GENERATOR
Download  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SILABS [Silicon Laboratories]
Direct Link  http://www.silabs.com
Logo SILABS - Silicon Laboratories

AN123 Datasheet(HTML) 5 Page - Silicon Laboratories

  AN123 Datasheet HTML 1Page - Silicon Laboratories AN123 Datasheet HTML 2Page - Silicon Laboratories AN123 Datasheet HTML 3Page - Silicon Laboratories AN123 Datasheet HTML 4Page - Silicon Laboratories AN123 Datasheet HTML 5Page - Silicon Laboratories AN123 Datasheet HTML 6Page - Silicon Laboratories AN123 Datasheet HTML 7Page - Silicon Laboratories AN123 Datasheet HTML 8Page - Silicon Laboratories AN123 Datasheet HTML 9Page - Silicon Laboratories Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
AN123
Rev. 1.1
5
Software Example
//-----------------------------------------------------------------------------
// DAC1_fgen1.c
//-----------------------------------------------------------------------------
//
// AUTH: BW,FB
// DATE: 2 OCT 01
//
// Target: C8051F02x
// Tool chain: KEIL C51
//
// Description:
//
Example source code which outputs waveforms on DAC1.
DAC1’s output is
//
scheduled to update at a rate determined by the constant
//
<SAMPLE_RATE_DAC>, managed and timed by Timer4.
//
//
Implements a 256-entry full-cycle sine table of 16-bit precision. Other
//
waveforms supported are square, triangle, and saw tooth.
//
//
The output frequency is determined by a 16-bit phase adder.
//
At each DAC update cycle, the phase adder value is added to a running
//
phase accumulator, <phase_accumulator>, the upper bits of which are used
//
to access the sine lookup table.
//
//
The program is controlled through UART using HyperTerminal running on a
//
PC. All commands are two characters in length and have optional
//
frequency and amplitude arguments. Note that the amplitude parameter
//
cannot be specified unless the frequency is also specified.
//
//
Command Format:
//
//
XX [frequency] [amplitude]
//
//
where XX denotes the command
//
//
Command List:
//
//
SQ - Square Wave
//
SI - Sine Wave
//
TR - Triangle Wave
//
SA - Saw Tooth Wave
//
OF - Output OFF
//
?? - Help
//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------
#include <c8051f020.h>
// SFR declarations
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
//-----------------------------------------------------------------------------
// 16-bit SFR Definitions for ‘F02x
//-----------------------------------------------------------------------------


Similar Part No. - AN123

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN1232 STMICROELECTRONICS-AN1232 Datasheet
109Kb / 6P
   Ruggedness improvement of RF DMOS devices
AN1235 STMICROELECTRONICS-AN1235 Datasheet
257Kb / 14P
   package description and recommendations for use
logo
NXP Semiconductors
AN12395 NXP-AN12395 Datasheet
2Mb / 25P
   OM-SE050ARD hardware overview
Rev. 1.1-27 June 2019
More results

Similar Description - AN123

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2421 STMICROELECTRONICS-AN2421 Datasheet
79Kb / 6P
   Using the STMPE801 as a keypad controller
logo
Texas Instruments
SNOA565 TI1-SNOA565 Datasheet
1Mb / 13P
[Old version datasheet]   AN-2177 Using the LMH6554 as a ADC Driver
logo
NXP Semiconductors
NE566 PHILIPS-NE566 Datasheet
50Kb / 5P
   Function generator
April 15, 1992
logo
Fairchild Semiconductor
AN-996 FAIRCHILD-AN-996 Datasheet
198Kb / 2P
   Using the Fairchild FST Bus Switch as a 5V to 3V Translator
logo
Renesas Technology Corp
HD404629R RENESAS-HD404629R Datasheet
720Kb / 157P
   AS Microcomputer Incorporating a DTMF Generator Circuit
logo
TEKTRONIX, INC.
AFG1000 TEKTRONIX-AFG1000 Datasheet
288Kb / 12P
   Arbitrary/Function Generator
AFG2021 TEKTRONIX-AFG2021 Datasheet
796Kb / 12P
   Arbitrary/Function Generator
logo
Exar Corporation
XR-2206 EXAR-XR-2206_08 Datasheet
153Kb / 16P
   Monolithic Function Generator
logo
Good Will Instrument Co...
AFG-2100 GWINSTEK-AFG-2100 Datasheet
691Kb / 2P
   ARBITRARY FUNCTION GENERATOR
logo
Exar Corporation
TAN-005 EXAR-TAN-005 Datasheet
67Kb / 8P
   High-Quality Function Generator System with the XR-2206
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
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