Appearance
🔔 Assessment 2 ​
Classroom
In this assignment, we will have the same functionality as Assignment 1, but with the motor being controlled by the NIOS-V (soft processor).
For this, it will be necessary to modify the project created in the tutorial to have at least one more PIO peripheral (which will be responsible for reading the buttons). In addition to adding this new peripheral, in this assignment we will improve our system with:
- PIO peripheral that handles the button must generate an interrupt
- Program memory separated from data memory
Rubric ​
- A
- Add a Timer peripheral to the NIOS system
- Timer peripheral must generate a periodic interrupt
- Use the Timer interrupt to control the application timing
- Motor acceleration must be implemented without blocking delays
- B
- Implement
VELin SWx - Interrupt in button reading
- Acceleration curve in the motor
- Implement
- C
- Data memory separated from program memory
- PIO dedicated to reading buttons (SWx) and controlling
ENandDIR
- D
- Delivered only the tutorial
- I
- Did not deliver anything