This example sets up the PLL in x10/2 mode, divides SYSCLKOUT by six to reach a 25Mhz HSPCLK (assuming a 30Mhz XCLKIN). The
clock divider in the ADC is not used so that the ADC will see the 25Mhz on the HSPCLK. Interrupts are enabled and the EVA is setup to generate a periodic ADC SOC on SEQ1. Two channels are converted, ADCINA3 and ADCINA2.
This program sets up the EV timers (TIMER1, TIMER2, TIMER3 and TIMER4) to generate T1PWM, T2PWM, T3PWM, T4PWM and PWM1-12 waveforms. The user can then observe the waveforms using an scope.
This program sets up EVA Timer 1, EVA Timer 2, EVB Timer 3 and EVB Timer 4 to fire an interrupt on a period overflow. A count is kept each time each interrupt passes through the interrupt service routine. EVA Timer 1 has the shortest period while EVB Timer4 has the longest period.
This program sets up EVA Timer 1, EVA Timer 2, EVB Timer 3 and EVB Timer 4 to fire an interrupt on a period overflow. A count is kept each time each interrupt passes through the interrupt service routine.
The objective is to set up SPI communication between VTI Technologies digital pressure sensor
component and an MCU of an application device ATMEGA16L. In this code example:
?The MCU is configured
?SCP1000-D01 is initialized and configured
?The high resolution measurement mode is activated
?Temperature and pressure information is read always when the DRDY pin is in high state
Please refer to the document "SCP1000 Product Family Specification 8260800" for further
information on SCP1000 register addressing and SPI communication. This document applies to the
SCP1000-D01.
Aardvark Example Source Code Version: 4.00 Date: 2007-04-20
Source code which shows how to use the Aardvark I2C/SPI Host Adapter software libraries.
Examples are available in C, C#, Python, Visual Basic 6, Visual Basic .NET, and Aardvark XML batch script code and make use of the targets on the I2C/SPI Activity Board.
Explanatory notes and build instructions are included in the README.txt file.