40 likes | 261 Views
Advanced Software Writing. Lab 5 Introduction. Introduction. This lab guides you through the process of writing an Interrupt Service Routine that utilizes timers and an interrupt controller. You will add a timer and interrupt controller and connect them up to the system
E N D
Advanced Software Writing Lab 5 Introduction This material exempt per Department of Commerce license exception TSU
Introduction • This lab guides you through the process of writing an Interrupt Service Routine that utilizes timers and an interrupt controller. • You will add a timer and interrupt controller and connect them up to the system • You will assign an interrupt handler in the Software Platform Settings • You will also develop an interrupt handler routine in the Software Developer’s Kit (SDK), and generate the executable • You will create a new Software Project in XPS that points to the executable • You will update the bitstream • You will download and test operation on the XUP board
Objectives After completing this module, you will be able to: • Utilize the OPB timer • Assign an interrupt handler to the OPB timer • Develop an interrupt handler function
Add Timer and Interrupt Controller Write Interrupt Service Routine OPB Bus PLB Bus UART GPIO DIP Switches PLB2OPB PPC GPIO Push Buttons PLB BRAM Cntlr PLB BRAM MY IP LEDs PLB BRAM Cntlr PLB BRAM Timer INTC ICON IBA