background image

 

 

 
 
 

 

22 

 

Figure 2-12    Testing the IR receiver using remote controller 

2

2

-

-

1

1

0

0

 

 

G

G

-

-

S

S

e

e

n

n

s

s

o

o

r

r

 

 

On the DE2i-150 board, the G-sensor function is being demonstrated by Spirit level .The user can 
rotate the DE2i-150 board to different directions, up or down, left or right. The bubble will travel 
quickly following your manners. Meanwhile, the control panel will show the accelerated data in 
x-axis, y-axis and z-axis as shown in 

Figure 2-12

. 

Note that the resolution measurement of 3-axis accelerometer is set to +- 2g 

 

 

Содержание DE2i-150

Страница 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Страница 2: ...1...

Страница 3: ...RAM Flash Controller and Programmer 15 2 5 SD Card 17 2 6 RS 232 Communication 18 2 7 VGA 19 2 8 HSMC 20 2 9 IR Receiver 21 2 10 G Sensor 22 2 11 Overall Structure of the DE2i 150 Control Panel 23 Cha...

Страница 4: ...xamples of Advanced Demonstrations 67 5 1 DE2i 150 Factory Configuration 67 5 2 TV Box Demonstration 68 5 3 SD Card Demonstration 70 5 4 IR Receiver Demonstration 73 5 5 Web Server Demonstration 77 Ch...

Страница 5: ...4 7 2 Making HAL CFI Flash drivers to work with Spansion F lash 109 7 3 Revision History 110 7 4 Copyright Statement 110...

Страница 6: ...acteristics of the DE2i 150 board 1 1 1 1 L La ay yo ou ut t a an nd d C Co om mp po on ne en nt ts s A photograph of the DE2i 150 board is shown in Figure 1 1 and Figure 1 2 It depicts the layout of...

Страница 7: ...vice Altera Serial Configuration device EPCS64 USB Blaster on board for programming both JTAG and Active Serial AS programming modes are supported Two 2MB SSRAM Two 64MB SDRAM 64MB Flash memory SD Car...

Страница 8: ...E2i 150 board the user has to be familiar with the Quartus II software The necessary knowledge can be acquired by reading the tutorials My_First_Fpga These tutorials are provided in the directory DE2i...

Страница 9: ...em mo or ry y d de ev vi ic ce es s o 128MB 32Mx32bit SDRAM o 4MB 1Mx32 SSRAM o 64MB 4Mx16 Flash with 16 bit mode S SD D C Ca ar rd d s so oc ck ke et t o Provides SPI and 4 bit SD mode for SD Card ac...

Страница 10: ...ic ca at to or rs s o 18 slide switches and 4 push buttons switches o 18 red and 9 green LEDs o 8 7 segment displays O Ot th he er r f fe ea at tu ur re es s o Infrared remote control receiver module...

Страница 11: ...t copy the whole folder to your host computer and launch the control panel by executing the DE2i_150_ControlPanel exe Specific control circuits should be downloaded to your FPGA board before the contr...

Страница 12: ...g the ON OFF status for some LEDs and observing the result on the DE2i 150 board Figure 2 1 The DE2i 150 Control Panel The concept of the DE2i 150 Control Panel is illustrated in Figure 2 2 The Contro...

Страница 13: ...or The feature of reading writing a word or an entire file from to the Flash Memory allows the user to develop multimedia applications Flash Audio Player Flash Picture Viewer without worrying about ho...

Страница 14: ...ows to control the 7 SEG patterns on the DE2i 150 board which are updated immediately Note that the dots of the 7 SEGs are not enabled on DE2i 150 board Figure 2 4 Controlling 7 SEG display Choosing t...

Страница 15: ...in case a malfunction is suspected Thus it can be used for troubleshooting purposes 2 2 3 3 S Sw wi it tc ch he es s a an nd d P Pu us sh h b bu ut tt to on ns s Choosing the Switches tab leads to th...

Страница 16: ...can be used for troubleshooting purposes 2 2 4 4 S SD DR RA AM M S SS SR RA AM M F Fl la as sh h C Co on nt tr ro ol ll le er r a an nd d P Pr ro og gr ra am mm me er r The Control Panel can be used...

Страница 17: ...the number of bytes to be written in the Length box If the entire file is to be loaded then a checkmark may be placed in the File Length box instead of giving the number of bytes 3 To initiate the wr...

Страница 18: ...ed file in the usual manner Users can use the similar way to access the SSRAM and Flash Please note that users need to erase the Flash before writing data to it 2 2 5 5 S SD D C Ca ar rd d The functio...

Страница 19: ...sh to use the PC to verify the test The Receive terminal window on the Control Panel monitors the serial communication status Follow the steps below to initiate the RS 232 communication 1 Choosing the...

Страница 20: ...board Follow the steps below to generate the VGA pattern function 1 Choosing the Video tab leads to the window in Figure 2 10 2 Plug a D sub cable to VGA connector of the DE2i 150 board and LCD CRT mo...

Страница 21: ...HSMC loopback verification test follow the instruction noted under the Loopback Installation section and click on Verify Please note to turn off the DE2i 150 board before the HSMC loopback adapter is...

Страница 22: ...window when the IR tab is pressed When the scan code is received the information will be displayed on the IR Receiver window represented in hexadecimal Also the pressed button on the remote controller...

Страница 23: ...onstrated by Spirit level The user can rotate the DE2i 150 board to different directions up or down left or right The bubble will travel quickly following your manners Meanwhile the control panel will...

Страница 24: ...mplemented in C code the hardware part is implemented in Verilog HDL code with SOPC builder The source code is not available on the DE2i_150 System CD To run the Control Panel users should make the co...

Страница 25: ...24 Figure 2 14 The block diagram of the DE2i 150 control panel...

Страница 26: ...is complete the power up sequence will go to next state If the configuration is not complete the CPU will not initiate There is a 2 position dip switch SW20 as shown in Figure 3 1 on this circuit whi...

Отзывы: