DK Digital AVR-500 Arkusz Danych

Przeglądaj online lub pobierz Arkusz Danych dla Odbiornik DK Digital AVR-500. DK Digital AVR-500 Datasheet Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 58
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Dept. of Computer Science
University of Copenhagen Universitetsparken 1
DK-2100 Copenhagen Denmark
HogthrobV0 Users Manual
Martin Leopold
Technical Report no. 07/05
ISSN: 0107-8283
Przeglądanie stron 0
1 2 3 4 5 6 ... 57 58

Podsumowanie treści

Strona 1 - HogthrobV0 Users Manual

Dept. of Computer Science University of Copenhagen • Universitetsparken 1 DK-2100 Copenhagen • Denmark HogthrobV0 Users Manual Martin Leopold

Strona 2 - HogthrobV0

(a) Motherboard (Picture and annotation by Kashif Virk)(b) LayoutFigure 2.2 Hogthrob prototype platform HogthrobV0.9

Strona 3 - 0.3 Sep. 2007 Restructured

(a) J5 power connector (b) J1 programming connectorFigure 2.3 Power and programming cables2.1.2 ProgrammingConnector J1 combines programming interface

Strona 4 - Contents

be connected to a PC.Some programmer boards such as the Atmel STK-5003feature built in level conversion,however using a USB-RS232 converter can be con

Strona 5

Line Radio Board AVR FPGARXD1 J1, pin 31 PD2 (RXD1/INT2) FPGA IO17TXD1 J1, pin 32 PD3 (TXD1/INT3) FPGA IO18CLK (SCK) CLK1 PB1 (CLK) FPGA IO13MOSI+MISO

Strona 6 - Chapter 1

2.2.4 FPGA IOLine Bank Pin ConnectorFPGA AIO0 B6 K1 J2, pin 5FPGA AIO1 B6 R1 J2, pin 7FPGA AIO2 B6 P1 J2, pin 9FPGA AIO3 B6 P2 J2, pin 11FPGA AIO4 B6

Strona 7 - 1.1 Further Information

Chapter 3Xilinx FPGAThe FPGA portion of the platform is controlled by the ATMega in a number of ways. The AT-Mega powers the FPGA on and off and point

Strona 8 - HogthrobV0 Overview

3.1.3 Clock SourceThe FPGA has two external crystal clock sources: a 4 MHz and a 48 MHz source. The 4 MHzclock is always enabled, but the 48 MHz must

Strona 9

requires you to run the installer as root.The installer is provided for Red Hat Linux, but it should work perfectly on most otherdistributions, except

Strona 10 - (b) Layout

3.2.2 ModelSimIn addition to ISE it might be useful to simulate a project for debugging. For this purpose Xilinxprovides ModelSim Xilinx Edition-III f

Strona 11 - 2.1.3 UART

Chapter 4ATMegaIn this section we will concern our selves with programming the features of the HTV0 boarddealing with the ATMega. We will present prog

Strona 12 - 2.2 Pin Connections

HogthrobV0Users Manualversion 0.3September 24, 2007Martin LeopoldDepartment of Computer science, University of CopenhagenTechnical Report no. 07/05ISS

Strona 13 - 2.2.3 Bus Switches

Extended fuse 0xFF M103C OFF, WDTON OFFHigh fuse0x00 OCDEN ON, JTAGEN ON, SPIEN ON, CKOPT ON,EESAVE ON, BOOTSZ1 ON, BOOTSZ0 ON, BOOTRST OFFLow fuse0x8

Strona 14 - 2.2.4 FPGA IO

DCDC−On VccVcoVccATMega FPGAFigure 4.2 FPGA to ATMega interconnect. Each I/O pin of the FPGA is connected with two diodesfor Electro-Static Discharge

Strona 15 - Xilinx FPGA

MCUCR &= ˜_BV(SRW10); // No wait-statesXMCRA = 0; // No wait-statesXMCRB = _BV(XMBK) | _BV(XMM0) | _BV(XMM1) |_BV(XMM2);// 32 kB address space w.

Strona 16 - 3.2 Software installation

typedef struct \{unsigned int rx_en : 1; // RX or TX operationunsigned int rf_ch : 7; // Channel frequencyunsigned int rf_pwr : 2; // RF output poweru

Strona 17

lines — one outbound register and one inbound register. A transmission is initiated by puttinga byte in the outbound register, starting the clock gene

Strona 18 - 3.3 Building a Project

HPLUARTsendDonedataReadynRFSPITimerLED’sHPLADCfiredsetOndataReadysamplePortOffprintgetStdOutsendgetsendShockConfigrxModetxModesendPktApplicationenable

Strona 19 - Chapter 4

In addition to this the ATMega128l based Mica variants and BTNode2 share the commonmeta platform avrmote — this platform provides only functionality r

Strona 20 - 4.1.3 Radio Control

interface nRFSPI {command void enableSPIMaster();/*Set up the nRF2401 in rx mode and provide a buffer for reception*The buffer must be atleast as big

Strona 21 - 4.2 FPGA Interface

Chapter 5TestingThe goal of the following tests is to ensure that all the external interfaces (pin headers) and theon-board connections to the LED’s,

Strona 22

nRF2400 Set one node as RX and one as TX and try to make them communicateThe tests should be performed in the following order:The test sets the Bus-Sw

Strona 23 - 4.3 Radio Interface

Revision History0.1 Apr. 2006 Initial version0.2 Oct. 2006 Pin definitions0.3 Sep. 2007 Restructured

Strona 24 - 4.3.3 ShockBurst Mode

5.1.5 ATMega push-buttonsTest the ATMega push button (AVR - Push-Button).1. Test that the on-board Push-Button is connected to the AVR (PE7)2. Upload

Strona 25 - 4.4 TinyOS

5.2.1 PROM Programming (Upload)Test JTAG and PROM-lines.1. Connect JTAG and upload a configuration.2. Read it back and see that the two are the same.5.

Strona 26 - 4.4.3 nRFSPI

5.2.5 AVR→FPGATest that all the data and the control lines are working and that the FPGA can interrupt the AVR.The FPGA is connected to the AVR using

Strona 28 - Chapter 5

      !"#$%&'$''&

Strona 29 - 5.1.4 ATMega LED

      !"#$%&'$''&

Strona 30 - 5.2 FPGA Testing

      !"#$%&'$''&

Strona 31 - (Serial Interface)

      !"#$%&'$''&&& &

Strona 32 - 5.2.6 FPGA→FLASH

     !""

Strona 33 - Schematics

     1 !"#$%&'$''&&& &

Strona 34 - 

Contents1 The Hogthrob Prototype Platform 51.1 Further Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Hogthrob

Strona 35 - 

    $ > !"#$%&'$''

Strona 36 - 

    % 7 !"#$%&'$''&&& &

Strona 37 - 

    & ! !"#$%&'$''

Strona 38 - 

5544332211D DC CB BA ADevice code0x0 no dev0x1 nRF24010x0 NC0x0 NCPower connectorhardware\radio_module\schmatic<Doc>IMM Hogthrob radio moduleA41

Strona 39 - 

Appendix BErrataThis chapter contains an errata from the HogthrobV0 Platform and Associated Documentation.• LED on MB and comm. board have different s

Strona 40 - $

B.2 Bill of Components• L3 might be changed to Murata LQH32CH15M11l (check index.htm)• The actual FLASH memory for the FPGA is unclear (stykliste and

Strona 41 - %

Appendix CFPGA control.c# define AVR ATmega128 1# define FALSE 0# define TRUE 1# include <avr/i o . h># in clude <avr/ s i g n a l . h># i

Strona 42 - &

TOSH ASSIGN PIN(UART TXD0 , E , 1 ) ;TOSH ASSIGN PIN(UART RXD1, D, 2 ) ;TOSH ASSIGN PIN(UART TXD1 , D, 3 ) ;/ ∗ The FPGA i s c o n n e c t e d t o t h

Strona 43 - IO Technologies A/S

TOSH CLR FPGA CS PIN ( ) ; / / Doesn ’ t m at t e rwhile ( ! TOSH READ FPGA DONE PIN ( ) ) { } ;}void FPGA off ( ) {TOSH MAKE FPGA ON OUTPUT ( ) ;TOSH

Strona 44 - Appendix B

setMuxToAVR ( ) ;muxToAVR=TRUE;}}/ ∗ ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗ ∗∗ LED TEST ∗∗ ∗∗ ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗

Strona 45 - B.3 Schematics

4.3.4 Direct Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244.4 TinyOS . . . . . . . . . . . . . . . . . . . . . . . .

Strona 46 - FPGA control.c

TOSH MAKE MB LED OUTPUT ( ) ;TOSH MAKE RadioD1 LED OUTPUT ( ) ;TOSH MAKE RadioD2 LED OUTPUT ( ) ;/ / S t a r t wi th LEDs onledsOn=TRUE;TOSH SET MB LE

Strona 47

Appendix Dexample.ucf# Clock i n t e r f a c e sNET ” c l k 4 0 e n \” LOC = ”R10” ; # Clock enable f o r 40 MHz c loc kNET ” clk 40mhz ” LOC = ” r9 ”

Strona 48

NET ”WRI” LOC = ” t 3 ” ;NET ”FPGA INT6” LOC = ”N5” ;NET ”FPGA CS” LOC = ”P7” ;NET ”DONE” LOC = ”B14” ;# FPGA<−>Flash I n t e r f a c eNET ”Aout

Strona 49

# FPGA<−>Radio I n t e r f a c eNET ”FPGA IO0” LOC =”P15” ;NET ”FPGA IO1” LOC =”P14” ;NET ”FPGA IO2” LOC =”N16” ;NET ”FPGA IO3” LOC =”N15” ;NET

Strona 50

NET ” BIO 0 ” LOC =”G2” ; # J4 , pin 5NET ” BIO 1 ” LOC =”C1” ; # J4 , pin 7NET ” BIO 2 ” LOC =”B1” ; # J4 , pin 9NET ” BIO 3 ” LOC =”C2” ; # J4 , pin

Strona 51 - Appendix D

Appendix EFPGA Makefile## X i l i n x f p g a t o o l fl o wTOPDIR = ./XDIR := $ ( s h e l l i f [ −x ”/usr/cad/ X i l i n x ” ] ; then echo ”/usr/cad/

Strona 52

XSTSCRIPT = $ ( PROJECT ) . xs td e f a u l t :echo $ (XSTWORK)echo $ (SOURCES). PRECIOUS : %.ngc %.ngc %.ngd %.map . ncd %. b i t %.par . ncd %cmdi f

Strona 53

%.mcs : %. b i t$ (PROMGEN) −o $@ −w −p mcs −u 0 $<%.cmd : %. b i t> $@echo ”setMode −bs ” >> $@echo ” se tC abl e −p parport0 ” >>

Strona 54

Bibliography[1] Bootstrap demo design - users manual. URL http://www.oregano.at/ip/mc8051/mc8051_bootstrap_ug.pdf.[2] Atmel. Atmega128(l) complete. UR

Strona 55 - FPGA Makefile

Chapter 1The Hogthrob Prototype PlatformThe Hogthrob prototype platform (HogthrobV0) must serve as a development platform through-out the Hogthrob pro

Strona 56

• A low-power timer• Add on-board with wireless communication• Add on-board with sensors• The ability be battery poweredWe choose to implement these g

Strona 57

Chapter 2HogthrobV0 OverviewThe functionality of the platform can be divided into four closely interacting subsystems: com-puting, sensing, communicat

Strona 58 - Bibliography

Sensor Board Radio Board Sensors ATMega 128L Comp A/D AVR Processor Core Program Flash 128 KB SRAM 4KB nRF2401 Spartan3 XC3S400 Baseband Processing Lo

Komentarze do niniejszej Instrukcji

Brak uwag