User Tools

Site Tools


dig:lab_1
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
dig:lab_1 [2012/02/21 13:34] – [Lab 1: Microcontroller programming setup] tobi
Line 1: Line 1:
 +===== Lab 1: Microcontroller programming setup =====
 +
 +In this first exercise let's install the necessary tools and run an example program on a pre-assembled microcontroller board.
 +
 +By the end of this exercise we should be able to compile the example project //usb-rgb-ldr// and program a copper board with it, then run the host side //rainbow.py// while the board runs its firmware.
 +
 +  - See [[uc]] for tool installation.
 +  - Arrange a day/time for soldering your own ‘bronze’ board during the following week; see [[dig:lab_2]].
 +  - Answer the questions below.
 +
 +
 +
 +==== Questions ====
 +By next class, hand in (individually) attempts at answers to the following questions, which you may be able answer by reading the {{dig:at32uc3BDatasheet.pdf|AVR32 Datasheet}} and {{dig:avr32TechnicalReferenceManual.pdf|AVR32 Technical Reference Manual}}. The datasheet contains usage information, while the technical reference has more information about implementation and architecture.
 +
 +  - How much flash/SRAM memory does the ATUC3B1256 have?
 +  - Is there one instruction executed per clock cycle or does it require multiple clock cycles per instruction?
 +  - What is the maximum system clock frequency?
 +  - What is the power consumption at maximum clock frequency for the core?
 +  - What is the oscillator start-up time from sleep?
 +  - What is the "setup time" for the ADC?
 +  - What is the ADC power consumption?
 +  - What is the maximum PWM output frequency using the PWM module?
 +  - What is the difference between local peripheral bus and GPIO peripheral bus driver (hint, look in the documentation installed with AVR32 Studio under UC3 Software Framework/GPIO)?
 +  - What is the value of the pullup resistor on the GPIO (when enabled)?
 +  - Does the AVR32 have floating point? 
 +  - Does the AVR32 UC3B have a hardware multiplier?  If so, how many clock cycles does it take and what is its resolution, i.e, how does it handle overflow of the 32 bit multiply?  And does the AVR32 UC3B have DSP (Digital Signal Processing) instructions for multiplying, accumulating, and incrementing a pointer in one instruction?
 +
  
dig/lab_1.txt · Last modified: 2024/02/29 07:28 by 127.0.0.1