1 / 17

Application of XSBase270 and FPGA

Application of XSBase270 and FPGA. Presenter : Ming-Hsien Tsai. Outline. Introduction XSbase270 QT Linux Device Drivers Development Environment Principle FPGA Communicating with Hardware Example. Outline. Introduction XSbase270 QT Linux Device Drivers Development Environment

Download Presentation

Application of XSBase270 and FPGA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Application of XSBase270 and FPGA Presenter:Ming-Hsien Tsai

  2. Outline • Introduction • XSbase270 • QT • Linux Device Drivers • Development Environment • Principle • FPGA • Communicating with Hardware • Example

  3. Outline • Introduction • XSbase270 • QT • Linux Device Drivers • Development Environment • Principle • FPGA • Communicating with Hardware • Example

  4. XSbase270 • XSbase270 is a embedded portable application development platform base on PXA270 processor

  5. QT • Qt is a cross-platform application development framework, widely used for the development of GUI(Graphical User Interface) programs. • Qt uses standard C++ to build programs. • We used Qt3 to build GUI applications.

  6. QT • The GUI programs can rapid build by QT Designer tool. Fig. 1. The example of GUI

  7. Linux Device Drivers Fig. 2. Device driver communicating

  8. Outline • Introduction • XSbase270 • QT • Linux Device Drivers • Development Environment • Principle • FPGA • Communicating with Hardware • Example

  9. Development Environment • OS : Ubuntu 8.10 • Target Kernel : Linux 2.6.9 • Arm-linux-gcc version : 3.3.2 • FPGA : Quartus II 8.0 • QT : Embedded 3.3.8b

  10. Outline • Introduction • XSbase270 • QT • Linux Device Drivers • Development environment • Principle • Communicating with Hardware • FPGA • Example

  11. Communicating with Hardware • Programming the FPGA device driver functions: • Open() • Read() • Write() • Close()

  12. Communicating with Hardware • FPGA register physical address define in fpga_reg_set.h • #define CS5_BASE_ADDR 0x14000000 • #define SW_PHY_ADDR CS5_BASE_ADDR+0x20000 (read) • #define LED_PHY_ADDR CS5_BASE_ADDR+0x0 (write)

  13. FPGA • Read Cycle Fig. 3. Timing Diagram

  14. 0x0=000000000000000000 LED_PHY_ADDR : 0 FPGA wren SA[17..14] SA_CS5 rden SA_OE 0x20000=100000000000000000 SW_PHY_ADDR : 8 Fig. 4. Decoder

  15. FPGA Fig. 5. Recorder

  16. Outline • Introduction • XSbase270 • QT • Linux Device Drivers • Development Environment • Principle • FPGA • Communicating with Hardware • Example

  17. Example • The example is a the action recorder that can record the buttons by clicking for you. Then it can click the replay button to release the steps.

More Related